Natixar / natixar-frontend

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

Categories refresh issue when changing taxonomy #27

Closed lepeuvedic-natixar closed 2 months ago

lepeuvedic-natixar commented 2 months ago

Problem: It's obvious that the NatixarExpandableBar elements and their subelements are no longer refreshed when the categories taxonomy is changed using the button in the top right corner. The refresh can be forced by going to another page and back.

Steps to reproduce: 1 - Enter the dashboard 2 - Use the selector to switch from BEGES to BEGESv5 3 - Nothing changes in the categories. 4 - Go to Data page using the side menu 5 - Go back to Dashboard using the side menu 6 - Now there are four colored bars and they have changed names (displayed only when open).

Desired behavior: Changing the categories taxonomy selected must trigger a complete update down to reloading data from the backend, because the backend is responsible for converting on the fly the data to the requested taxonomy. And of course, the display of the expandable bars should update too.