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

Assets filters #14229

Merged
merged 21 commits into from
Dec 5, 2023
Merged

Assets filters #14229

merged 21 commits into from
Dec 5, 2023

Conversation

karanh37
Copy link
Contributor

@karanh37 karanh37 commented Dec 4, 2023

Describe your changes:

Fixes

I worked on ... because ...

Screen.Recording.2023-12-04.at.11.09.24.PM.mov

Type of change:

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

@karanh37 karanh37 marked this pull request as draft December 4, 2023 16:35
@github-actions github-actions bot added UI UI specific issues safe to test Add this label to run secure Github workflows on PRs labels Dec 4, 2023
Copy link
Contributor

github-actions bot commented Dec 4, 2023

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 49%
49.31% (24328/49332) 31.73% (9404/29634) 30.48% (2748/9016)

Copy link
Contributor

@ShaileshParmar11 ShaileshParmar11 left a comment

Choose a reason for hiding this comment

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

some review comment

@karanh37 karanh37 marked this pull request as ready for review December 5, 2023 17:33
harshach
harshach previously approved these changes Dec 5, 2023
@harshach
Copy link
Collaborator

harshach commented Dec 5, 2023

we have + sign below the search box
image
vs in the assets page on the left side of the search box
image

Can we do the same in the adding assets

Comment on lines +274 to +284
const mergeFilters = useCallback(() => {
const res = getCombinedQueryFilterObject(
queryFilter as QueryFilterInterface,
quickFilterQuery as QueryFilterInterface
);
setUpdatedQueryFilter(res);
}, [queryFilter, quickFilterQuery]);

useEffect(() => {
mergeFilters();
}, [quickFilterQuery, queryFilter]);
Copy link
Collaborator

Choose a reason for hiding this comment

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

we can replace it with single useMemo

Copy link

sonarqubecloud bot commented Dec 5, 2023

[open-metadata-ui] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 7 Code Smells

0.0% 0.0% Coverage
8.1% 8.1% Duplication

@chirag-madlani
Copy link
Collaborator

@harshach merging this will take care of feedbacks in the tests PR tomorrow
cc: @karanh37

@chirag-madlani chirag-madlani merged commit f32b4d4 into main Dec 5, 2023
14 checks passed
@chirag-madlani chirag-madlani deleted the assets-filters branch December 5, 2023 18:25
karanh37 added a commit that referenced this pull request Dec 6, 2023
* assets filter

* localisation

* update filters

* fix: update filters on teams page

* hide searchbar & restrict adding assets for draft

* fix: code smells

* fix: encoding decoding issues

* fix: css

* fix: add permissions check

* fix(ui): throw validation errors while modifying glossary term (#14236)

* fix(ui): throw validation errors while modifying glossary term

* update modal layout

* fix: domain cypress

* minor update

* update modal

* fix: glossary cypress

* fix: show inline errors

* fix comments

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
MrVinegar pushed a commit to MrVinegar/OpenMetadata that referenced this pull request Dec 15, 2023
* assets filter

* localisation

* update filters

* fix: update filters on teams page

* hide searchbar & restrict adding assets for draft

* fix: code smells

* fix: encoding decoding issues

* fix: css

* fix: add permissions check

* fix(ui): throw validation errors while modifying glossary term (open-metadata#14236)

* fix(ui): throw validation errors while modifying glossary term

* update modal layout

* fix: domain cypress

* minor update

* update modal

* fix: glossary cypress

* fix: show inline errors

* fix comments

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test Add this label to run secure Github workflows on PRs UI UI specific issues
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants