Skip to content

WIP: table cell right click #7045

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 88 commits into
base: gagik/cell-render-refactor
Choose a base branch
from

Conversation

gagik
Copy link
Contributor

@gagik gagik commented Jun 19, 2025

This is some quite WIP work for table cell right clicking. Some more work is needed to finalize this, just sharing as I am away next week. Feel free to take over, otherwise I'll just continue from there.

The approach worth taking is likely to use AG-Grid's onCellContextMenuSelected. This would need some changes to the context menu provider to expose less React-tied functions

gagik added 30 commits May 22, 2025 09:38
…p menu state consistent

The refactor is meant to make the Leafygreen integration more straightforward:
1. We stick to item groups and instead have a single wrapper to handle any rendering differences between groups. This allows the wrapper to always have context of all items when rendering which is useful when inserting menu seperators in Leafygreen. Also encourages consistent UI (while allowing per-case customization if needed at wrapper-level). We could introduce itemWrappers instead of itemGroups but having one wrapper handling all seems cleaner to me.
2. More of the responsibility is moved to a parent wrapper component that will house the context menu. This allows us to standardize the right click menu and make better use of Leafygreen's menu component including its click handling (which has been removed from the context menu library).
3. Menu state (i.e. position) is now preserved even closed; this is useful for leafygreen's menu to animate in the same position instead of losing the position all together.
…p menu state consistent

The refactor is meant to make the Leafygreen integration more straightforward:
1. We stick to item groups and instead have a single wrapper to handle any rendering differences between groups. This allows the wrapper to always have context of all items when rendering which is useful when inserting menu seperators in Leafygreen. Also encourages consistent UI (while allowing per-case customization if needed at wrapper-level). We could introduce itemWrappers instead of itemGroups but having one wrapper handling all seems cleaner to me.
2. More of the responsibility is moved to a parent wrapper component that will house the context menu. This allows us to standardize the right click menu and make better use of Leafygreen's menu component including its click handling (which has been removed from the context menu library).
3. Menu state (i.e. position) is now preserved even closed; this is useful for leafygreen's menu to animate in the same position instead of losing the position all together.
Anemy and others added 28 commits June 17, 2025 08:39
* fix test flakes

* nullable

* wait for container animations
…SS-9464 (#7037)

chore(ci): bump timeouts for e2e tests in test installers tasks
…ercom integration is allowed COMPASS-9371 (#6982)

* Add request to the update server to determine if Intercom integration is allowed

* Turn toggleEnableFeedbackPanel async and check isIntercomAllowed

* Remove premature optimization of memoizing integrations response

* Restore fetch mock correctly

* Add debug calls

* Fix tests

* Fix lint

* Use a different domain in proxy tests

* Incorporated feedback

* Cache response from update server
…playing covered queries) CLOUDP-325467 (#7036)

* fix disabled state of suggested index button when switching between tabs

* maintain covered queries in btwn tabs

* working version of the state management

* do not render suggested index everytime initial query changes

* skipping failing tests

* combine coveredqueries data into an obj

* fix broken tests

* updated the state to hold coveredQueriesArr instead

* fix error clearing, remove suggestions from start (need to fix), move query + initialQuery to redux

* fixed tests and automatically generate suggestions when applicable

* clear error when query is updated

* default query = null for create index modal

* added return for the createIndexOpened call

* remove irrelevant comment

* update tests, move logic to reducer for hasQueryChanges
* Only remove windows installer if it exists

* Warn if removal fails

* Passing SQUIRREL_TEMP to sandbox the install

* Use --checkInstall to silence the Update.exe

* Add a debug statement with the executable

* Pass --silent directly
…pass-app-registry (#7040)

* refactor(app-registry): rename hadron-app-registry to compass-app-registry, rename HadronPlugin to CompassPlugin

* fixup: @mongodb-js/compass-app-registry, not compass-app-registry
This reverts commit 4dafa7b and uses testing-library instead.
@gagik gagik changed the base branch from main to gagik/cell-render-refactor June 19, 2025 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants