Skip to content

Studio: matching Hugeicons permission icons, larger and top-aligned - #15944

Merged
shimmyshimmer merged 3 commits into
mainfrom
studio-permission-icons
Oct 29, 2026
Merged

shimmyshimmer merged 3 commits into
mainfrom
studio-permission-icons

Conversation

@shimmyshimmer

@shimmyshimmer shimmyshimmer commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

What changed

The four permission icons (chat permission menu and Settings > Security) are drawn from one set and sized together.

  • Shields: Approve for me, Run automatically and Full access share Hugeicons' shield outline. Full access is back to Hugeicons shield-alert (Studio: Decision tab loads at once, System and settings polish, main-theme borders restored #15919 had swapped it for Lucide's). Approve for me is Hugeicons shield-check with tick-02 (stroke-rounded) at 55% inside, a touch larger than the stock check. Run automatically is the same shield with Hugeicons sparkle (stroke-rounded) at 55% inside, raised 2% to the shield's visual middle.
  • Ask for approval: Hugeicons hand, shrunk to 94% only in the menu list and Security rows where it sits beside the shields; the composer's permission chip shows it at full size.
  • Size: the icons are about 15% larger: 17px in the chat permission menu (exempted from the menu-wide --ui-icon-size rule by a permission-mode-icon class) and 22px in the Security rows.
  • Alignment: each icon's top now sits on its title's cap line, within a third of a pixel in both places.

shield-check, shield-alert, tick-02, sparkle and hand come from @hugeicons/core-free-icons 4.3.5 (MIT), newer than the 4.1 Studio pins, so they are vendored as path data like the other newer Hugeicons in lib/hugeicons-derived.ts.

Verification

  • npm run typecheck, npm test (14379 pass), npm run build.
  • Local Studio, Playwright: the three shields measure the same (12.9 x 14.4 px in the menu, 16.5 x 18.3 px in Settings); icon tops sit within 0.67 px of the title's ink top in the menu and 0.33 px in Settings.

Not testable here

No Desktop build was run.

shimmyshimmer pushed a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 29, 2026
@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-29T10:48:28.001603Z 0a1d531 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: 0a1d5317d5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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
shimmyshimmer merged commit 548dd8e into main Oct 29, 2026
1 of 43 checks passed
@shimmyshimmer
shimmyshimmer deleted the studio-permission-icons branch October 29, 2026 11:17
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