Skip to content

Add translucent sidebar and Command Code hook support#177

Merged
SDSLeon merged 3 commits into
masterfrom
lightcode/royal-otter-5c6819fa
Jun 15, 2026
Merged

Add translucent sidebar and Command Code hook support#177
SDSLeon merged 3 commits into
masterfrom
lightcode/royal-otter-5c6819fa

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Jun 14, 2026

Copy link
Copy Markdown
Owner
  • Type: Feature
  • Add an opt-in translucent sidebar end-to-end, covering shared settings, appearance controls, renderer chrome, and native window startup so the app can open with the right material from the first paint.
  • Keep native blur/material behavior and the opaque fallback aligned across the main process, IPC, and renderer, including reduced-transparency handling and platform checks.
  • Add Command Code lifecycle hook plugin support with packaging, install flow, env forwarding, and session-status plumbing so hook events can drive sidebar state reliably.
  • Refresh Command Code terminal-status heuristics and broaden test coverage around settings, window creation, plugin install, intent mapping, and thread/session transitions.

- Thread `sidebarTranslucency` through shared settings, IPC, and window chrome schemas.
- Apply native material in the main process and pre-paint the renderer to avoid opaque flashes.
- Update appearance controls, sidebar shell styling, and related tests.
@vercel

vercel Bot commented Jun 14, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
lightcode-landing Skipped Skipped Jun 15, 2026 9:56am

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 60599dea22

ℹ️ 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".

Comment thread src/main/window/createMainWindow.ts Outdated
minWidth: 540,
minHeight: 720,
backgroundColor,
backgroundColor: useNativeMaterial ? "#00000000" : backgroundColor,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Make native-material windows transparent

When the saved translucent-sidebar setting is enabled, this relies on #00000000 exposing the OS material after the renderer clears the shell/sidebar backgrounds. Electron only honors alpha in backgroundColor for BrowserWindows created with transparent: true, and transparency is a construction-time property, but this window is never created transparent; users who launch with the setting on can therefore get an opaque window fill instead of the native blur.

Useful? React with 👍 / 👎.

- Create glass-capable windows at startup, live-toggle Windows acrylic, and keep native theme in sync.
- Gate renderer translucency on content readiness and add glass tint CSS for the sidebar/overlay shells.
- Update browser and overlay surfaces to use `--content-background`.
- Add `relaunchApp` IPC for macOS glass toggles that require a restart.
@SDSLeon SDSLeon merged commit bf0b933 into master Jun 15, 2026
6 checks passed
@SDSLeon SDSLeon deleted the lightcode/royal-otter-5c6819fa branch June 15, 2026 10:14
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