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

Create search-input component #15664

Merged
merged 5 commits into from
Apr 18, 2023
Merged

Conversation

ulisesmac
Copy link
Contributor

fixes #15480

Summary

This PR implements the new search input component

This component was intended to be used in the recovery seed phrase onboarding screen, but designs have changed and now the component is different (the related issue is #15663), so this PR only adds the component and uses it in its preview screen.

image
image
image
image

Review notes

The clear icon is not displayed correctly yet.

Platforms

  • Android
  • iOS

Steps to test

  • Open Status
    -Navigate to Quo2 preview -> inputs -> seach input
  • Test it

status: ready

@status-im-auto
Copy link
Member

status-im-auto commented Apr 14, 2023

Jenkins Builds

Click to see older builds (8)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 323d821 #1 2023-04-14 20:51:45 ~5 min tests 📄log
✔️ 323d821 #1 2023-04-14 20:52:32 ~6 min android-e2e 🤖apk 📲
✔️ 323d821 #1 2023-04-14 20:52:39 ~6 min android 🤖apk 📲
✔️ 323d821 #1 2023-04-14 20:53:27 ~7 min ios 📱ipa 📲
c863c28 #2 2023-04-17 21:44:35 ~11 sec android-e2e 📄log
c863c28 #2 2023-04-17 21:44:38 ~11 sec tests 📄log
c863c28 #2 2023-04-17 21:44:49 ~22 sec android 📄log
c863c28 #2 2023-04-17 21:45:11 ~44 sec ios 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
4e95639 #3 2023-04-17 22:05:10 ~3 min tests 📄log
✔️ 4e95639 #3 2023-04-17 22:08:15 ~6 min android 🤖apk 📲
✔️ 4e95639 #3 2023-04-17 22:08:41 ~6 min android-e2e 🤖apk 📲
✔️ 4e95639 #3 2023-04-17 22:09:39 ~7 min ios 📱ipa 📲
✔️ 718adc6 #4 2023-04-17 22:58:22 ~5 min android 🤖apk 📲
✔️ 718adc6 #4 2023-04-17 22:58:27 ~5 min android-e2e 🤖apk 📲
✔️ 718adc6 #4 2023-04-17 22:58:45 ~5 min tests 📄log
✔️ 718adc6 #4 2023-04-17 23:02:23 ~9 min ios 📱ipa 📲

@ulisesmac ulisesmac self-assigned this Apr 14, 2023
Copy link
Member

@flexsurfer flexsurfer left a comment

Choose a reason for hiding this comment

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

nice


(defn handle-backspace
[^js/Object event scroll-view-ref]
(when (= (oops/oget event "nativeEvent.key") "Backspace")
Copy link
Member

Choose a reason for hiding this comment

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

just wondering if there are constants for keys

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not yet, do you find it useful? I could create it if needed.

ATM, I think we can just use strings until they get more common

Copy link
Contributor

@ilmotta ilmotta left a comment

Choose a reason for hiding this comment

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

It's working well in my tests 💯 🚀

src/quo2/components/inputs/search_input/style.cljs Outdated Show resolved Hide resolved
src/quo2/components/inputs/search_input/view.cljs Outdated Show resolved Hide resolved
@ilmotta
Copy link
Contributor

ilmotta commented Apr 17, 2023

The clear icon is not displayed correctly yet.

FYI @ulisesmac, I've logged this issue last week here #15606.

@ulisesmac ulisesmac force-pushed the 15480-new-search-input-component branch from c863c28 to 4e95639 Compare April 17, 2023 22:01
@ulisesmac ulisesmac merged commit 7c10171 into develop Apr 18, 2023
@ulisesmac ulisesmac deleted the 15480-new-search-input-component branch April 18, 2023 00:27
@ulisesmac
Copy link
Contributor Author

Merged without e2e tests since this adds a new component only available in preview screens

alwx pushed a commit that referenced this pull request Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Implement Search Input component
4 participants