Skip to content

fix: keep draft reply quotes per conversation#1959

Open
Ap4sh wants to merge 1 commit into
session-foundation:devfrom
Ap4sh:fix-draft-reply-quotes
Open

fix: keep draft reply quotes per conversation#1959
Ap4sh wants to merge 1 commit into
session-foundation:devfrom
Ap4sh:fix-draft-reply-quotes

Conversation

@Ap4sh

@Ap4sh Ap4sh commented Jul 1, 2026

Copy link
Copy Markdown

Contributor checklist:

Description

Fixes #535

Draft reply quotes are now stored by conversation, so switching away from a conversation and coming back keeps the draft associated with the message it was replying to

Tests cover keeping separate draft reply quotes for different conversations and clearing only the active conversation's quote

Tested:

  • pnpm ready
  • corepack pnpm build:protobuf
  • corepack pnpm exec prettier --check ts/state/ducks/conversations.ts ts/state/selectors/conversations.ts ts/test/session/unit/selectors/conversations_test.ts
  • corepack pnpm exec eslint ts/state/ducks/conversations.ts ts/state/selectors/conversations.ts ts/test/session/unit/selectors/conversations_test.ts
  • corepack pnpm exec tsc --noEmit --pretty false --project tsconfig.json
  • ./node_modules/.bin/babel dist --out-dir app --extensions .js
  • IS_UNIT_TEST=1 ./node_modules/.bin/mocha --no-config --exit --require jsdom-global/register --require ./dist/ts/test/test-utils/setup.js --timeout 10000 './dist/ts/test/session/unit/selectors/conversations_test.js'

@Ap4sh Ap4sh marked this pull request as ready for review July 1, 2026 20:41
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.

Navigating away from a draft reply message loses the association with the quoted message.

1 participant