[COMPASS-6458] Support "Hide" indexes in the GUI Created: 25/Jan/23 Updated: 20/Jun/23 Resolved: 20/Jun/23 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | UI / UX |
| Affects Version/s: | None |
| Fix Version/s: | 1.38.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Claudia De Angelis | Assignee: | Himanshu Singh |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | COMPASS-6441 | ||||||||
| Story Points: | 3 | ||||||||
| Documentation Changes: | Needed | ||||||||
| Documentation Changes Summary: | In this PR we added a small feature in our Indexes tab to hide and unhide indexes. This feature earlier was accessed through in-built shell / mongosh using command `db.collection.hideIndex()` and `db.collection.unhideIndex()`. The feature requires a minimum server version 4.4.0. It can be accessed by connecting to a supported mongodb deployment, navigating to Indexes tab and hovering over an index that needs to hidden/unhidden. On hover, there will be an icon button with a closed eye icon (if index is not hidden) or an open eye icon (if the index is hidden). Users can use this icon button to hide/unhide their indexes. Additionally if an index is hidden we also add a hidden badge to index properties column in the indexes table. In the Compass's Manage Indexes (https://www.mongodb.com/docs/compass/current/indexes/) page, we will need to add a section about this feature. |
||||||||
| Sprint: | Iteration Dreadnoughtus | ||||||||
| Description |
|
At the moment users can Hide indexes from the embedded shell: db.collection.hideIndex(<index>) But there is no representation in the GUI. We can do:
|
| Comments |
| Comment by Githook User [ 19/Jun/23 ] |
|
Author: {'name': 'Himanshu Singh', 'email': 'himanshu.singhs@outlook.in', 'username': 'himanshusinghs'}Message: Merge branch 'main' into |
| Comment by Githook User [ 16/Jun/23 ] |
|
Author: {'name': 'Himanshu Singh', 'email': 'himanshu.singhs@outlook.in', 'username': 'himanshusinghs'}Message: Merge branch ' |