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

mobile: channel search #3397

Merged
merged 36 commits into from
Apr 9, 2024
Merged

mobile: channel search #3397

merged 36 commits into from
Apr 9, 2024

Conversation

latter-bolden
Copy link
Member

@latter-bolden latter-bolden commented Apr 5, 2024

search.mp4

Should cover everything from the Figma spec except in message search query highlighting and stitching local/remote results together (remote only right now). The former should just be done and I'll file an issue. For the latter, we'll probably want to hold off until we have a better idea of how the local cache will work. Getting a good UX there with consistent ordering might be tricky.

Still getting sporadic errors/warnings I'm trying to track down and want to include a few tests. Added basic fixtures for a generic input, but didn't have time to take a real stab at building out a reusable Ochre lego.

Fixes LAND-1736

Copy link

linear bot commented Apr 5, 2024

Copy link
Contributor

@dnbrwstr dnbrwstr left a comment

Choose a reason for hiding this comment

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

Some initial comments, looking good.

packages/shared/src/api/channelsApi.ts Outdated Show resolved Hide resolved
packages/ui/src/core/index.ts Outdated Show resolved Hide resolved
packages/shared/src/logic/utils.ts Outdated Show resolved Hide resolved
packages/ui/src/components/ChannelSearch/SearchResult.tsx Outdated Show resolved Hide resolved
packages/ui/src/components/LoadingSpinner.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@dnbrwstr dnbrwstr left a comment

Choose a reason for hiding this comment

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

Looking good overall! A few nitpicks.

apps/tlon-mobile/src/screens/ChannelSearchScreen.tsx Outdated Show resolved Hide resolved
packages/shared/src/api/channelsApi.ts Outdated Show resolved Hide resolved
packages/ui/package.json Show resolved Hide resolved
packages/ui/src/components/LoadingSpinner.tsx Outdated Show resolved Hide resolved
packages/ui/src/components/ChannelSearch/SearchResults.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@dnbrwstr dnbrwstr left a comment

Choose a reason for hiding this comment

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

Nice! looks good, pending the contact bits we discussed.

@latter-bolden latter-bolden merged commit 071aa35 into develop Apr 9, 2024
1 check passed
@latter-bolden latter-bolden deleted the lb/native-channel-search branch April 9, 2024 21:02
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