52 lines
2.0 KiB
Markdown
52 lines
2.0 KiB
Markdown
# What to do next:
|
|
|
|
## Frontend:
|
|
|
|
* Implement error pages.
|
|
* Alerts box should not be clickable, bar should be.
|
|
* Specify absolute sizes for images.
|
|
* Issue page: Submit using API.
|
|
* Enable text search for `locationName` on find-code page.
|
|
* Recreate raster logos with the new vector file.
|
|
* Responsive text sizes for boards.
|
|
* 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`
|
|
- Also include other details from the API such as:
|
|
- Platform number
|
|
- Operator
|
|
- If only one callingPoint, a string is returned instead of an array.
|
|
* Change dockerfile to deploy with brotli support for faster laoding.
|
|
|
|
### In Progress:
|
|
|
|
* Frontend code refactoring: --- Pre-Refactor /static/js: 22132B
|
|
--- Pre-Refactor /static/js COMPRESSED:
|
|
--- Post-Refactor /static/js:
|
|
--- Post-Refactor /static/js COMPRESSED:
|
|
- Refactor into files:
|
|
- lib.main.js
|
|
- lib.board.js
|
|
- simple-board.js
|
|
- index.js
|
|
- settings.js
|
|
- find-code.js
|
|
- service-worker.js *in / not /js*
|
|
- 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.
|
|
- If statements in the displayCallingPoints?() function needs to test for '-' not 'undefined'!!! Remove new test for 'undefined' in parseTime()!!!
|
|
- Something in the CSS is messing with scrolling and overflow on mobile.
|
|
|
|
### Completed - Testing:
|
|
|
|
* Implement calling list.
|
|
* Support multiple origins/destinations: NOT INCLUDING ON CALLING LIST
|
|
|
|
|
|
## Backend:
|
|
|
|
* DB Indexes:
|
|
- "stations": 3ALPHA, STANOX, TIPLOC
|
|
- "corpus": 3ALPHA, NLC, NLCDESC(TEXT)
|
|
* Add Gitea Issue API |