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

4989 - search x header alignment fixes #5022

Merged
merged 12 commits into from
Apr 2, 2021

Conversation

rob2d
Copy link
Contributor

@rob2d rob2d commented Mar 31, 2021

Explain the details for making this change. What existing problem does the pull request solve?
Should solve most (if not all) of the styling issues with the search fields and toolbar search fields that contain clear buttons.

Related github/jira issue (required):
Closes #4989

Steps necessary to review your pull request (required):

  • Build the demo application and look over components in the places listed below.
  • Type in some content and see an "X" to clear content.

Previously the "X" would be down into the search field on certain scenarios; this should no longer happen.

As mentioned in the issue, the components in these sections should be checked locally.
http://localhost:4000/components/searchfield
http://localhost:4000/components/toolbarsearchfield
http://localhost:4000/components/header
http://localhost:4000/components/tabs-module

For reference/sanity check if the PR is merged:
https://master-enterprise.demo.design.infor.com/components/searchfield
https://master-enterprise.demo.design.infor.com/components/toolbarsearchfield
https://master-enterprise.demo.design.infor.com/components/header
https://master-enterprise.demo.design.infor.com/components/tabs-module

Included in this Pull Request:

  • An e2e or functional test for the bug or feature.
  • A note to the change log.

@rob2d rob2d requested a review from a team as a code owner March 31, 2021 14:30
@rob2d
Copy link
Contributor Author

rob2d commented Mar 31, 2021

Just a note that also in this branch/PR:

  • TESTING.md changes: minor clarifications/updates, added a nav/TOC since there's non-sequential topics
  • refactored/iterated on specific data grid e2e tests since those were flaking out here and there w some new conventions where we can avoid sleep in this file going forward.

@rob2d rob2d force-pushed the 4989-search-x-header-alignment branch from f6f15a8 to 241e59b Compare March 31, 2021 14:48
tmcconechy
tmcconechy previously approved these changes Apr 1, 2021
Copy link
Contributor

@EdwardCoyle EdwardCoyle left a comment

Choose a reason for hiding this comment

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

Great PR with all the docs improvements, thanks for this! Just found one thing below

right: 35px;
top: 4px;
align-items: center;
display: flex;
Copy link
Contributor

Choose a reason for hiding this comment

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

I found one Searchfield example where the close button is still displayed when the input has no contents: http://localhost:4000/components/tabs-module/example-category-searchfield-go-button.html -- seems to be tied to this rule? We may have to qualify it somehow with input:empty or with .is-empty coming from the wrapper?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch Ed, thanks. Checking into it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

forgot to push there -- just running through CI now

@rob2d rob2d force-pushed the 4989-search-x-header-alignment branch from 65de6a2 to 6066ff0 Compare April 1, 2021 16:24
tmcconechy
tmcconechy previously approved these changes Apr 2, 2021
EdwardCoyle
EdwardCoyle previously approved these changes Apr 2, 2021
@EdwardCoyle EdwardCoyle dismissed stale reviews from tmcconechy and themself via ae9a109 April 2, 2021 20:16
@EdwardCoyle EdwardCoyle merged commit ab1ee76 into master Apr 2, 2021
@EdwardCoyle EdwardCoyle deleted the 4989-search-x-header-alignment branch April 2, 2021 20:16
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.

Header: larger search x icon alignment issue
3 participants