Skip to content

feat(desktop-gpui): redraw the recording modes panel in the onboarding style - #3522

Merged
richiemcilroy merged 6 commits into
mainfrom
feat/gpui-modes-panel-doodles
Oct 28, 2026
Merged

richiemcilroy merged 6 commits into
mainfrom
feat/gpui-modes-panel-doodles

Conversation

@richiemcilroy

@richiemcilroy richiemcilroy commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

The Recording Modes panel in the main window now uses the onboarding tour's look: one hand-drawn doodle card per mode, plus a detail area with the tagline and features of the hovered or current mode.

Before After (light) After (dark) Hovering Studio
before after light after dark hover

Long mode names (English, Spanish, Japanese) widen their own card instead of truncating:

locales

flowchart LR
    open["open_panel(ModeInfo)"] --> stamp["mode_info_opened_at = now"]
    stamp --> draw["doodles draw in, staggered"]
    stamp --> timer["timer: MODE_INFO_DRAW_DURATION"]
    timer --> still["notify: doodles render still"]
    hover["hover a card"] --> preview["mode_info_preview = Some(mode)"]
    preview --> detail["detail shows that mode"]
    click["click a card"] --> set["set_mode + close_panel"]
Loading
  • Cards: render_mode_info (apps/desktop-gpui/src/main_window.rs:6118) draws three cards with the onboarding doodles (UPLOAD, TRACKS, SNAP), the onboarding palette (onboarding_window::Paper), and 1.5px borders. The current mode gets an accent border. Cards are flex_auto with a no-wrap label, so a long translated name takes a little more width from its neighbours.
  • Detail: the onboarding title, tagline and four features with drawn ticks, for mode_info_preview (the hovered card) or the effective mode. The effective mode gets a "Current" tag.
  • Shared copy: the strings come from the onboarding catalog through mode_detail and mode_doodle (apps/desktop-gpui/src/onboarding_window.rs:187, :801). MODES becomes a static so mode_detail can return &'static references.
  • Frames: doodles animate only for MODE_INFO_DRAW_DURATION after the panel opens (main_window.rs:38, :4372), then render still. An open panel stops requesting frames, and reduce motion skips the animation.
  • Behaviour unchanged: clicking a card still calls set_mode and closes the panel. While the editor is recording, the other modes stay dimmed.
  • Catalogs: the three long main.mode.info.* descriptions are no longer read, so they are removed from all seven locales. main.mode.info.current is added.
  • Harness: CAP_GPUI_AUTO_PANEL=modes opens the panel at launch, like the existing display, camera and recordings values (main_window.rs:1385).

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; no blocking issues remain.

Summary

The PR redraws the recording modes panel with onboarding doodles and shared translated descriptions.

  • Recording mode cards show onboarding-style drawings and matching details.

Reviews (4) · Last reviewed commit: "fix(desktop-gpui): let the latest hover ..." · Reviewed by Greptile

@vercel

vercel Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cap-status Ready Ready Preview Oct 28, 2026 5:41pm UTC

@capy-ai capy-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Capy found no issues.

View 3 other findings in Capy.

Open in Capy

Comment thread apps/desktop-gpui/src/main_window.rs
Comment thread apps/desktop-gpui/src/main_window.rs Outdated
@richiemcilroy

Copy link
Copy Markdown
Member Author

hey @greptileai, please re-review the PR

Comment thread apps/desktop-gpui/src/main_window.rs
@richiemcilroy

Copy link
Copy Markdown
Member Author

hey @greptileai, please re-review the PR

Comment thread apps/desktop-gpui/src/main_window.rs
@richiemcilroy

Copy link
Copy Markdown
Member Author

hey @greptileai, please re-review the PR

@richiemcilroy
richiemcilroy merged commit d257f5f into main Oct 28, 2026
58 checks passed

@capy-ai capy-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Capy found no issues.

Open in Capy

This branch was successfully deployed

2 active deployments
Preview – cap-status — ff2de0af Deployed Oct 28, 2026 by vercel[bot]
Preview – cap-web — ff2de0af Deployed Oct 28, 2026 by vercel[bot]
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