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

Standardized clear filter button #1934

Conversation

maufcost
Copy link
Contributor

@maufcost maufcost commented Nov 22, 2021

I overrode web-kit's UI for our clear filter button within obo's dashboard's search input, and everything seems to be standardized across browsers now.

Fixes #1930

Copy link
Contributor

@FrenjaminBanklin FrenjaminBanklin left a comment

Choose a reason for hiding this comment

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

This looks good, and it does the job.

Only thing I can think of - now that we have full control over how this looks, add a cursor: pointer; to round out the clickable button-ness of it.

It'd be nice if we could also make sure this shows up in Firefox, but it looks like that would require disabling the browser's pseudo-element and constructing our own instead. That will probably have to be its own issue.

jpeterson976
jpeterson976 previously approved these changes Nov 23, 2021
Copy link
Contributor

@jpeterson976 jpeterson976 left a comment

Choose a reason for hiding this comment

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

Much more noticeable now on Chrome and Safari. Annoying that it just doesn't show up at all on Firefox, but like Brandon said that could probably become its own separate issue. LGTM!

@maufcost
Copy link
Contributor Author

I just found a solution for Firefox specifically. I will be committing that later today.

@maufcost
Copy link
Contributor Author

Everything seems to be working now on all three browsers. I'm just gonna be converting some measurement units from 'px' to 'em' for consistency now.

Copy link
Contributor

@FrenjaminBanklin FrenjaminBanklin left a comment

Choose a reason for hiding this comment

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

Filter input now has a consistent clear button across all browsers.

Great work!

Copy link
Contributor

@jpeterson976 jpeterson976 left a comment

Choose a reason for hiding this comment

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

Worked in all 3 browsers, LGTM!

@FrenjaminBanklin FrenjaminBanklin merged commit c7bddc4 into ucfopen:dev/26-neon-apatite Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants