05473c13c1
fix: build process to support Svelte and service worker
2020-12-23 22:05:30 +01:00
8900474af7
refactor: completely remove existing javascript and use Svelte app
...
exclusively for rendering
2020-12-20 15:24:25 +01:00
377a4bcd80
fix: set up logger from Svelte app on app boot
2020-12-20 15:06:08 +01:00
29ad7fcf73
fix: extract service worker setup to Svelte app initialization
2020-12-20 15:00:00 +01:00
290d7115d0
feature: create Svelte component for showing status UI
2020-12-20 14:29:21 +01:00
b28995aa1e
feature: convert form input to Svelte component and create module for
...
fetching event data & parsing it
2020-12-20 13:50:12 +01:00
128b03344b
feature: add store for tracking network request to API
2020-12-20 12:07:37 +01:00
4fad8e442d
refactor: remove duplicated CSS
2020-12-15 23:15:42 +01:00
0f21613e39
refactor: replace event list table with Svelte version
2020-12-15 23:12:13 +01:00
470184aec0
fixup! feature: update event store contents from existing code
2020-12-15 22:42:43 +01:00
b86402a7ff
improvement: add record migration and correct state normalization in new code
2020-12-15 22:06:45 +01:00
e3917ee79a
feature: update event store contents from existing code
2020-12-15 22:00:45 +01:00
61985990d0
refactor: remove checks for JS features
...
Since I'm introducing Svelte framework and targeting modern browsers, I
think it does not make sense to check for browser features. I can always
choose to use polyfills for backwards compatibility.
I will make sure the form is still also rendered via HTML and works for
non-SPA use.
2020-12-15 21:49:15 +01:00
a89777b91a
feature: add Svelte framework to app, refactor tracking panel into Svelte component
2020-12-15 21:49:15 +01:00
a249a23ddd
feature: add UI for user approval of tracking
2020-12-12 13:54:59 +01:00
737620e2ca
feature: add endpoint for logging instrumentation
2020-12-12 13:19:34 +01:00
c6d85b8839
fix missing route handlers
2020-11-15 15:32:07 +01:00
a8c5d12a7b
fix issues with deployment due to winston logging getting in the way
2020-11-15 15:13:49 +01:00
a661e54524
fix invalid function signature for event data extraction
...
Additionally fix specs
2020-07-19 08:14:35 +02:00
0c9a69d8ea
prettify console messages with browser logger
2020-07-19 08:14:35 +02:00
cf41deedd9
remove manual "no javascript" switch
...
This was a stupid checkbox made only as an experiment. The page can
still be loaded without JavaScript and works, no need to trigger it
manually.
2020-07-19 08:14:35 +02:00
f577fb6385
implement same parsing logic on server and frontend
...
Server now downloads the HTML file via new endpoint but the parsing logic now happens in
the browser. The reason for this is to have a way same code for both
environments.
If the JavaScript is disabled, it's still possible to call the previous
endpoint and download the file from the server.
2020-07-19 08:14:35 +02:00
0eda018113
create client side logger
2020-07-19 08:14:35 +02:00
6b7c0f8454
separate front end into modules for easier refactoring later
2020-07-19 08:14:35 +02:00
565354bcb6
add webpack for front end builds and serve the assets from backend
2020-07-19 08:14:35 +02:00