Search index hard-code letter_id: None in crates/web/src/app.rs indexer effect. in:#letter / SearchScope::ThisLetter operator never match anything that lives inside a letter.
Sibling issue #355 fix has_image / has_file. Letter id park here — need new active-letter Leptos signal piped into indexer effect, plus letter-context detection on DisplayMessage (no letter_id field on it today).
Fix:
- Add active-letter signal on
AppState (or read from existing letter focus state)
- Pass into indexer effect in
app.rs
- Pass through
IndexableMessage::from_display_message(..., letter_id) (already param)
- Verify
SearchScope::ThisLetter(id) + in:#letter:NAME match real msgs
Touch app-state shape so park behind own issue.
Refs #355
Search index hard-code
letter_id: Noneincrates/web/src/app.rsindexer effect.in:#letter/SearchScope::ThisLetteroperator never match anything that lives inside a letter.Sibling issue #355 fix
has_image/has_file. Letter id park here — need new active-letter Leptos signal piped into indexer effect, plus letter-context detection onDisplayMessage(noletter_idfield on it today).Fix:
AppState(or read from existing letter focus state)app.rsIndexableMessage::from_display_message(..., letter_id)(already param)SearchScope::ThisLetter(id)+in:#letter:NAMEmatch real msgsTouch app-state shape so park behind own issue.
Refs #355