National-Forestry-Authority / forests

3 stars 1 forks source link

Add GFW tab to all location assets #273

Open peacog opened 10 months ago

peacog commented 10 months ago

All location assets should have a GFW tab:

Initial approach to be the same as plans e.g. https://forests.stg.envs.utils.nfa.go.ug/plan/1

Ranges and sectors will potentially have a lot of data that will be slow to load. To mitigate this we show show last 4 weeks of data only on ranges and sectors. There will not be a date picker. In place of the date picker add a message saying "Showing alerts from yyyy-mm-dd to yyyy-mm-dd. To see data for more dates please choose a lower level asset (for example CFR)"

peacog commented 8 months ago

Hi @LeScruf - this is ready for test on staging. For example: https://forests.stg.envs.utils.nfa.go.ug/asset/799/gfw

LeScruf commented 8 months ago

Hi @peacog - thanks for this. Looking great! A couple of things:

  1. It would be good to also have the CFR and Sector polygon layers as well as the 2022 Districts Layer visible in the layer control widget.
  2. It would be good to have the map defaulting to the Mapbox Satellite layer and not the OSM?
  3. Being particularly fussy, perhaps it would be good to be clear that the default view is for a rolling one month window - so that the user clearly understands. Do you think we could also have an option for a rolling one-week window? What do you think?
LeScruf commented 4 months ago

@peacog - Are we implementing my input of Oct 24,2023 or I have missed something (alas) along the way?

peacog commented 4 months ago

We haven't yet implemented your Oct 24 comments.

  1. Showing the CFR and Sector polygons will be dealt with in #316
  2. Defaulting to Mapbox Satellite layer will be looked at in #318
  3. We will deal with the date picker changes in #289