patternfly-3 icon indicating copy to clipboard operation
patternfly-3 copied to clipboard

Missing code examples for Bulk Select

Open asankov opened this issue 4 years ago • 4 comments

I am trying to implement a container view with many elements and need a selector that selects/deselects all of them.

I see that there is such in Patternfly - https://www.patternfly.org/v3/pattern-library/forms-and-controls/bulk-selector/index.html#design

However, there are no code examples attached to the page, so I have no idea how to start using this, except starting from scratch (which defeats the purpose of using library like Patternfly)

asankov avatar May 30 '20 10:05 asankov

@asankov For our older version of PF and the website, we used to post designs prior to having any code. I understand this is confusing and frustrating and the reason why we changed this approach with our newest version, see https://www.patternfly.org/v4/

All design for PF4 have code when they are posted to the site. Do you have the opportunity to upgrade to latest? There has been a lot of improvements since PF3 and you would benefit from being on the version where we are adding features and functionality (vs just in bug fix mode).

LHinson avatar Jun 02 '20 16:06 LHinson

thank you for the answer, @LHinson

migrating to Patternfly 4 is a blocker for us ATM, because we have ongoing work in refactoring some pages. This works includes adding a bulk selector like the one in question to a few of the pages. If you don't have any code examples, then I guess we would have to implement them from scratch or try to adapt some of the Patternfly 4 examples for our purpose.

asankov avatar Jun 02 '20 20:06 asankov

@asankov Which implementation of PF3 are you using? e.g. core (html/css/jquery) or one of the JS. frameworks - angular, ng or react? There might be some components that can help you get there without building everything from scratch, even though we don't have the full example in PF3.

LHinson avatar Jun 04 '20 22:06 LHinson

we are using the core (html/css/jquery) version.

asankov avatar Jun 05 '20 09:06 asankov