Skip to content

pfFilterResults: Update Results Count Label to PatternFly Design #721

Open

Description

@dtaylor113

Here is the current impl.:

image

Here is the Patternfly Design:

image

Related Issue: #720

Activity

  1. dtaylor113 commented on Feb 23, 2018

    @dtaylor113
    MemberAuthor

    Related open issue in patternfly-design: patternfly/patternfly-design#576

  2. self-assigned this
    on Mar 12, 2018
  3. jcaianirh commented on Mar 12, 2018

    @jcaianirh
    Contributor

    @dtaylor113 I started looking at this issue, and found the following while looking at the current behavior:

    1. Indeed results is currently left aligned. According to this patternfly core issue, the results may need to stay left justified, but maybe @serenamarie125 or @beanh66 can help with this: Filter bar component is inconsistent throughout PF documentation patternfly-design#576

    2. When there are active filters the results will say "n of m items" if the showTotalCountResults option is set to true. (Done in existing codebase)

    3. Items are user defined. I can add a custom label using itemsLabel and itemsLabelPlural. (Done in existing codebase)

    4. When there are no active filters, the results count label says "m items" (Done in existing codebase)

    5. @beanh66 and @LHinson do we want the results count label to be optional? (Need some clarification on this)

    issue721results
    issue721filteredresults

  4. mcarrano commented on Aug 30, 2018

    @mcarrano
    Member

    Note that the placement of the filter results should always be on the left. This is inconsistent in some of the design pages and we are currently working to clean that up. Please follow this spec for the correct implementation: https://www.patternfly.org/pattern-library/forms-and-controls/filter/#design You'll note that the term "Items" is considered a default, but may be replaced by a more specific term when that makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions