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

fix: detect parcoords filter removal properly #2022

Merged
merged 2 commits into from
Mar 2, 2021

Conversation

hkang1
Copy link
Contributor

@hkang1 hkang1 commented Mar 2, 2021

Description

HP Parallel Coordinates filters that are previously removed come back during a re-render. Update the chart to detect filter removal and properly save the removal state.

Test Plan

  • Create some HP parcoords filters and click on them to remove them. Wait about 10 sec+ to ensure they don't come back on a re-render.

Commentary (optional)

Checklist

  • User-facing API changes need the "User-facing API Change" label.
  • Release notes should be added as a separate file under docs/release-notes/.
    See Release Note for details.

@hkang1 hkang1 requested a review from hamidzr as a code owner March 2, 2021 17:28
@cla-bot cla-bot bot added the cla-signed label Mar 2, 2021
Copy link
Member

@hamidzr hamidzr left a comment

Choose a reason for hiding this comment

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

🚀

});
}
setConstraints(prev => {
const newConstraints = clone(prev);
Copy link
Member

Choose a reason for hiding this comment

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

nit: can we tell clone (generic type) what type we expect at the end so `new constraints doesn't turn into any?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

great idea

Copy link
Contributor Author

Choose a reason for hiding this comment

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

unfortunately this is going to blow to a pretty big change. This deserves it's own tech debt ticket.

@hamidzr hamidzr assigned hkang1 and unassigned hamidzr Mar 2, 2021
@hkang1 hkang1 merged commit 744c4ad into determined-ai:master Mar 2, 2021
@hkang1 hkang1 deleted the 5019-fix-parcoords-filters branch March 2, 2021 21:04
@dannysauer dannysauer added this to the 0.14.3 milestone Feb 6, 2024
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