question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Consumer UI Refresh] Hide the Search Input and Display when Touching Magnifying Glass

See original GitHub issue

If you haven’t already, check out our contributing guidelines for onboarding!


Deliverables:

  • Remove the ChatSwitcherView here and replace it with a touchable magnifying glass icon as the ChatSwitcherView must now be conditionally rendered.
  • In the onPress callback for the icon conditionally render the ChatSwitcher view
  • Clean up the code so that the isLogoVisible and isClearButtonVisible props are removed from the ChatSwitcherSearchForm component as the logo will never be visible and the clear button will always be visible from now on.
  • Remove the logo entirely from here
  • Make the clear button always visible by removing this condition here

Magnifying Glass Asset: magnifyingglass.svg.zip

Screenshots:

Here is the current view:

Screen Shot 2021-01-12 at 3 37 03 PM

Here is how it should look after (Note: Our design team may have final notes for you):

Search bar 1 Screen Shot 2021-01-12 at 3 41 13 PM

Note: If this issue is not completed before the Avatar and header are moved above the chat list then the magnifying glass should appear to the left of the avatar. The final view will look like this:

Screen Shot 2021-01-12 at 3 44 18 PM


Please leave any questions on this issue after accepting our offer.

Upwork Listing: https://www.upwork.com/jobs/~01d448e47c9642e502

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
shawnbortoncommented, Jan 14, 2021

I think you can just follow the original comment - tapping the search icon will navigate to the page with the search input + results that looks like this: image

0reactions
UpworkBartkoskicommented, Jan 14, 2021

Done

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Consumer UI Refresh] Hide the Search Input and Display when ...
Another solution to resolve this issue, make a Touchable magnifying glass icon inside ChatSwitcherView instead of SidebarLinks ? When clicking the clear button, ......
Read more >
The Magnifying-Glass Icon in Search Design: Pros and Cons
The magnifying glass alone makes it much harder to locate the search. When used without an open-entry text field, the icon takes up...
Read more >
Option to hide magnifying glass, or make it focus input field
Hi, we have a challenge with our users clicking the magnifying glass in order to begin inputting to the search field, which causes ......
Read more >
Apple brought back the beloved magnifying glass for selecting ...
Apple's text selection magnifying glass has reappeared in the iOS 15 beta, and Apple's own site confirms its return by listing it as...
Read more >
Window magnifier in Android 12
Partial-screen magnification, introduced in Android 12 gives low-vision users improved viewing options. Low-vision users might wear ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found