[COMPASS-1327] CollectionStore.getActiveTab uses hard-coded index IDs Created: 04/Jul/17 Updated: 27/Oct/23 Resolved: 13/Oct/20 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Plugins, Tech debt |
| Affects Version/s: | 1.8.0-beta.1, 1.9.0-dev |
| Fix Version/s: | No version |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Peter Schmidt | Assignee: | Unassigned |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Documentation Changes: | Not Needed | ||||
| Description |
|
As discovered on COMPASS-1297, code comparisons like the following break when we do things like Documents Tab the default, COMPASS-749:
This ticket should generalize all tab comparisons so the tab can appear at any part of the tab list, i.e. not a hard-coded tab index. |