Skip to content

Implement saved searches as first-class entities#22

Merged
disnet merged 1 commit intomainfrom
disnet/search-results-view
Jan 15, 2026
Merged

Implement saved searches as first-class entities#22
disnet merged 1 commit intomainfrom
disnet/search-results-view

Conversation

@disnet
Copy link
Owner

@disnet disnet commented Jan 15, 2026

Adds SavedSearch as a first-class entity that can be displayed in the sidebar alongside notes, linked via wikilinks, pinned, and moved between workspaces. When a saved search query is edited, its title automatically updates. The search index is tracked reactively to ensure content matches load correctly after index building completes on app restart.

  • Type definitions: Added SavedSearch type, extended SidebarItemType and ActiveItem
  • State management: Full CRUD functions for saved searches with Automerge persistence
  • Sidebar integration: Saved searches display with 🔍 icon and support context menu actions
  • Wikilink support: Saved searches can be referenced via [[search-id]] syntax
  • UI fixes: Fixed effect dependencies to prevent unintended re-renders and re-syncing of search index state

🤖 Generated with Claude Code

Add SavedSearch type and full CRUD support with sidebar integration, wikilink support, and reactive query synchronization. When a saved search query is edited, its title automatically updates. Search index is tracked to ensure content matches load after index building completes on app restart.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link

Deploying flint-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: d32fb21
Status: ✅  Deploy successful!
Preview URL: https://3ad32cc7.flint-website.pages.dev
Branch Preview URL: https://disnet-search-results-view.flint-website.pages.dev

View logs

@disnet disnet merged commit 7e71d7c into main Jan 15, 2026
4 checks passed
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