Skip to content
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

chore(schema): add tooltip showing folks the export button when they legacy export schema COMPASS-8971 #6744

Merged
merged 6 commits into from
Feb 28, 2025

Conversation

Anemy
Copy link
Member

@Anemy Anemy commented Feb 24, 2025

COMPASS-8971

This'll go away eventually. Didn't add any tests, I can if folks would like.
Drive by renamed the banner to modal as it is a modal.

@Anemy Anemy added the no release notes Fix or feature not for release notes label Feb 24, 2025
@paula-stacho
Copy link
Contributor

paula-stacho commented Feb 25, 2025

Thank you! No tests needed. Just one thing - if it's not too complicated, it would be nice to show also if they switch to and complete the new export. Since they came in the legacy way, it might be they haven't noticed the button.

@@ -238,7 +238,9 @@ export const changeExportSchemaFormat = (
try {
const schemaAccessor = schemaAccessorRef.current;
if (!schemaAccessor) {
throw new Error('No schema analysis available');
throw new Error(
"No schema analysis available. Please analyze the collection's schema before exporting."
Copy link
Member Author

Choose a reason for hiding this comment

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

Drive-by, updated this error message to be a bit more descriptive as folks do see it if they try exporting and they have not yet run analysis.

@Anemy
Copy link
Member Author

Anemy commented Feb 26, 2025

@paula-stacho Pushed a commit to show the tooltip after the new export modal has closed after using the legacy menu entry. Looks like there was an simple way to do it after all.

Copy link
Contributor

@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.

Thank you!

@Anemy Anemy merged commit dc7a1d1 into main Feb 28, 2025
45 of 47 checks passed
@Anemy Anemy deleted the COMPASS-8971 branch February 28, 2025 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no release notes Fix or feature not for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants