Commit Graph

61 Commits

Author SHA1 Message Date
ebcf6a1c62 FullStack: Add metrics API
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-02-02 17:03:11 +00:00
5223f5298a Frontend: Adjust vibration
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-02-02 11:22:38 +00:00
ee6fcae38f Frontend: Vibration pattern adjustments
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-31 12:57:08 +00:00
1beeaa592a Frontend: Adjust vibration patterns
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-31 12:48:27 +00:00
a226c8ff72 Frontend: Add common vibrate function
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-31 12:00:26 +00:00
bbdaf4308a FullStack: Add response to issue API
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-31 11:32:35 +00:00
ef55fb0365 FullStack: Improve issue API
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-31 00:06:42 +00:00
64953e57e1 Frontend: Prep 'Report an Issue' for backend
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-30 19:16:25 +00:00
2e3c7865e3 Frontend: Update error handling
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-27 13:41:33 +00:00
6297422515 Frontend: Initial service worker attempt
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-26 21:10:40 +00:00
8878902679 Add Error page and error handling
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-26 20:09:02 +00:00
c6b65c8baf Frontend: Fix makeArray function to work for non-strings
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-25 14:12:46 +00:00
6e7248dafb Frontend: Add saved popup to settings
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-25 14:12:30 +00:00
bd9e2e71dd Frontend: Refactoring Excersize Finished
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-25 11:38:48 +00:00
f9b1dd5861 Frontend:Partial refactor of lib.board & simple-board.
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-24 21:24:53 +00:00
62dcc5cd02 Frontend: Reorganise code between simple-board and lib.board
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-24 19:41:22 +00:00
ceba276ac0 Frontend: Preparing for boards refactor
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-24 11:23:01 +00:00
bfb7d56983 Frontend: Fix fallback to default settings
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-23 21:14:53 +00:00
5a8f3f0d85 Frontend: Begin refactoring boards.js and public-board.js
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-23 21:00:53 +00:00
5e9f9e13bc Frontend: Refactor settings.js
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-23 20:25:05 +00:00
018ddf8c47 Frontend: Further refactoring find-code.js
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-23 20:11:23 +00:00
7ea8f153cd Frontend: Refactor fine-code.js - Will need work
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-23 19:46:41 +00:00
0958bc92f5 Frontend: Refactor indexjs
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-23 19:29:20 +00:00
67cc929158 Frontend: lib.main.js replaces main.js
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-23 18:46:33 +00:00
3e66cdad8d Add lib.main.js and lib.board.js
Migrate code from main.js to lib.main.js

Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-23 16:39:36 +00:00
7debbe4860 Frontend:
- PNG Fallback option for alert icon.
 - Styling of calling boxes.
 - Styling of departure board headers.

Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-22 13:49:38 +00:00
4d36177d17 Frontend: Implement previous & next stops
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-22 12:37:25 +00:00
e15824381e Frontend: Add support for multiple Origin/Dest
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-22 10:38:30 +00:00
e8c6d3bfc5 Add operator names
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-22 10:30:02 +00:00
db2300e4f4 Fix loading box
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-21 20:33:15 +00:00
88ae58368e Frontend:
- Make all theme colours CSS Vars.
 - Dynamic text in loading box.

Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-21 20:24:59 +00:00
7096995401 Frontend: Add support for bus services
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-20 20:48:59 +00:00
c03a2e2fb8 Frontend: Change alert msg when only one exists;
Frontend: Change pulse colour if service cancelled

Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-20 20:02:47 +00:00
3148e4b8e9 Frontend: Implement NRCC Display
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-20 01:27:29 +00:00
d8e37f1b6d Frontend: Add base alert box.
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-19 23:42:22 +00:00
302b749834 Frontend/Deployment work.
Deployment now serves minified GZipped files.

Frontend now has a responsive station title size.

Need to: Change to an nginx container version that supports Brotli - I am after all the speed!

Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-19 16:53:18 +00:00
fa1597855c Frontend: Add platform change
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-18 21:38:35 +00:00
c221639c89 Frontend: Improve code tidyness
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-18 21:37:01 +00:00
393c59c1d7 Frontend: Implement display of train data
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-18 13:09:15 +00:00
cbd71efb45 Fix JS Structure
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-18 01:25:01 +00:00
827e77dc8a Fixes
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-17 13:56:17 +00:00
3a93e29e51 Frontend: QLS Settings under test
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-17 13:54:10 +00:00
400953548f Add settings page
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-17 00:42:21 +00:00
21c17be5ad Adjust styling for find-code
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-16 10:10:06 +00:00
4463e8c8f1 FRONTEND: Implement find-code API Calls
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-15 21:20:08 +00:00
4c6d66c5d9 Correct API endpoint
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-15 20:10:04 +00:00
908ded08a7 Frontend: Add API Call for find-code
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-15 20:09:00 +00:00
eb828896d0 Frontend: Add code-lookup page
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-15 20:00:18 +00:00
f3f514b80d Frontend: Add support for 'No Scheduled Services'
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-14 11:45:41 +00:00
9434d7e3a8 Work on NRCC Notices
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-12 22:15:38 +00:00