-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simpler PinnedFilters in SearchControl
- Loading branch information
1 parent
1cad7eb
commit e970549
Showing
19 changed files
with
425 additions
and
280 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
e970549
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.
Simple Pinned Filters, Split Values and
EntityStrip
inSearchControl
Pinned Filters Preview and new Table UI
We have made some UI in the
SearchControl
, mainly related to configuring Pinned Filters.Split Values (aka multiple Tags)
When configuring pinned filters, it is common to use Active: WhenHasValue to enable a behaviour where, the more components the user fill, the less results it will get.
The same idea was possible for text boxes with the old
splitText
option: The words were splitted by space and and all have to be found somewhere, so the more words you write, the less results you get.Until now, this idea was not supported for list of elements. For example in the previous screenshot we filter by one Territory.... how can we filter by many?
If we do something like:
But with the new
splitValue
(splitText
generalized) now we can do:This way the more elements you add to the collection, the less results you get!
EntityStrip
inSearchControl
Finally to make the previous scenario even better, we have replaced the polyvalent
MultiValueLine
with manyEntityLine
inside that was used when selecting the operationIsIn
/IsNotIn
with a token of typeEntity
/Lite
for a propperEntityStrip
.This makes autocomplete faster with the keyboard and allows so select multiple entity when clicking in the magnified button (Find).
But this has the drawback that
null
is not allowed anymore as a value in the collection used inIsIn
.For example if your code has:
You need to replace it for:
Is not a very common pattern but I have used once or twice.
Conclusion
I hope this UI improvements will make the live of the end-users and the power-users of your application a little bit easier when using the
SearchControl
.e970549
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.
Great Job 👍