mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6777] [MERGED] feat: improve panel keyboard access and loading states #7326
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#7326
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/6777
Author: @SirAdoni
Created: 9/27/2026
Status: ✅ Merged
Merged: 9/28/2026
Merged by: @SpicyMarinara
Base:
staging← Head:contrib/6698-panel-usability📝 Commits (10+)
76cb4c5feat: improve panel keyboard access and loading states652327dtest: verify actual settings import keyboard flow774d1f2Merge staging navigation into panel usability contribution7ada97cfix: preserve decorative avatar fallback semantics29d14efMerge staging inventory update into panel contributionc4dfc29Merge commit '3355c32277' into repair/6777324eb55fix(panels): preserve retries and clear search on Escape4e92471test(panels): cover search Escape on mobile browsers00d9a5dtest(panels): assert collapsed sidebar state consistently3a250dbfix(panels): keep Escape within active inline edits📊 Changes
18 files changed (+394 additions, -44 deletions)
View changed files
📝
CHANGELOG.md(+8 -0)➕
e2e/panel-keyboard-import.e2e.ts(+140 -0)➕
packages/client/src/components/characters/AvatarImage.tsx(+36 -0)📝
packages/client/src/components/characters/CardLibraryPreview.tsx(+3 -1)📝
packages/client/src/components/characters/CharacterLibraryView.tsx(+3 -1)📝
packages/client/src/components/layout/ChatSidebar.tsx(+28 -23)📝
packages/client/src/components/layout/RightPanel.tsx(+14 -1)➕
packages/client/src/components/layout/use-panel-keyboard-focus.ts(+77 -0)📝
packages/client/src/components/panels/AgentsPanel.tsx(+1 -0)📝
packages/client/src/components/panels/CharactersPanel.tsx(+1 -0)📝
packages/client/src/components/panels/ConnectionsPanel.tsx(+1 -0)📝
packages/client/src/components/panels/LorebooksPanel.tsx(+1 -0)📝
packages/client/src/components/panels/PersonasPanel.tsx(+6 -2)📝
packages/client/src/components/panels/PresetsPanel.tsx(+1 -0)📝
packages/client/src/components/panels/SettingsPanel.tsx(+17 -14)➕
packages/client/src/components/ui/PanelStates.tsx(+49 -0)📝
packages/client/src/localization/locales/en.json(+2 -0)📝
scripts/regressions/server-signal-shutdown.regression.ts(+6 -2)📄 Description
Linked issue
Closes #6805. Partial implementation of #6698; the umbrella issue remains open.
Why this change
Keyboard navigation and transient loading failures could make library panels close unexpectedly or appear empty.
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdpnpm check; focused browser suite passed seven cases with two intentional desktop-only skips; seven shell smoke cases passed. The native shutdown fixture also passed normally and with an injected nine-second cold start; full pnpm check passed on
fa6f4e70e.Valid hosted findings were fixed, including terminal error handling and Escape behavior. Local follow-up CodeRabbit review hit the shared hourly quota and remains pending; current-head hosted review and GitHub checks remain merge gates.
Manual verification
Manually verify imports, keyboard-only renaming/Escape, slow loading, retry exhaustion and recovery in the affected panels.
Automated browser evidence does not claim physical-device or manual container verification. Human checklist states are preserved.
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedAdded an Unreleased changelog entry. No release metadata or user-facing docs changed.
UI evidence
Browser evidence (download the HTML to view the embedded screenshots). Captions distinguish before/after captures from current feature screenshots.
Summary by CodeRabbit
Current review evidence
Published
56b3e3169also fixes Escape from a nested action inside an expanded folder header. Its retained browser assertion failed before the two-line selector fix. Full pnpm check, the focused three-browser panel suite (7 passed, 2 intentional mobile skips), and seven shell smoke cases passed. Both combined local CodeRabbit reviews covered this fix; no follow-up finding remains in this PR. Current-head hosted review and CI remain merge gates.Published
49e5c6210merges staging982cbb901. The only manual conflict resolution retained both changelog blocks. All 15 feature-only files and 27 incoming staging-only files are unchanged from their respective parents; shared ChatSidebar and English catalog match the automatic merge. Fresh pnpm check and ten focused panel/sidebar plus smoke browser cases pass.Local build and container verification
Tested commit:
7d9a1d068c. Full local pnpm check passed. The full Docker image built successfully and ran with synthetic data; HTTP readiness and embedded build commit were verified. These results do not claim completion of the remaining manual and UI edge-case checklist.Interactive browser walkthroughs of the feature were completed against the running production container using synthetic fixtures, supported by focused automated browser checks. This was agent-operated browser interaction, not physical-device testing. The broader theme, empty-state and error-path checklist remains separate.
Completed UI verification
At
7d9a1d068c, focused browser checks passed 9/9 across desktop Chromium, mobile Chromium and mobile WebKit, including empty-folder Escape/F2 behavior, import keyboard reachability and retry after a synthetic HTTP 503. Supplemental light desktop and dark 390px-wide views passed and were inspected, with no horizontal document overflow. Production-container interaction was also verified. These were agent-operated synthetic browser checks; no physical-keyboard, physical-device or real-provider testing is claimed.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.