GeoNode / geonode-mapstore-client

MapStore Client for GeoNode
http://geonode.org/geonode-mapstore-client/master
Other
13 stars 102 forks source link

Create catalog pages and page specific configurations #1769

Closed dsuren1 closed 1 month ago

dsuren1 commented 1 month ago

Description

Splitting the "Add Resources" button functionality to each respective page.

  1. Data Page will have "Create Dataset" and "Upload Dataset" button
  2. Maps Page will have "Create Map" button
  3. GeoStories Page will have "Create GeoStory" button
  4. Dashboards Page will have "Create Dashboard" button
  5. Resources Page will have "Upload Resource" button

Map - Create Map

GeoStories - Create GeoStories Dashboards - Create Dashboard

Acceptance criteria

The specific configurations for each section should be implemented smartly and efficiently. Instead of repeating the full configuration in each section (as we're doing now in many other parts of the config), only the overrides / diffs should be configured.

We must define how the menu buttons will be mapped to sections. They're provided by the Django template, so it could be provided by the template itself, updating the URL, after the hash (#), which will be intercepted by the catalog app.

For clarity, it will still use the current single-page app (catalog), contrary to the hypothesis we were doing yesterday of implementing new views on the backend.