mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8719] [MERGED] feat(backgrounds): preview and recent backgrounds in the picker #8765
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#8765
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8719
Author: @Gunterlie
Created: 11/3/2026
Status: ✅ Merged
Merged: 11/3/2026
Merged by: @Gunterlie
Base:
staging← Head:feat/background-picker-recents📝 Commits (1)
72ce696feat(backgrounds): big preview and recent backgrounds in the picker📊 Changes
3 files changed (+90 additions, -38 deletions)
View changed files
📝
packages/client/src/components/panels/settings/BackgroundPicker.tsx(+74 -37)📝
packages/client/src/localization/locales/en.json(+1 -0)📝
packages/client/src/stores/ui.store.ts(+15 -1)📄 Description
Why
In Chat Settings the Background section showed a tiny thumbnail and two full-width buttons. Going back to a background you used a minute ago meant opening the whole library and searching again. The maintainer asked for the last 3 backgrounds in the section and a nicer look (mockup approved: big preview + recent row).
No linked issue: planned UI polish requested by the maintainer directly.
What changed
ui.store.ts: newrecentChatBackgrounds(max 4 URLs), filled bysetChatBackground, persisted to localStorage only (not synced), guarded on rehydrate.ui.panels.backgroundpicker.recentinen.json.The card is shared, so the same look shows in Chat Settings, the chat setup wizard and the Settings panel.
Local checks: Prettier, ESLint on changed files, client
tsc --noEmit,localization:check.Manual verification
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.