Repository navigation
Studio: fix permission composer layout and Hub feed icons - #7148
Conversation
There was a problem hiding this comment.
Code Review
This pull request refactors the Composer component in thread.tsx by removing the bypassPermissions state and updating the composerExpanded logic to check if permissionMode is not "off". This ensures the composer remains expanded whenever the permission pill is visible. There are no review comments, so I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
Codex Review: Didn't find any major issues. You're on a roll. 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". |
Summary
Root causes
The composer layout checked
bypassPermissions, which is true only for Full access. The permission pill is also visible for Ask for approval and Approve for me, so those modes incorrectly stayed in the single-row layout.The default Hub feed accepted every latest Unsloth model even when the avatar renderer had no matching provider logo. Those rows fell back to an initial tile instead of a set profile icon.
Impact
The permission selector now consistently uses the two-row composer layout whenever it appears. The default newest Hub list also avoids fallback-icon entries such as LFM while retaining models with registered provider branding.
Validation
npm run buildgit diff origin/main...HEAD --check