Things to do
DO NOW
- Am catching wikipedia fails. Do likewise for Google.
- Come up with some sort of way to regenerate pages with failed
plugins
- Rationalise on "comment" versus "information"
in instructions, menus etc
Big backlog
- Check the "build" system on laptop.
"master_config" has been renamed. Is extra_config copied
automatically? Move over. Ensure includes/webinterface.can has full
path wcpith ~
- Remove that huge chunk of duplicated code in the two menus (? JS
to copy from one to the other?)
- Move the closeup map stuff out of mapbox_mapstuff. Make it use
the new xxxxx_maps.js in pages/code/javascript
- Look at file size of a typical place map and decide whether to
put those on pages by default
- We get warnings about rendering time - look at this
- Add remaining plugins:
- Do we like the message about adding websites?
- Update the nearest plugin as suggested in recent bug report
- What do we do about plugins where the data changes outside our
control? (wikipedia, geograph etc?)
- should be able to reorder plugins by dragging (which then
"applies")
- Experiment with turning off "show all" for some closeup
maps (by diameter perhaps)
- look at everywhere we purge the gazetteer cache and put delete of
place and waterway page in here
- work out best way to delete generated places closeup maps for
features and areas when a place changes
- migrate the pages in templates/gazetteer that are called from one
plugin into that plugin (even if it means having identical files for
a while). Keep a list here so they can be deleted later
- Remove cp_info that isn't needed on fixed pages:
- As part of the build process, delete any generated page files
older than the newest plugin (that affects them?)
- Use dynamic plugins to look at pinchpoints and boat size -
there's a bdescribe macro in pinchpoints.cst
- Consider option for wikipedia to suppress if no title match
- Need to catch and manage wikipedia timeouts (and Google etc) JIC
FILES TO CHECK AND DELETE WHEN THIS IS FULLY LIVE
- templates/default/gazetteer:
- embed_structure_info.cst
- pinchpoints.cst
- pinchstopetc.cst
- all the map javascript files:
JavaScript things
- Safari 10.0.1 missing:
- Object.values
- URLSearchParams
- map.getCanvas().toBlob