Natixar / natixar-frontend

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

Prohibited hardcoded use of term "Scope" #26

Closed lepeuvedic-natixar closed 5 months ago

lepeuvedic-natixar commented 5 months ago

https://github.com/Natixar/natixar-frontend/blame/938847b9178d8dc442484ba39a5187a4fe3c5cb2/src/components/natixarComponents/ScopeTable/NatixarExpandableRow.tsx#L70

Problem: In the NatixarExpandableRow element, which draws the colored ovals with the various top categories, the term "Scope X" appears proeminently in the title, even when the taxonomy no longer uses the term "Scope" (like BEGESv5). When the taxonomy uses the term, the title becomes "Scope X Scope X" if and when the taxonomy uses the term "Scope" to designate top categories.

Steps to reproduce: 1 - Enter dashboard 2 - Expand and top level category on the right of the donut chart.

How to fix: Remove those lines 69-71:

Scope {index + 1}
lepeuvedic-natixar commented 5 months ago

fixed