[COMPASS-6021] Active sidebar element goes out of sync when there are multiple tabs Created: 16/Aug/22 Updated: 14/Jun/23 |
|
| Status: | Open |
| Project: | Compass |
| Component/s: | State Management |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Le Roux Bodenstein | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Story Points: | 3 |
| Description |
|
Select a collection in the sidebar, say collection1. Open another collection in a new tab (collection2). The tab with collection2 is now active and the sidebar shows collection2 as active. Now click on the first tab (collection1). collection2 is still active in the sidebar. — The right way to fix this probably involves having global state of where we are in the app. Probably a context provider? Maybe a router?
|