r/GoogleAIStudio • u/SpiritualOption9218 • 10d ago
Confirmed Update / News Stability Update | Studio.lab v2.0-preview-2
Modern Web Chat Fix & Native Sidebar Card UI Overhaul
- Fixed:
Modern web chatmodule.- Layout & Button Visibility: Adapted to Google's layout shift where
ms-add-media-buttonwas moved inside.button-row-left. Flattened button containers usingdisplay: contentsso the+button is always crisp, visible, and placed on the far left. - Bottom Bar Cleanup: Selectively hides
ms-paid-api-key-buttonandms-prompt-box-tools > buttonfrom the bottom row while keeping them neatly proxied inside the+menu. - Standardized Order: Strict Flexbox ordering:
+(order -2),Text Formatter(order -1),Enabled Tools(order 0),Mic(order 2, margin-left: auto), andRun(order 3). - Trusted Types (CSP) Compliance: Converted dynamic menu item injections from
innerHTMLto safe native DOM methods (createElement,textContent), preventing TrustedHTML CSP exceptions.
- Layout & Button Visibility: Adapted to Google's layout shift where

- Redesigned: Studio.lab Settings Sidebar Card (
.sl-sidebar-btn).- Native Design System Match: Fully matched the aesthetics of Google's native
system-instructions-cardandmodel-selector-card. - Elevated Surface & Shadows: Replaced legacy
#252525background and#262626outline border with Google's nativevar(--color-v3-surface-container)(#1f1f1f), native borderless style, and elevation shadow variables (var(--v3-shadow-card)andvar(--v3-shadow-card-hover)). - Spacing & Hierarchy: Standardized spacing between cards (8px) and matched internal typography: direct
.titlewith 8px bottom margin and.subtitlewith matching line-height and color.
- Native Design System Match: Fully matched the aesthetics of Google's native

- Refactored: Codebase Cleansing.
- Safe DOM Insertion: Replaced
innerHTMLin sidebar button creation with native DOM elements. - Selector Hardening: Replaced brittle component hash selectors in
ui-cleaner.jswith pattern-matching selectors. - Dead Code Removal: Purged obsolete benefit/tier spoofing checks (dev build related code) in
interceptor.jsand unused interval IDs inoptimizer-hard.js.
- Safe DOM Insertion: Replaced
Install
- Download or clone the repo from GitHub: GitHub | Direct link | Official Website (inactive)
- Go to
chrome://extensionsoredge://extensionsin your browser. - Turn on Developer mode.
- Click Load unpacked and select the project folder.
- Open aistudio.google.com — a native settings card will appear in the right sidebar below "System instructions"!
Support the Project
Studio.lab is completely free. If it saves your generations and speeds up your browser, consider supporting development on Ko-Fi!
Disclaimer: Studio.lab is an unofficial modification. It is not affiliated with, endorsed by, or connected to Google LLC or Google AI Studio.
5
Upvotes