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

android: use native search #547

Merged
merged 1 commit into from
Oct 30, 2024
Merged

android: use native search #547

merged 1 commit into from
Oct 30, 2024

Conversation

kari-ts
Copy link
Collaborator

@kari-ts kari-ts commented Oct 23, 2024

-Add dynamic suggestions
-Use search bar with expanded view showing suggestions

Updates tailscale/corp#18973

@kari-ts kari-ts force-pushed the kari/newsearch branch 2 times, most recently from 1db019f to e7972af Compare October 23, 2024 23:42
@kari-ts kari-ts force-pushed the kari/newsearch branch 3 times, most recently from ee0cce5 to bc417f3 Compare October 24, 2024 20:09
@oxtoacart
Copy link
Contributor

Looking now ...

@kari-ts kari-ts requested a review from barnstar October 25, 2024 17:58
@oxtoacart
Copy link
Contributor

On an API level 30 emulated device, the layout jumps a bit when I select the Search bar.

search_recording.webm

@oxtoacart
Copy link
Contributor

Other than the above layout issue, it's working well for me.

Copy link
Member

@barnstar barnstar left a comment

Choose a reason for hiding this comment

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

AndroidTV is a bit borked on low res devices. Everything else works great though.

@kari-ts
Copy link
Collaborator Author

kari-ts commented Oct 28, 2024

I used AnimatedVisibility to make the expansion animation a bit smoother. This keeps the initial search bar in place while expanding the content below it.

@kari-ts kari-ts requested a review from barnstar October 28, 2024 21:10
Copy link
Member

@barnstar barnstar left a comment

Choose a reason for hiding this comment

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

I pulled and built the latest, and the list of nodes is not appearing.

-Add dynamic suggestions
-Use search bar with expanded view showing suggestions
-dpad: only open keyboard when clicked on and not on scroll

Updates tailscale/corp#18973
Fixes tailscale/corp#19231

Signed-off-by: kari-ts <[email protected]>
@kari-ts
Copy link
Collaborator Author

kari-ts commented Oct 29, 2024

fixed! PTAL

@kari-ts kari-ts requested a review from barnstar October 29, 2024 20:59
@kari-ts kari-ts merged commit c7b1362 into main Oct 30, 2024
4 checks passed
@kari-ts kari-ts deleted the kari/newsearch branch October 30, 2024 16:05
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.

4 participants