-
Notifications
You must be signed in to change notification settings - Fork 0
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
Enhance catalogue items table filtering #1101
Enhance catalogue items table filtering #1101
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feature/enhance-items-table-filtering-#1041 #1101 +/- ##
===============================================================================
+ Coverage 99.16% 99.18% +0.01%
===============================================================================
Files 81 81
Lines 16889 16933 +44
Branches 2843 2828 -15
===============================================================================
+ Hits 16748 16795 +47
+ Misses 137 134 -3
Partials 4 4 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove ItemPropertyFiltersTypes as mentioned in the previous
540e3db
to
6769b76
Compare
Currently there's a custom type for
|
Good catch! I agree it’d be more consistent if all or none of these had custom types. Do you think we should add custom types for |
I think using the inbuild record type, but with custom types would be a good approach. We get stricter type enforcement for
|
Your approach using Also, given that boolean types can already be set to date filters in MRT, strict enforcement here might not be necessary. This more open-ended setup will let developers choose and adjust filter types with their judgment, especially in cases where filter usage might change as the UI evolves. This can be used instead of
|
941a329
to
6769b76
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Please wait until PR #1046 is merged into develop, then go ahead and merge this PR.
One thing I noticed: for boolean fields, we should set the select options explicitly to ['Yes', 'No']
using filterSelectOptions: ['Yes', 'No']
. Currently, the options are dynamically generated, so if all values are false, only "No" appears in the list. This should be addressed separately
345bc8f
into
feature/enhance-items-table-filtering-#1041
This reverts commit 345bc8f.
Description
Enter a description of the changes here
Testing instructions
Add a set up instructions describing how the reviewer should test the code
Agile board tracking
Closes #1040