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

Tweak the SearchScreen with empty search results #677

Merged
merged 6 commits into from
Apr 25, 2023

Conversation

thagikura
Copy link
Contributor

@thagikura thagikura commented Apr 21, 2023

Tweak the SearchScreen with empty search results.

  • Display the recent searches
  • Tweak the styles to match the UI mock
  • Use Text for each row in recent searches so that ripple effect is applied when it's clicked
  • Add missing useFilterNewsIds argument to search for the NewsResources.

Also add SearchNotReadyBody that is displayed before the *Fts tables are populated which is triggered by WorkManager

Screenshot:

Search result is empty:

Search is not ready (*Fts tables hasn't been populated)

- Display the recent searches
- Tweak the styles to match the UI mock

Add missing useFilterNewsIds argument to search for the NewsResources.
@thagikura thagikura changed the title Fix the argument to search for the newsResources from NewsResourcesDao Tweak the SearchScreen with empty search results. Apr 21, 2023
@thagikura thagikura changed the title Tweak the SearchScreen with empty search results. Tweak the SearchScreen with empty search results Apr 21, 2023
That is displayed when *Fts tables are not populated
Copy link
Contributor

@mmoczkowski mmoczkowski left a comment

Choose a reason for hiding this comment

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

LGTM, just a bunch of minor remarks

@thagikura thagikura merged commit 6dc8c2d into thagikura/search Apr 25, 2023
thagikura added a commit that referenced this pull request Apr 25, 2023
Tweak the SearchScreen with empty search results.

- Display the recent searches
- Tweak the styles to match the UI mock
- Use Text for each row in recent searches so that ripple effect is applied when it's clicked
- Add missing useFilterNewsIds argument to search for the NewsResources.


Also add SearchNotReadyBody that is displayed before the *Fts tables are populated which is triggered by WorkManager
@keyboardsurfer keyboardsurfer deleted the fix_news_resource_query branch September 23, 2024 11:20
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