Skip to content

feat: Add Full-Text Search (FTS) setup and search functionality #166

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

morristech
Copy link

  • Introduced FtsSetup.kt for configuring FTS5 with PowerSync, including SQL generation for virtual tables and triggers.
  • Added SearchScreen.kt for user interface to perform searches on lists and todos.
  • Implemented SearchViewModel.kt to manage search logic and state, utilizing FTS for efficient querying.
  • Created SearchResult.kt to represent unified search results for lists and todos.
  • Added SearchResultItem composable for displaying search results.
  • Introduced SearchViewModel to manage search state and results.
  • Updated App.kt to integrate search results into the TodosScreen.

- Introduced FtsSetup.kt for configuring FTS5 with PowerSync, including SQL generation for virtual tables and triggers.
- Added SearchScreen.kt for user interface to perform searches on lists and todos.
- Implemented SearchViewModel.kt to manage search logic and state, utilizing FTS for efficient querying.
- Created SearchResult.kt to represent unified search results for lists and todos.
- Changed internalName property in Table.kt to public for better access.
- Updated NavController to manage back navigation and prevent duplicate screen entries.
- Integrated SearchViewModel to handle search queries and results.
- Added SearchScreen for user interaction with search functionality.
- Enhanced HomeScreen with a search button to navigate to the SearchScreen.
- Implemented FTS setup for lists and todos, allowing efficient search capabilities.
- Added SearchResultItem composable for displaying search results.
- Introduced SearchViewModel to manage search state and results.
- Updated App.kt to integrate search results into the TodosScreen.
- Refactored SearchScreen to utilize new SearchResultItem and handle search result clicks.
- Removed deprecated SearchResult.kt file and consolidated search result logic.
@morristech morristech changed the title Add Full-Text Search (FTS) setup and search functionality feat: Add Full-Text Search (FTS) setup and search functionality Apr 9, 2025
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.

1 participant