2023-01-05 21:24:45 +00:00
|
|
|
# What to do next:
|
|
|
|
|
2023-01-21 20:24:59 +00:00
|
|
|
## Frontend:
|
|
|
|
|
|
|
|
* Implement error pages.
|
|
|
|
* Alerts box should not be clickable, bar should be.
|
2023-01-22 21:23:38 +00:00
|
|
|
* Specify absolute sizes for images.
|
2023-01-21 20:24:59 +00:00
|
|
|
* Issue page: Submit using API.
|
|
|
|
* Enable text search for `locationName` on find-code page.
|
2023-01-22 21:23:38 +00:00
|
|
|
* Recreate raster logos with the new vector file.
|
|
|
|
* Responsive text sizes for boards.
|
2023-01-23 14:18:48 +00:00
|
|
|
* Rework details div to include the current station and make all stops a single list. The time parsing function needs to work for `et` OR `at`
|
2023-01-22 21:23:38 +00:00
|
|
|
- Also include other details from the API such as:
|
|
|
|
- Platform number
|
|
|
|
- Operator
|
2023-01-23 21:00:53 +00:00
|
|
|
- If only one callingPoint, a string is returned instead of an array.
|
2023-01-23 21:14:53 +00:00
|
|
|
* Change dockerfile to deploy with brotli support for faster laoding.
|
2023-01-22 13:49:38 +00:00
|
|
|
|
2023-01-23 16:39:36 +00:00
|
|
|
### In Progress:
|
|
|
|
|
2023-01-24 11:23:01 +00:00
|
|
|
* Frontend code refactoring: --- Pre-Refactor /static/js: 22132B
|
|
|
|
--- Pre-Refactor /static/js COMPRESSED:
|
|
|
|
--- Post-Refactor /static/js:
|
|
|
|
--- Post-Refactor /static/js COMPRESSED:
|
2023-01-23 16:39:36 +00:00
|
|
|
- Refactor into files:
|
2023-01-24 21:32:45 +00:00
|
|
|
- DONE - lib.main.js
|
2023-01-23 16:39:36 +00:00
|
|
|
- lib.board.js
|
|
|
|
- simple-board.js
|
2023-01-24 21:32:45 +00:00
|
|
|
- DONE - index.js
|
|
|
|
- DONE - settings.js
|
|
|
|
- DONE - find-code.js
|
|
|
|
- DONE - service-worker.js *in / not /js*
|
2023-01-24 21:26:47 +00:00
|
|
|
- Notes:
|
|
|
|
- DONE - Do not put train details into DOM until requested - load into sessionStorage.
|
|
|
|
- Put any reusable code in to a suitable lib file.
|
|
|
|
- Make the board code actually readable.
|
|
|
|
- Prevent the whole page reloading when the PWA is re-opened, that just wastes API calls.
|
2023-01-24 21:29:03 +00:00
|
|
|
- If statements in the displayCallingPoints?() function needs to test for '-' not 'undefined'!!! Remove new test for 'undefined' in parseTime()!!!
|
2023-01-24 21:31:51 +00:00
|
|
|
- Something in the CSS is messing with scrolling and overflow on mobile.
|
2023-01-23 16:39:36 +00:00
|
|
|
|
2023-01-22 13:49:38 +00:00
|
|
|
### Completed - Testing:
|
|
|
|
|
2023-01-22 12:37:25 +00:00
|
|
|
* Implement calling list.
|
2023-01-22 13:49:38 +00:00
|
|
|
* Support multiple origins/destinations: NOT INCLUDING ON CALLING LIST
|
2023-01-21 20:24:59 +00:00
|
|
|
|
|
|
|
|
|
|
|
## Backend:
|
|
|
|
|
|
|
|
* DB Indexes:
|
2023-01-16 11:51:36 +00:00
|
|
|
- "stations": 3ALPHA, STANOX, TIPLOC
|
|
|
|
- "corpus": 3ALPHA, NLC, NLCDESC(TEXT)
|
2023-01-21 20:24:59 +00:00
|
|
|
* Add Gitea Issue API
|