Skip to content

fix(mobile): replace the composer in archived threads - #966

Merged
nixuuu merged 1 commit into
devfrom
fix/mobile-archived-composer
Nov 18, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/mobile-archived-composer

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 18, 2026

Copy link
Copy Markdown
Member

Archived threads on mobile now show an archive notice and an Unarchive button in the composer slot. Restoring the thread brings the composer back in place. Unarchive with parent uses the existing lifecycle action to restore threads archived with their parent. The conversation history stays visible.

Verification

  • Android emulator with a paired test gateway. In light mode at 450 dp, verified that an archived thread shows its history and restores the composer in place. In dark mode at about 327 dp, verified that Unarchive with parent restores both threads and re-enables sending after typing.
  • Mobile typecheck, focused oxlint, and git diff --check passed. Expo lint passed for the archive card and timeline. ThreadScreen.tsx has the existing set-state-in-effect finding tracked in refactor(mobile): remove unused side thread route parameter #965.
  • All six lifecycle cases passed via bun run check:tmp ./tests/integration/sidebar-lifecycle.test.ts. Repository-wide checks are left to CI.

Copy audit

  • Disabled composer → This thread is archived with one action, Unarchive or Unarchive with parent. The empty-history prompt to send a first message is hidden while the thread is archived.
  • The heading and action labels use existing thread vocabulary, sentence case, and action verbs. The controls have accessible labels and work independently of the icon or color. No errors or glossary terms were added.
  • Reviewed standard and narrow native widths with short and long thread titles. The longer action wraps onto its own row at the narrow width.

Show the archived state and reuse the thread lifecycle action to restore the composer in place, including side threads archived with their parent.
@nixuuu
nixuuu enabled auto-merge (squash) November 18, 2026 13:08
@nixuuu
nixuuu merged commit 22a8cca into dev Nov 18, 2026
15 checks passed
@nixuuu
nixuuu deleted the fix/mobile-archived-composer branch November 18, 2026 13:15
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