Skip to content
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

docs: added new advanced filtering text and images #473

Closed
wants to merge 8 commits into from

Conversation

Solly2
Copy link

@Solly2 Solly2 commented Oct 9, 2019

Added new wording and text to the filtering pattern.

This adds the "advanced filtering" section as an extension on the filtering pattern.

@project-bot project-bot bot added this to PR: needs review 🕵️ in Carbon support Oct 9, 2019
@vercel
Copy link

vercel bot commented Oct 9, 2019

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/carbon-design-system/carbon-website/51tn2tjcb
🌍 Preview: https://carbon-website-git-fork-solly2-advanced-filtering.carbon-design-system.now.sh

@vercel vercel bot temporarily deployed to staging October 9, 2019 14:10 Inactive
@vikkipaterson
Copy link
Contributor

@connor-leech @Solly2 is part of my wider team so I'd like to be included on the review of this if that's ok?

@vikkipaterson
Copy link
Contributor

I will also add to this that the integration dev team are building code for this :)

@Solly2
Copy link
Author

Solly2 commented Oct 10, 2019

Copy link
Contributor

@vikkipaterson vikkipaterson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@connor-leech would this be better placed under an advanced filtering section in Experimental to start with?
Other than that I have no additional comments on this.

<Row>
<Column colLg={8}>

![Contextual image](images/filter-9.png)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same note about alt text.

<Row>
<Column colLg={8}>

![Contextual image](images/filter-11.png)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same note about alt text.

@vikkipaterson
Copy link
Contributor

@connor-leech is there any progress on this PR?

@connor-leech
Copy link
Contributor

@vikkipaterson Waiting on Chris' review, but he's out of town until Monday

@connor-leech
Copy link
Contributor

@chrisconnors-ibm Any chance you can take a look at this this week?

@@ -69,6 +69,62 @@ Multiple category selection is most commonly manifested in either a vertical lis
</Column>
</Row>

### Advanced filtering
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace "Advanced filtering" with "Search with filters"

@@ -69,6 +69,62 @@ Multiple category selection is most commonly manifested in either a vertical lis
</Column>
</Row>

### Advanced filtering

_Advanced search_ can be used when the user requires to search and filter a list of items by choosing more than one filter from multiple filter categories. This pattern is especially useful when the number of items within each category is dynamic, such as filtering a table by a user or user defined tags.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace with:

Search with filters provides users a method to constrain a long list of items by known metadata or dynamic metadata (such as tags) by choosing one or more filter items from multiple filter categories. It should be clear to the user is the filter represents an or relationship (either red cars or yellow cars) or an and relationship (red exterior and leather interior). Terms entered that are not filter choices are treated as search terms within the filtered items.


_Advanced search_ can be used when the user requires to search and filter a list of items by choosing more than one filter from multiple filter categories. This pattern is especially useful when the number of items within each category is dynamic, such as filtering a table by a user or user defined tags.

Advanced search is also commonly used when there is not the requried amount of space on the screen to accommodate a vertical list.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace:
"Filtered search is also recommended when there is not enough space to accommodate a vertical list of filters."

<br />
<br />

The filtering categories appear as headers within a dropdown space underneath a search field, with the top five items from within each section appearing as defaults within this space, along with the expected number of returns if the user was to select that option.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the significance of the top 5?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no real significance to the number of items shown, just aware that we need to give an example of the things you can filter by.

If there are a greater number of 'category' of filters then 5 would be quite cumbersome.

Perhaps we can simply change it to "with an example from each section appearing as defaults within this space"

<br />
<br />

Entering a search term which exactly matches an item within a drop down enters that filter into the search field as a tag with the appropriate label attached. Alternatively a user can select that item directly from the drop down by clicking on it. If the term entered into the search field doesn't match any values within the filter categories then that term is entered as a free text search.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace with:
Entering a search term which exactly matches an item within a drop down enters that filter into the search field as a tag with the appropriate label attached; a user may also select that item directly from the drop down by clicking on it. If the term entered into the search field doesn't match any values within the filter categories, that term is entered as a free text search, not in a tag.

<Row>
<Column colLg={8}>

![Example of selectred search terms having been entered](images/filter-11.png)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the free text search term should not be in a tag.

Carbon support automation moved this from PR: needs review 🕵️ to PR: review in progress 🗣️ Nov 5, 2019
@vikkipaterson
Copy link
Contributor

@connor-leech are you waiting on something from our end on this?

@Solly2
Copy link
Author

Solly2 commented Nov 19, 2019

I've made the changes as Chris requested, for some reason the build failed though... All there was were text changes so should be finbe.

There is a bit of an unanswered question around what should populate the drop down though...

@connor-leech
Copy link
Contributor

As all existing production patterns must be reworked and revisited, closing this PR and incorporating relevant content into a new doc.

Please continue any discussion here: #712

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Carbon support
  
PR: review in progress 🗣️
Development

Successfully merging this pull request may close these issues.

None yet

5 participants