Repository navigation
Studio: shorter permission menu, Learn more, calmer Full access - #12630
Merged
Merged
Conversation
Shorter one-line level descriptions with a Learn more link to Settings. Settings explains only the selected level. Full access gets a short confirmation, a shield alert icon and no yellow. Open composer pills keep their hover fill.
Member
Author
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Member
Author
|
@codex review |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
shimmyshimmer
pushed a commit
to shimmyshimmer/unsloth-staging-4
that referenced
this pull request
Oct 3, 2026
unslothai#12630 also dropped data-variant="danger" from the composer pill on purpose (calmer Full access), so the next line of the permission step failed once the dialog lookup was fixed. expect_mode already checks the pill reads Full access. The fast guard now also pins every attribute the step reads off the pill to one the pill renders.
danielhanchen
added a commit
that referenced
this pull request
Oct 3, 2026
…rding (#12640) * Find the Full access consent dialog by its slots, not its wording #12630 reworded the Full access consent dialog (Enable Full access? became Turn on Full access?, I understand became Turn on). The consent flow did not change, but the Chat UI permission step looked the heading and the confirm button up by their old English names, so Chat UI Tests went red on main. The step now reaches the title, Cancel and confirm through the data-slot attributes the shared AlertDialog parts render, and still checks that the title names Full access and the body warns about the sandbox. A fast-shard test pins both halves: the step names no dialog copy, and the dialog is still built from the parts those slots come from. * Stop asserting the Full access pill's removed danger variant #12630 also dropped data-variant="danger" from the composer pill on purpose (calmer Full access), so the next line of the permission step failed once the dialog lookup was fixed. expect_mode already checks the pill reads Full access. The fast guard now also pins every attribute the step reads off the pill to one the pill renders.
This was referenced Oct 3, 2026
JoshuaL3000
pushed a commit
to JoshuaL3000/unsloth
that referenced
this pull request
Oct 4, 2026
…othai#12630) * Studio: shorter permission menu, Learn more, calmer Full access Shorter one-line level descriptions with a Learn more link to Settings. Settings explains only the selected level. Full access gets a short confirmation, a shield alert icon and no yellow. Open composer pills keep their hover fill. * Studio: roomier Full access list, no focus border on Cancel at open * Studio: slightly wider Full access dialog, borderless Cancel * Hide composer pill focus ring after a click * Permission menu: Learn more in dictation, Settings focus return, localized level names
JoshuaL3000
pushed a commit
to JoshuaL3000/unsloth
that referenced
this pull request
Oct 4, 2026
…rding (unslothai#12640) * Find the Full access consent dialog by its slots, not its wording unslothai#12630 reworded the Full access consent dialog (Enable Full access? became Turn on Full access?, I understand became Turn on). The consent flow did not change, but the Chat UI permission step looked the heading and the confirm button up by their old English names, so Chat UI Tests went red on main. The step now reaches the title, Cancel and confirm through the data-slot attributes the shared AlertDialog parts render, and still checks that the title names Full access and the body warns about the sandbox. A fast-shard test pins both halves: the step names no dialog copy, and the dialog is still built from the parts those slots come from. * Stop asserting the Full access pill's removed danger variant unslothai#12630 also dropped data-variant="danger" from the composer pill on purpose (calmer Full access), so the next line of the permission step failed once the dialog lookup was fixed. expect_mode already checks the pill reads Full access. The fast guard now also pins every attribute the step reads off the pill to one the pill renders.
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.
Summary
The tool call permission menu is shorter and easier to scan, with a Learn more link to a fuller explanation in Settings. Full access no longer stands out in yellow, and turning it on asks through a short confirmation that lists what it opens up.
Changes
Permission menu (composer pill, chat settings sheet, the "+" menu while dictating)
@hugeicons/core-free-icons(4.1.1) predates it, so the path data is inlined insrc/lib/shield-alert-icon.tsx, likesparkles-icon.tsx.Full access styling
data-variant="danger"pill rules are removed.Full access confirmation
FullAccessConfirmContent) serves both dialogs that ask for it.Settings > Permissions
settings.general.permissions.names.*anddetails.*). The unusedbypassLabelandbypassDescriptionkeys are removed.general-permissionsscroll target for Learn more.Composer pills
:focus-visible. Newsrc/lib/input-modality.tsrecords whether the last input was a pointer or the keyboard on<html data-input-modality>, and the ring is hidden after pointer input. Tabbing to a pill still shows it.Testing
npm test,npm run i18n:check:strict,npm run buildand the bundle budget pass.tests/composer-pill-pointer-focus.test.tscovers the modality tracker and the pill focus rules.tests/permission-mode-learn-more.test.tscovers the Learn more target, the Settings row, the description length, the confirmation and the absence of yellow. The stubs intests/account-permissions.test.tscover the new imports.