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

Show icons for nonempty search #80

Merged
merged 2 commits into from
Apr 22, 2019
Merged

Conversation

kellyi
Copy link
Contributor

@kellyi kellyi commented Apr 19, 2019

Overview

This PR fixes a bug in the Unity Bar whereby the map, help, and authentication action icons wouldn't display when the search box had a term entered in it. They'll still be hidden when the search box is expanded, but will return when the input loses focus.

Connects #70
Connects https://github.com/azavea/pwd-parcel-viewer/issues/719

Demo

Screen Shot 2019-04-19 at 5 46 55 PM

Notes

First commit fixes part of an npm audit encountered issue with the tar package. We can't fully fix it yet because it's also a dependency of node-sass, which hasn't been updated since the issue was reported.

Testing Instructions

  • test the Netlify deployment and verify that see the action icons when there is a search term in the input but some other element has focus

Kelly Innes added 2 commits April 19, 2019 17:41
Update the logic of the appactions rendering to have the map action,
help action and authenticated actions menu display when the search box
is not expanded but does have a search term in it.
Copy link
Contributor

@rajadain rajadain left a comment

Choose a reason for hiding this comment

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

+1 tested. Nice work! It works correctly now.

Testing was a little difficult because the Unity Bar kept scrolling out of view. I made #81 for that.

@rajadain rajadain assigned kellyi and unassigned rajadain Apr 22, 2019
@kellyi
Copy link
Contributor Author

kellyi commented Apr 22, 2019

Testing was a little difficult because the Unity Bar kept scrolling out of view. I made #81 for that.

Cool, thanks for making that -- and for reviewing this!

@kellyi kellyi merged commit 14cf300 into develop Apr 22, 2019
@kellyi kellyi deleted the ki/show-icons-for-nonempty-search branch April 22, 2019 13:42
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.

2 participants