1
0
mirror of https://github.com/comatory/fb2iCal synced 2025-02-14 10:40:54 +01:00

12 Commits

Author SHA1 Message Date
Ondřej Synáček
29ad7fcf73 fix: extract service worker setup to Svelte app initialization 2020-12-20 15:00:00 +01:00
Ondřej Synáček
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
Ondřej Synáček
128b03344b feature: add store for tracking network request to API 2020-12-20 12:07:37 +01:00
Ondřej Synáček
0f21613e39 refactor: replace event list table with Svelte version 2020-12-15 23:12:13 +01:00
Ondřej Synáček
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
Ondřej Synáček
a89777b91a feature: add Svelte framework to app, refactor tracking panel into Svelte component 2020-12-15 21:49:15 +01:00
Ondřej Synáček
a249a23ddd feature: add UI for user approval of tracking 2020-12-12 13:54:59 +01:00
Ondřej Synáček
c6d85b8839 fix missing route handlers 2020-11-15 15:32:07 +01:00
Ondřej Synáček
a661e54524 fix invalid function signature for event data extraction
Additionally fix specs
2020-07-19 08:14:35 +02:00
Ondřej Synáček
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
Ondřej Synáček
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
Ondřej Synáček
6b7c0f8454 separate front end into modules for easier refactoring later 2020-07-19 08:14:35 +02:00