Repository navigation
fix(threads): show saved permissions in hover cards - #921
Merged
Merged
Conversation
Resolve the hover permission label, icon and tone from the last user turn choices, falling back to the thread default. Fixes: #418
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
git diff --check.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.