Skip to content

Scope chat background image into app settings#257

Merged
BunsDev merged 1 commit into
mainfrom
okcode/background-image-scope
Apr 5, 2026
Merged

Scope chat background image into app settings#257
BunsDev merged 1 commit into
mainfrom
okcode/background-image-scope

Conversation

@BunsDev

@BunsDev BunsDev commented Apr 5, 2026

Copy link
Copy Markdown
Member

Summary

  • Move background image URL and opacity into app settings state so they are managed alongside other persisted preferences.
  • Migrate legacy background-image localStorage values on startup and remove the old background image theme-style injection path.
  • Render the chat background image as a scoped fixed layer inside the chat route instead of applying it globally.
  • Update the settings UI to read and write the new app-scoped background settings and reflect them in the dirty-state summary.
  • Add schema coverage for the new defaults and legacy migration behavior.

Testing

  • Not run (requested changes only; no validation commands were executed).
  • Expected checks in this repo: bun fmt, bun lint, bun typecheck.

@vercel

vercel Bot commented Apr 5, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 5, 2026 6:55am
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 5, 2026 6:55am

- move background image persistence into app settings state
- render the image as a chat layout layer with opacity controls
- clean up legacy theme storage and add defaults coverage
@BunsDev BunsDev force-pushed the okcode/background-image-scope branch from 54e3f61 to 4222bb5 Compare April 5, 2026 06:54
@BunsDev BunsDev merged commit 57cbd0e into main Apr 5, 2026
10 of 11 checks passed
@BunsDev BunsDev deleted the okcode/background-image-scope branch April 6, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant