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

Configurable facets #1465

Open
wants to merge 74 commits into
base: master
Choose a base branch
from
Open

Configurable facets #1465

wants to merge 74 commits into from

Conversation

Ingvord
Copy link
Contributor

@Ingvord Ingvord commented Apr 27, 2024

Ingvord and others added 18 commits March 22, 2024 12:05
* First steps

* Beautify

* Use shared search bar component

* Remove search bar from facets

* Some clean ups

* Some clean ups

* Some clean ups

* Code formatting
* Change label

* Add button

* Add button

* Full width search bar (#1426)

* First steps

* Beautify

* Use shared search bar component

* Remove search bar from facets

* Some clean ups

* Some clean ups

* Some clean ups

* Code formatting

* Fix layout

* Add functionality to the button
@Ingvord
Copy link
Contributor Author

Ingvord commented Jun 7, 2024

Apparently there are some changes picked up from the master which make the overall UI/UX much more consistent., thanks to @Junjiequan . I took the liberty to do minor adjustments though:

Peek 2024-06-07 17-21

Please note the icons and labels:

Screenshot_20240607_172705

@nitrosx
Copy link
Contributor

nitrosx commented Jun 7, 2024

@Ingvord it looks good!!!
The only concern that I have is that the two reset buttons are not exactly behaving the same way. I think that for consistency sake, we should make sure that the text explicitly says what they do: clear filters and clear text

One more thing: I checked and the three horizontal lines slightly tilted are indeed the official icon for clear all.
I will go with what the community decide.

@Ingvord
Copy link
Contributor Author

Ingvord commented Jun 7, 2024

@nitrosx Thanks for your "in no time" comment :)

Regarding the icons I refer to this resource: https://fonts.google.com/icons

The only concern that I have is that the two reset buttons are not exactly behaving the same way.

My intention is to make them consistent in a way that they both do clear and apply. My motivation - they are located in a "major action" section area and have the same look-n-feel as apply/search, so I would expect them to perform something more than just clear. Ah and we lost "x" from full text, which should do only clear...

However the functionality requires more love for sure 🤠

@Ingvord Ingvord requested a review from despadam June 7, 2024 23:21
@Ingvord
Copy link
Contributor Author

Ingvord commented Jun 7, 2024

All green 🍾 🥂

super();
this.subscription = this.pidSubject
.pipe(
skipWhile((terms) => terms.length < 5),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I really think this is redundant now. As we force user to explicitly click the action button, this just introduces a lot of confusion.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done in c48ec59

Copy link

sonarcloud bot commented Jul 11, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#discussed meeting Should be discussed in meeting Release Search UI
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants