Skip to content

Conversation

@Anemy
Copy link
Member

@Anemy Anemy commented Mar 4, 2025

This is most of COMPASS-8861, I'd like to do the toasts separately as they can be in a separate pr from this work without any conflicts.

Designs: https://www.figma.com/design/CBHJriBQZ2qxMxtnXFgDxJ/EXPO-3174-%3A-Export-Schema-%2B-Validation-Detection?node-id=1309-40813&t=ouDByoHIQallPTXr-1

Screenshots
Screenshot 2025-03-03 at 3 49 42 PM Screenshot 2025-03-03 at 3 49 48 PM Screenshot 2025-03-03 at 3 49 55 PM

We could refactor the store here to have fewer reducers to simplify some of the actions here. Probably not worth making part of this work, but something that is on the mind with these changes. Removing some of the debouncing and cleaning up the fetching of existing validation would be nice as well.

@paula-stacho
Copy link
Collaborator

paula-stacho commented Mar 4, 2025

I'm seeing a different copy + option to not show the modal again in the designs, are we looking at the same version?

Screenshot 2025-03-04 at 14 06 57

@Anemy
Copy link
Member Author

Anemy commented Mar 4, 2025

@paula-stacho I just with Misba on the designs. We might use this wording in the pr instead of whats in the designs to be more inline with other confirmation modals in Compass (save aggregation for instance). I did miss that option not to show the modal again though thanks! I'll push up a commit today.

@Anemy
Copy link
Member Author

Anemy commented Mar 4, 2025

@paula-stacho I created a new ticket for the "don't show this message again" checkbox: https://jira.mongodb.org/browse/COMPASS-9076
I think we probably want something generic there that's on the useConfirmation hook and didn't want to hack in a confirmation modal into this pr as there are already a lot of changes.

Copy link
Collaborator

@paula-stacho paula-stacho left a comment

Choose a reason for hiding this comment

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

Look great! Thanks for fixing additional details!

@Anemy Anemy merged commit dad404d into main Mar 5, 2025
55 checks passed
@Anemy Anemy deleted the COMPASS-8861 branch March 5, 2025 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants