-
Notifications
You must be signed in to change notification settings - Fork 130
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(platform): Combine Sorting, Filtering, and Grouping Settings into a Single Dialog #12502
base: main
Are you sure you want to change the base?
Conversation
… filtering, and grouping dialogs into a single settings dialog.
✅ Deploy Preview for fundamental-ngx ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Visit the preview URL for this PR (updated for commit aae72fa): https://fundamental-ngx-gh--pr12502-12441-table-settings-yugi9955.web.app (expires Thu, 17 Oct 2024 12:47:44 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 41b993ee8e451bd7c6770b342ce142dc886eacff |
...tform/table/components/table-view-settings-dialog/filtering/filters-list-step.component.html
Outdated
Show resolved
Hide resolved
libs/platform/table/components/table-view-settings-dialog/filtering/filters.component.ts
Outdated
Show resolved
Hide resolved
@dpavlenishvili Great work! few comments: |
…ems, remove unused cdt declaration, removed signal effect and used just input set to listen filteringData change to triger relevant methods accordingly.
# Conflicts: # libs/platform/table/components/table-view-settings-dialog/grouping/grouping.component.html # libs/platform/table/components/table-view-settings-dialog/grouping/grouping.component.ts # libs/platform/table/components/table-view-settings-dialog/sorting/sorting.component.html # libs/platform/table/components/table-view-settings-dialog/sorting/sorting.component.ts
...m/table/components/table-view-settings-dialog/settings-dialog/settings-dialog.component.scss
Outdated
Show resolved
Hide resolved
i updated all examples |
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.
Looking good! Some small things:
- The "Group" option the advanced techniques table doesn't appear to do anything: https://deploy-preview-12502--fundamental-ngx.netlify.app/#/platform/table/advanced
Screen.Recording.2024-10-14.at.2.18.05.PM.mov
- Same example, trying to filter by statusColor throws a console error:
Related Issue(s)
closes #12441 #12447 #12181
Description
This PR refactors the TableViewSettingsDialogComponent to combine sorting, filtering, and grouping functionality into a single dialog. Previously, sorting, filtering, and grouping were handled by separate dialogs, but now they are merged for a more streamlined user experience. This also reduces code duplication and improves maintainability.
Key changes:
Screenshots
Before:
After:
Screen.Recording.2024-10-03.at.15.18.55.mov