Commit Graph

233 Commits

Author SHA1 Message Date
64953e57e1 Frontend: Prep 'Report an Issue' for backend
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-30 19:16:25 +00:00
8627f9cd60 Notes: Add to do items
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-27 13:53:01 +00:00
bb05bb3d12 Frontend:
- Update version string to include date string for dev versions

Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-27 13:43:44 +00:00
2e3c7865e3 Frontend: Update error handling
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-27 13:41:33 +00:00
fc62114409 Build: Adjust frontend deploy script
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-27 13:29:21 +00:00
52bbcb4489 Frontend: Remove old service worker caches
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-27 13:07:36 +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
1a17ece66e Add notes
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-26 14:44:34 +00:00
197fcd6cca Frontend: Regenerate raster logos from SVGs
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-26 14:39:19 +00:00
85abe5c1b7 Edit notes
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-25 14:17:21 +00:00
587bd31130 Frontend: Changed text in saved box
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-25 14:13:03 +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
daadc1b6bb Frontend: Add more help content
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-25 13:27:55 +00:00
b3b61258c8 Adjustments to link rels and Dockerfile
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-25 12:47:47 +00:00
bd9e2e71dd Frontend: Refactoring Excersize Finished
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-25 11:38:48 +00:00
cbfbe6f9b9 More notes
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-24 21:32:45 +00:00
e07c9c4864 More fucking notes
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-24 21:31:51 +00:00
4df567463d Update notes again!
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-24 21:29:03 +00:00
a42a00ddf9 Add notes
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-24 21:26:47 +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
bcf984022b Add notes for code refactoring
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-23 14:18:48 +00:00
68dce4a0a2 Add notes
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-22 21:23:38 +00:00
42bfe8fe85 Adjust icon sizing and minor style changes
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-22 21:06:32 +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
6c2b0e6271 Add notes
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-21 23:09:05 +00:00
a3251a9061 Frontend: Move more images to SVG
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-21 22:53:56 +00:00
35e7a43237 Frontend:
- Minify SVG Files
 - Move all logos to default SVG with webp & png fallback
 - Update favicon & app icons

Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-21 21:59:33 +00:00
7e5be79769 Add SVG Logos
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-21 20:57:00 +00:00
76bd9d93ec Fix loading again
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-21 20:35:11 +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
a24642b3da Change position of no train services note
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-20 21:15:12 +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
e4e81d0145 Backend: Always return services as array, even if only one
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-20 20:34:48 +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