-
Notifications
You must be signed in to change notification settings - Fork 246
chore(components): upgrade LeafyGreen non-modal (+ some chat related) components COMPASS-9642 #7582
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
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
6b50730
Remove patch-leafygreen-button
kraenhansen 43dc230
Delete unused packages
kraenhansen f042cd0
Bump LG packages
kraenhansen 581e012
Fix type error in e2e-tests
kraenhansen bb1f668
Fix incorrect React.Ref type argument in generative-ai
kraenhansen 4116bf2
Add autoFocus prop to compass-editor
kraenhansen 4c35c6a
Use named over default exports
kraenhansen 0bde132
Fix Button / IconButton links
kraenhansen 2c213a2
Fix ActionButton prop types
kraenhansen c4b510b
Remove defaultValue workaround
kraenhansen 1643455
Fix SmallIconButton props
kraenhansen bfcd92c
TEMP: Working around https://jira.mongodb.org/browse/LG-5461
kraenhansen f8ab37d
Workaround for React.ComponentProps<typeof Button> no longer working
kraenhansen c33b90e
TEMP work around https://jira.mongodb.org/browse/LG-5590
kraenhansen f622a80
Fix issue passing Popover ref into IconButton
kraenhansen bd565a3
Fix check failure in guide-cue spec
kraenhansen 66bc1e6
Removed extraneous ts-expect-error
kraenhansen 6e99b2c
Update to account for breaking change in select v16.2.0
kraenhansen 0be5d0a
Wait for crud elements to become visible before interacting
kraenhansen 623bf10
Update existing tests to handle changes in Select
kraenhansen 4142956
Fix index creation interactions with ComboBox
kraenhansen d4d2769
Update e2e tests to use setComboBoxValue instead of setValueVisible w…
kraenhansen 2090deb
Update e2e tests to expect chat messages to not be displayed when dec…
kraenhansen d5ae3a0
Update ConnectDropdownButton to reflect change in SplitButton
kraenhansen b01bf22
Update e2e test to use a different selector for menu items in "CSV fi…
kraenhansen f3c65e4
Skip opening the assistant drawer if it's already open
kraenhansen c37c211
Assistant tests: Add option to useExplainPlanEntryPoint to avoid wait…
kraenhansen fac7e14
Assistant tests: Close drawer after every test.
kraenhansen d7329d0
Export ConfirmationModalProps fixing re-export of showConfirmation in…
kraenhansen 12f7ae9
Update modal close selector
kraenhansen d276850
Update use of chat-provider v6
kraenhansen b2861ce
Update package lock
kraenhansen 694ac4e
Update assistant tests to reflect change in LG
kraenhansen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 0 additions & 26 deletions
26
packages/compass-components/scripts/patch-leafygreen-button.js
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just curious what logic you used to decide on which overrides to remove and which to keep for this step of the LG update: I see that some of the ones that are left do overrides,
but some are not, so not obvious at a glance what's the deciding factor hereEDIT: ah, scratch that, didn't noticed it at first doing
npm ls, seems all of them are related to the packages not being bumped in this PR specifically? Is that about right?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep. I basically brute-forced this. Whenever something was causing duplicate installs in the package lock I added an override for that 🤷 I hope to be able to get rid of these all together in my final PR 🤞