-
Notifications
You must be signed in to change notification settings - Fork 52
feat(search): IndexedDB-backed persistent search index for all rooms #881
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
Closed
Just-Insane
wants to merge
25
commits into
SableClient:dev
from
Just-Insane:feat/encrypted-search-idb
Closed
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
00d8b00
feat(search): in-memory search for encrypted rooms
Just-Insane 2230714
feat(search): experimental toggle and lock icon for encrypted room se…
Just-Insane 0472f32
feat(search): show search button in encrypted room headers
Just-Insane 1d9ed75
fix(search): hide search icon in encrypted rooms unless feature is en…
Just-Insane cb3557a
feat(search): fix DM rooms, Discord-style has:/from: filters
Just-Insane 6a73846
feat: DM search page and has: filters work without text term
Just-Insane 7cceb35
fix(search): fix DM route, results label, nav style; add member picke…
Just-Insane f8294ca
feat(search): scope member picker to search context; add avatars and …
Just-Insane 182fdbd
fix(search): fix DM NavLink blue text; extend has: in-memory search t…
Just-Insane 09e362f
fix(search): scope has: scan and room picker to context; add global t…
Just-Insane 1843f9e
perf(avatar): share SVG blob cache between room and user avatars
Just-Insane 3e53cd8
feat(search): add > prefix for message search in quick-switcher
Just-Insane e175441
feat(search): Phase 2 IDB-backed search index for encrypted rooms
Just-Insane a575e52
chore: add changeset
Just-Insane 27f87ec
style: apply oxfmt formatting
Just-Insane 544658d
feat(search): extend IDB index to all rooms; chip filters for unencry…
Just-Insane 282e483
fix(search): limit backfill concurrency and yield to main sync
Just-Insane 2dcc47c
fix(search): resolve image/media results via live room cache
Just-Insane 92b9073
feat(search): store media content in IDB for full-history image/file …
Just-Insane caf37af
fix(search): restore backfill speed — unlimited concurrency where req…
Just-Insane a806f73
fix(encrypted-search-idb): lint/type fixes across message-search and …
Just-Insane bc202f0
fix(search): enqueue rooms added after initial backfill start\n\nSlid…
Just-Insane f63a3ed
style: fix formatting
Just-Insane d1a953f
fix(settings-sync): exclude searchIndexMessageLimit from cross-device…
Just-Insane c77280a
fix: address copilot review comments on feat/encrypted-search-idb
Just-Insane File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| default: minor | ||
| --- | ||
|
|
||
| Add IndexedDB-backed persistent search index for all rooms via a MiniSearch web worker with multi-tab write safety and LRU eviction. Note: indexed message text is stored unencrypted in IndexedDB. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -44,5 +44,9 @@ | |
| "hashRouter": { | ||
| "enabled": false, | ||
| "basename": "/" | ||
| }, | ||
|
|
||
| "features": { | ||
| "encryptedSearch": true | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.