Skip to content

Studio: fix permission composer layout and Hub feed icons - #7148

Merged
shimmyshimmer merged 2 commits into
mainfrom
agent/expand-permission-composer
Jul 15, 2026
Merged

shimmyshimmer merged 2 commits into
mainfrom
agent/expand-permission-composer

Conversation

@shimmyshimmer

@shimmyshimmer shimmyshimmer commented Jul 15, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Keep the Studio chat composer expanded whenever the permission mode pill is visible.
  • Match the Search and Code layout for Ask for approval, Approve for me, and Full access.
  • Filter the default Latest Unsloth Models feed to models with registered provider logos.
  • Leave Hub search, channel, and downloaded views unchanged.

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 build
  • git diff origin/main...HEAD --check
  • Focused provider-logo registry assertion for LFM and visible providers

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@shimmyshimmer
shimmyshimmer marked this pull request as ready for review July 15, 2026 16:12
@shimmyshimmer shimmyshimmer changed the title Studio: expand composer for permission modes Studio: fix permission composer layout and Hub feed icons Jul 15, 2026
@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: 9fd00b6a79

ℹ️ 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 c0b16b9 into main Jul 15, 2026
28 of 40 checks passed
@shimmyshimmer
shimmyshimmer deleted the agent/expand-permission-composer branch July 15, 2026 16:31
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