Full-text search (#14) #33
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MassiveDynamic/kataba!33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/14-full-text-search"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #14.
What
Guide.searchTextnow holds the plain text of the guide (title, description) and all its steps (titles, step lines, content). It is rebuilt from stored data in every transaction that saves the guide or a step, deletes or reorders steps; the guide row is locked first so concurrent saves can't write stale text.Guide.searchText; the migration backfills existing guides from their steps./searchwith prominent empty states and a link back to all categories.canViewGuide(#7): drafts, internal and deleted guides stay hidden from those who may not see them.Notes
getCurrentUsernow awaitsconnection()beforeauth()(Next flagged prerendering hitting random values on/search).textfield was dropped from rich-text and step-line submissions;Step.searchTextis still written but no longer read.Tests
Unit tests for the search text builder, the query parser and the visibility filter; full suite (236) green, typecheck and lint clean.
🤖 Generated with Claude Code