Skip to content

Conversation

@gagik
Copy link
Contributor

@gagik gagik commented Jun 10, 2025

Toolbar

Screenshot 2025-06-10 at 7 28 10 PM

@gagik gagik added the no release notes Fix or feature not for release notes label Jun 10, 2025
@github-actions github-actions bot added the feat label Jun 10, 2025
@gagik gagik changed the base branch from main to gagik/collection-tab June 10, 2025 17:29
@gagik gagik force-pushed the gagik/collection-tab-top branch 3 times, most recently from 4c41c51 to 6d11d98 Compare June 10, 2025 17:32
@gagik gagik requested a review from kraenhansen June 10, 2025 17:33
() => querySkip || queryLimit,
[querySkip, queryLimit]
);
const [allDocumentsExpanded, setAllDocumentsExpanded] = useState(false);
Copy link
Contributor Author

@gagik gagik Jun 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this isn't necessarily an accurate reflection of whether or not all documents are expanded but for this usecase I think it will work well.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a blocker, but that's kind of a reason why everywhere in UI we just show both as separate options and don't try to make the behavior work like a toggle. Examples from CRUD and aggregation builder:

image
image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm yeah, that does seem to fit more usecases better, i.e. one may want to go from partially manually expandeed => collapse all or expand all.
On one hand it'd be good to keep context menu items minimal but we have menus with a lot more so it's not a problem yet so I'm open to always showing both as well.

@gagik gagik requested a review from a team as a code owner June 19, 2025 20:24
@kraenhansen kraenhansen force-pushed the gagik/collection-tab branch from 0626649 to b527b6e Compare July 3, 2025 09:28
@kraenhansen kraenhansen force-pushed the gagik/collection-tab-top branch from d992165 to 32e65fd Compare July 3, 2025 09:35
@kraenhansen kraenhansen force-pushed the gagik/collection-tab branch from 9a53b65 to ac8572d Compare July 3, 2025 09:48
@kraenhansen kraenhansen force-pushed the gagik/collection-tab-top branch from 32e65fd to 817a426 Compare July 3, 2025 09:50
@kraenhansen kraenhansen force-pushed the gagik/collection-tab-top branch from 817a426 to 030b3dc Compare July 3, 2025 09:53
@kraenhansen kraenhansen changed the title feat(compass-crud): add right click menus for the CRUD toolbar COMPASS-9387 feat(compass-crud): add right click menus for the CRUD toolbar COMPASS-9388 Jul 3, 2025
() => querySkip || queryLimit,
[querySkip, queryLimit]
);
const [allDocumentsExpanded, setAllDocumentsExpanded] = useState(false);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a blocker, but that's kind of a reason why everywhere in UI we just show both as separate options and don't try to make the behavior work like a toggle. Examples from CRUD and aggregation builder:

image
image

Base automatically changed from gagik/collection-tab to main July 3, 2025 21:37
@gagik gagik force-pushed the gagik/collection-tab-top branch from 9a33e97 to ab075e3 Compare July 4, 2025 08:35
@gagik gagik merged commit 21f35ff into main Jul 4, 2025
59 checks passed
@gagik gagik deleted the gagik/collection-tab-top branch July 4, 2025 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat no release notes Fix or feature not for release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants