kartoza / rezoning-2-project

Rezoning project organizational repository
Creative Commons Zero v1.0 Universal
0 stars 4 forks source link

Move export and import to the top of the panel #45

Closed timlinux closed 1 year ago

timlinux commented 1 year ago

They should remain permanently visible on the screen when you scroll.

NEDJIMAbelgacem commented 1 year ago

The export parameters button has been moved to top and when it is clicked it will download 3 csv files representing the input of the app: export-parameters

timlinux commented 1 year ago

Nice now we need to be able to import those files back to restore the state

ClaraIV commented 1 year ago

nice! can we reduce the size of the font to something smaller than the and buttons? We could also just leave Export and then add a new button Import next to it, to save space

timlinux commented 1 year ago

Duplicates #50 ?

timlinux commented 1 year ago

@ClaraIV in the ticket title we suggest to move it to the top of the panel, but I think it works well at the bottom but fixed so it does not scroll away. Should we close this and keep it at the bottom? The importer is coming in issue #50

ClaraIV commented 1 year ago

yes

timlinux commented 1 year ago

Shrink buttons by changing text to 'Import' and 'Export' only with icon on left

Export needs an icon.

Image

Also swap order of the icons

timlinux commented 1 year ago

Also, change behavior to just download/upload the CSV for the active panel. So when economics is selected you get teh export for the economics settings only etc.

NEDJIMAbelgacem commented 1 year ago

The icons and the heights are now update: icon update The behaviour is to download the selected panel's parameters now too

ClaraIV commented 1 year ago

Will test this when tool works; as per Tim's suggestion last week, please reorder the items to start with Export and then Import

ClaraIV commented 1 year ago

is it possible to keep, in the .csv, the same order for the parameters as they are in the tool? Wind Speed/ Bathymetry, etc.?

ClaraIV commented 1 year ago

also, please ensure only the filters specific to the analysis we run (solar, wind, offshore) are exported - thanks!

akshay2408 commented 1 year ago

@NEDJIMAbelgacem this is the PR for this task https://github.com/worldbank/WB-rezoning-explorer/pull/23

LunaAsefaw commented 1 year ago

@dimasciput @akshay2408 please reorder the export and import buttons such that it starts with Export then Import as suggested by Tim and Clara