Skip to content

Confine Windows glass wallpaper blur to the inner page pane - #16671

Merged
shimmyshimmer merged 1 commit into
unslothai:mainfrom
Imagineer99:fix/windows-page-wallpaper-blur
Nov 4, 2026
Merged

shimmyshimmer merged 1 commit into
unslothai:mainfrom
Imagineer99:fix/windows-page-wallpaper-blur

Conversation

@Imagineer99

Copy link
Copy Markdown
Member

On Windows with glass and a wallpaper, blur the wallpaper inside non-chat pages. Anchor the blur to the sidebar edge and start it below the caption. Collapsing the sidebar lets the blur extend to the left edge. The sidebar and window controls keep the same wallpaper treatment as New chat.

Windows before and after

Top is upstream 047030f4ca. Bottom is the proposed fa6e4d826c. Both are production frontends captured in an isolated native Tauri window using Windows WebView2, Transparent glass, a striped test wallpaper, and synthetic backend data.

Detail at the sidebar and title bar

Images page, full window

Video comparison · Train comparison · Collapsed sidebar comparison · Full-resolution originals

In the after captures, sampled sidebar and caption regions on all three pages match New chat pixel for pixel. In the same interior wallpaper patch on Images, green-channel variation fell from 7.32 to 0.68. The blur begins 34 CSS pixels below the window top in both sidebar states.

Both production builds succeeded. The frontend type check and all 22 window-material tests passed.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-04T14:52:51.245681Z
We couldn’t complete this review. Comment @codex review to try again.
fa6e4d8 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@shimmyshimmer
shimmyshimmer merged commit b43a0df into unslothai:main Nov 4, 2026
danielhanchen added a commit that referenced this pull request Nov 4, 2026
…ompts in every locale (#16677)

## Summary

`Frontend build + bundle sanity` runs `npm run i18n:check:strict`, and
that step fails on main for every PR. For example #16671, which only
touches the glass wallpaper:

```
=== nl ===
Missing keys (will fall back to en): 9
  - browser.agent.step.tabs
  - browser.agent.step.readFile
  - browser.agent.step.editFile
  - browser.askBeforeProgramDownloadsSetting
  - browser.askBeforeProgramDownloadsSettingDescription
  - browser.downloadSiteAllowAll
  - browser.downloadPrompt.once
  - browser.downloadPrompt.site
  - browser.downloadPrompt.all
Missing keys above. Add them to every overlay, or run without --strict to accept the English fallback.
```

The same 9 keys are missing from all 24 overlays. Two PRs added them to
`en.ts` only:

- #16644 (`71c643e02a`) added the browser agent's `tabs`, `readFile` and
`editFile` steps.
- #16658 (`eec7711a42`) added the program download setting, "Allow
programs too", and the three `downloadPrompt` choices.

Both features are fine. They only skipped the overlay step the strict
gate asks for, so non-English users currently see these strings in
English.

## Change

`studio/frontend/src/i18n/locales/*.ts`, every overlay except `en.ts`.
Each one gets the 9 keys, placed where `en.ts` has them:

- the three agent steps after `drag` in `browser.agent.step`;
- the two program download settings after
`askBeforeDownloadingSettingDescription`;
- `downloadSiteAllowAll` after `downloadSiteAllow`;
- `once`, `site` and `all` after `remember` in `browser.downloadPrompt`.

The wording follows each locale's existing neighbours. Agent steps use
the same form as that locale's other steps, for example "Zieht" / "Liest
die Datei" in German, "Arrastrando" / "Leyendo el archivo" in Spanish,
and "正在拖动" / "正在读取文件" in Simplified Chinese. The download strings reuse
that locale's terms for "download", "always allow" and "site". `{host}`
is kept in every `site` string. `es-419` uses the same text as `es`. No
English string and no other key changes.

## Testing

- `npm run i18n:check:strict`: main fails with 9 missing keys in each of
the 24 overlays. This branch passes, `Missing keys (will fall back to
en): 0` for every locale, "All locale overlays pass parity."
- Removing `browser.downloadPrompt.site` from `nl.ts` again makes the
strict check fail and name that key, so the gate still catches a missing
key.
- `tests/lazy-locale-loading.test.ts` and
`tests/locale-detection.test.ts`: 35 passed.
- `tsc --noEmit -p tsconfig.app.json` reports nothing in `src/i18n`.
danielhanchen added a commit to Imagineer99/unsloth that referenced this pull request Nov 5, 2026
…s off the thread

Light Glass welcome rules (unslothai#16751) read the data-chat-welcome root flag, and the
Windows page blur rule (unslothai#16671) uses the child path to the pinned sidebar container.
The guard now also covers data-windows-wallpaper-page, which holds the hidden chat.

[skip ci]
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.

2 participants