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

Support de-selecting browse paths #8242

Merged

Conversation

joshuaeilers
Copy link
Contributor

Depends on https://github.com/acryldata/datahub-fork/pull/1438.

This just clears the entity/env/platform/browse filters if a user clicks on a path that was already selected.

Also adds a cypress test and removes a couple lines from the existing test I suspect we did not need.

@joshuaeilers joshuaeilers added the wip Work in progress, don't review yet label Jun 14, 2023
@github-actions github-actions bot added devops PR or Issue related to DataHub backend & deployment product PR or Issue related to the DataHub UI/UX smoke_test Contains changes related to smoke tests labels Jun 14, 2023
@joshuaeilers joshuaeilers marked this pull request as ready for review June 21, 2023 17:14
@@ -115,8 +115,6 @@ describe("search", () => {
});
cy.get("[data-testid=browse-node-jaffle_shop]").click({ force: true });

// ensure expected dataset is there with expected filters applied
cy.contains("customers");
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This felt like something ported from another test, but lemme know if it's needed for some reason.

Copy link
Collaborator

@chriscollins3456 chriscollins3456 left a comment

Choose a reason for hiding this comment

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

nice stuff!

@joshuaeilers joshuaeilers deleted the je--deselect-browse-paths branch June 21, 2023 18:40
@joshuaeilers joshuaeilers restored the je--deselect-browse-paths branch June 21, 2023 18:40
@joshuaeilers joshuaeilers reopened this Jun 21, 2023
@github-actions github-actions bot removed the devops PR or Issue related to DataHub backend & deployment label Jun 21, 2023
@joshuaeilers joshuaeilers enabled auto-merge (squash) June 21, 2023 18:41
@joshuaeilers joshuaeilers removed the wip Work in progress, don't review yet label Jun 21, 2023
@joshuaeilers joshuaeilers merged commit cecc005 into datahub-project:master Jun 21, 2023
32 of 34 checks passed
@joshuaeilers joshuaeilers deleted the je--deselect-browse-paths branch June 22, 2023 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product PR or Issue related to the DataHub UI/UX smoke_test Contains changes related to smoke tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants