-
Notifications
You must be signed in to change notification settings - Fork 158
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
feat(filter-panel): add view all button for filter groups #8188
feat(filter-panel): add view all button for filter groups #8188
Conversation
a29f4d3
to
21f26e9
Compare
Deploy preview created for package Built with commit: 11535762c04f4d38659b49ce822db2c755e0bce0 |
Deploy preview created for package Built with commit: 11535762c04f4d38659b49ce822db2c755e0bce0 |
Deploy preview created for package Built with commit: 11535762c04f4d38659b49ce822db2c755e0bce0 |
Deploy preview created for package Built with commit: 11535762c04f4d38659b49ce822db2c755e0bce0 |
Deploy preview created for package Built with commit: 11535762c04f4d38659b49ce822db2c755e0bce0 |
Hi @jkaeser overall this is looking really good!
This seems great, does it apply to the whole filter panel, ie every filter group would have the same number (5) OR can the author/developer customize each filter group to a unique filter-cutoff attribute, some 5, some 7? |
@oliviaflory @IgnacioBecerra Can we get a re-review? Thanks! |
…7405) This prevents CI from producing an error for reasons that are unclear to me.
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.
@jkaeser LGTM, this component can be complicated but you were able to implement the feature, thanks for the amazing job working on this!
@oliviaflory Yeah, I'm seeing the rounded focus state styling on the Sandbox preview as well. This is odd because the SB preview looks correct (see attached). I wonder if there's any other style import that we're missing on the Sandbox app side. @IgnacioBecerra let me know what you think. |
@proeung The deploy preview WC CodeSandbox hasn't been updated since 5 days ago due to a CI error that was fixed in the latest commits, so it could be that it's still building. Although it could also be due to some Jenkins problems we ran into this morning and the changes aren't reflecting in the sandbox just yet. But since the style changes were done in the regular |
@IgnacioBecerra Makes sense! I just checked the latest WC sandbox deploy preview and the rounded focus style is no longer there. I think we're good to mark this PR as ready for merge. @oliviaflory Let me know if you agree.
|
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.
LGTM, thanks @jkaeser 🎉
…8252) This reverts commit 6a55992. ### Related Ticket(s) Reverting #8188 ### Description Reverting for the time being. ### Changelog **Removed** - the changes done in the linked PR <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) -->
Related Ticket(s)
Resolves #7405
Description
Adds support for "view all" buttons in
DDSFilterGroupItem
components.view-all-text
attribute.max-filters
attribute value. This defaults to 7, as per the functional specs.filter-cutoff
attribute are shown at first (defaults to 5 as per functional specs). The hidden filters are revealed once the button has been clicked.Changelog
New
DDSFilterGroupItem
components when a sufficient number of filters are present in the group.Changed
DDSFilterPanelComposite
's modal and desktop rendering into two methods to make it more obvious what's going on.