Natixar / natixar-frontend

The static front end of the Natixar SaaS platform
0 stars 5 forks source link

Navigation to Category Detail Leads to Scope Detail #54

Closed lepeuvedic closed 1 month ago

lepeuvedic commented 1 month ago

Problem:

When in category detail /contributors/top/scope/{id} the breadcrumb navigation has the following branch:

  1. Dashboard
  2. Emissions directes des sources fixes de combustion details
  3. Emissions directes des sources fixes de combustion top contributors (where we are...)

Clicking on 2 should bring us to the category analysis page (same as a click on the link on the category name in the dashboard), but instead takes us to a per-scope summary with multiple categories, which itself was superseded by the NatixarExpandableBox.

Desired Behavior

Navigate to /contributors/category-analysis/{id} The /contributors/category-analysis/{id} page shall have a back button which works like a navigation history (brings us back either to /contributors/top/scopes if we came from there, or to the dashboard if we came from there) The /contributors/category-analysis/{id} page shall have consistent breadcrumb showing it as just one level below the dashboard.