feat(messaging): quote-reply with inline chip #89
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/quote-reply"
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?
Summary
quote_idreference and renders an inline chip above its body linking back to the original.parent_idandquote_idare mutually exclusive (no quoting from inside a thread, no quoting a thread reply).messages.quote_id(FKON DELETE SET NULL) and a partial index.views::room::build_quote_preview(_bulk)resolves aquote_idto author label + single-line 140-char excerpt; bulk variant issues oneIN-clauseSELECTplus one batched display-names lookup so page and DM renders stay O(1) on quotes.render_new_message,render_edited_message.Test plan
just checkcleanviews::room::testsfor excerpt newline/truncate/no-pre-escape behavior passquote_id🤖 Generated with Claude Code