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

Austenem/CAT-929 double dialog bug #3553

Merged
merged 8 commits into from
Oct 2, 2024
Merged

Conversation

austenem
Copy link
Collaborator

@austenem austenem commented Oct 1, 2024

Summary

Fixes a bug present on the dataset detail pages. Previously, the "Add to Workspace" dialog could not be saved, and opened two dialogs simultaneously.

Design Documentation/Original Tickets

CAT-929 Jira ticket

Testing

Tested manually that dialogs worked as expected for both the entity header and the helper menu workspace options. Also tested that search page dialog continued to work as expected.

Screenshots/Video

Issue present on prod:

Screen.Recording.2024-10-01.at.11.52.09.AM.mov

Resolution:

Screen.Recording.2024-10-01.at.11.51.39.AM.mov

Checklist

  • Code follows the project's coding standards
    • Lint checks pass locally
    • New CHANGELOG-your-feature-name-here.md is present in the root directory, describing the change(s) in full sentences.
  • Unit tests covering the new feature have been added
  • All existing tests pass
  • Any relevant documentation in JIRA/Confluence has been updated to reflect the new feature
  • Any new functionalities have appropriate analytics functionalities added

Additional Notes

For clarity, the cause of the bug was that there were two "Add dataset to workspace" dialogs - one for the helper menu, and one for the entity header - and both depended on a single boolean to determine whether they were open. As a result, whenever one was opened, the other would open behind it.

This was resolved by using one dialog for both the helper menu and the entity header and storing the relevant dataset to use in the dialog, which also resolved the issue of the dialog not responding.

Copy link
Collaborator

@john-conroy john-conroy left a comment

Choose a reason for hiding this comment

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

Looks great! Just one small comment.

Copy link
Collaborator

@john-conroy john-conroy left a comment

Choose a reason for hiding this comment

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

Great work! Merge once CI passes.

@austenem austenem merged commit 2684f9a into main Oct 2, 2024
8 checks passed
@austenem austenem deleted the austenem/cat-929-double-dialog-bug branch October 2, 2024 15:52
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.

2 participants