Commit graph

61 commits

Author SHA1 Message Date
7645effd5f
Add recently viewed train on homepage 2022-12-27 19:08:42 +02:00
a653e92e03
Add share on clicking title 2022-12-25 10:09:19 +02:00
06e57e5b8b
Fix CSS typo 2022-12-25 09:55:10 +02:00
c0c5f3e7c4
Show time in monospace 2022-12-25 09:54:14 +02:00
04e2019afe
Fix date handling on API request 2022-12-11 14:33:41 +01:00
220f6666a5
Add support for IC trains 2022-12-10 23:38:45 +01:00
255dae9dec
Add service worker version on about page 2022-11-18 07:52:08 +01:00
3b007ce548
Add defer to script loading 2022-11-18 07:51:12 +01:00
fd1e7c0729
Add back button
Also: change PWA to standalone
2022-11-18 04:58:35 +01:00
32f52fe549
Fix refresh button on view station page 2022-11-18 01:52:43 +01:00
c2ea04de4b
Enable service worker for Safari
For future reference: the preflight request must return these headers:
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, HEAD, OPTIONS
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, Authorization, Pragma, Cache-Control

Otherwise, Safari will refuse requests made inside a service worker
reporting a preflight check fail.
2022-11-17 23:30:38 +01:00
9d4442de45
Fix service worker cache, handle refresh better 2022-11-17 21:31:07 +01:00
0827a1ec31
Add delay information next to time at view train
When a train has a 2 minute delay, currently the scheduled time is
displayed with strikethrough and the actual time is displayed below.
This change adds a +2 after the original time to also have the relative
delay, not just the absolute one.
2022-11-15 21:21:47 +01:00
1fb1153f13
Fix station search bug
When writing "cala" in order to search for "Călărași", it wouldn't work
because only the first ă was replaced with a.
2022-11-15 21:18:52 +01:00
6e4b6a609a
Add label 2022-11-15 21:13:42 +01:00
1d86207143
Change input type to search, add label 2022-11-15 21:13:06 +01:00
002086c74c
Fix bug in sw caching API 2022-10-13 22:38:43 +03:00
c748f117c3
Fix bug in yesterday date computation 2022-10-11 03:23:01 +03:00
7bd7b26256
Add alert about yesterday train feature 2022-10-11 03:09:33 +03:00
f1141b1e06
Allow viewing yesterday's train
This can be achieved by selecting the date in the view train screen.
2022-10-11 03:01:54 +03:00
a6757f394a
Implement selectable links for station names
Also prepare for date switcher
2022-09-28 12:33:06 +03:00
ee86e741eb
Add CSS rules for uncustomised <a> 2022-09-28 12:23:18 +03:00
dd666466ee
Remove number input type from station input 2022-09-23 22:53:55 +03:00
ebb0b5f0ba
Add loading text 2022-09-20 00:51:58 +03:00
3ca35ce91d
Prevent refresh on back to group select
If train data is already known, don't refresh when going back to the group
selection screen.
2022-09-20 00:34:49 +03:00
35b19ffe80
Add station arrivals/departures pages 2022-09-20 00:25:05 +03:00
e4b8a25b60
Add support for tabs 2022-09-20 00:24:17 +03:00
555f80aa1c
Allow choosing train that is not known/suggested 2022-09-20 00:23:51 +03:00
f4ae034812
Show only first 100 results to prevent lag 2022-09-20 00:23:22 +03:00
5531f908af
Allow pages to be properly printable 2022-09-20 00:22:02 +03:00
a1628d6297
Apply different background color for even items 2022-09-20 00:21:11 +03:00
729f047903
Attempt at keeping print items not page broken 2022-09-20 00:20:43 +03:00
0765bc8232
Modify title of view train page when data is found 2022-09-20 00:17:37 +03:00
5c95dec36d
Improve promise handling 2022-09-20 00:16:45 +03:00
2aa147060a
Move common js files to folder 2022-09-20 00:14:16 +03:00
c60c20a736
Add train notes 2022-08-28 04:35:42 +02:00
ccc3d8e127
Move to API v3, support train groups 2022-08-28 04:11:09 +02:00
9f229be704
Improve train search sorting 2022-08-28 04:09:10 +02:00
b84caadaae
Added service worker 2022-08-14 13:12:14 +02:00
29d0671282
Add PWA manifest 2022-08-14 11:31:33 +02:00
cdb5243e00
Fix last refreshed with "now" 2022-07-25 22:24:44 +03:00
7e3e928682
Fix error handling when refreshing 2022-07-25 22:23:04 +03:00
43160d153e
Show time in local format instead of custom one 2022-07-25 04:02:44 +03:00
b85c722d26
Changed "No delay" to "On time" 2022-07-25 04:01:33 +03:00
db6c4284d0
Made Refresh RSK show a hand 2022-07-25 04:00:59 +03:00
78a639f368
Fix time alignment 2022-07-25 04:00:35 +03:00
98b4832111
Added hoved to selectable li 2022-07-25 03:59:59 +03:00
1d17cbbdb6
Removed Atkinson Hyperlegible font
On some devices, it is not rendered;
Will probably add again as a setting
2022-07-25 03:59:31 +03:00
7905df4f52
Added last updated message 2022-07-19 10:25:04 +03:00
b1df8dfc7a
Changed km toggle keybind to 7 2022-07-13 20:46:35 +03:00