Skip to content

fix(threads): show saved permissions in hover cards - #921

Merged
nixuuu merged 1 commit into
devfrom
fix/thread-hover-access-permission
Nov 17, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/thread-hover-access-permission

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 17, 2026

Copy link
Copy Markdown
Member

A thread hover card could show “Accept edits” after the user sent a turn with “Full access”. The card read the thread default while the composer restored the last user turn’s choice.

Use the shared composer choice resolver for the permission label, icon and colour, falling back to the thread default when there is no user turn. This uses existing overview metadata without loading history. Updated docs/threads.md, including its status line.

Fixes: #418

Validation

  • Passed: web package typecheck, lint and formatting of the edited Svelte file, and git diff --check.
  • Inspected the actual card in Chromium at desktop and phone widths, in light and dark themes. Checked Full access, Full auto, Read only and the thread-default fallback, including a long thread title. No horizontal overflow or browser errors in the completed verification.
  • Full repository verification remains with CI; no UI test suite was added.

Copy audit (§8)

Before → after: the existing permission label could show the thread default → it shows the saved user choice with its matching icon and colour. Existing English labels and glossary terms are reused; no new instructions, errors, buttons, confirmations or empty states. Text carries the meaning independently of colour and icon. Desktop and phone layouts checked, including long text. All applicable items pass.

Resolve the hover permission label, icon and tone from the last user turn choices, falling back to the thread default.

Fixes: #418
@nixuuu
nixuuu enabled auto-merge (squash) November 17, 2026 09:16
@nixuuu
nixuuu merged commit a5d7a31 into dev Nov 17, 2026
15 checks passed
@nixuuu
nixuuu deleted the fix/thread-hover-access-permission branch November 17, 2026 09:23
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