mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7574] [MERGED] fix(chat): give Load More and the history buttons a visible focus ring #7805
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#7805
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/7574
Author: @SpicyMarinara
Created: 10/13/2026
Status: ✅ Merged
Merged: 10/13/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/history-pager-focus-contrast📝 Commits (1)
74ce703fix(chat): give Load More and the history buttons a visible focus ring📊 Changes
2 files changed (+37 additions, -0 deletions)
View changed files
📝
e2e/history-pager-widget-style.e2e.ts(+22 -0)📝
packages/client/src/styles/themes/chat-widget-surfaces.css(+15 -0)📄 Description
Linked issue
Closes #7572
Follow-up to #7561 and #7562 (merged).
Why this change
What changed
chat-widget-surfaces.css: two small rules set the chrome focus-ring token on.mari-chat-history-pager. Nothing else reads it differently.e2e/history-pager-widget-style.e2e.ts: the existing spec now also checks the ring colour after keyboard focus: the full accent with the switches off, the preset accent with Apply preset colors on, and the custom border colour. These checks fail on staging (color(srgb 1 0 0 / 0.22)instead of the preset accent).Left for you to decide (not changed here)
Validation
pnpm checkpasses locallyCONTRIBUTING.mdAgent command notes (for the reviewer to confirm; boxes above are left for the human):
pnpm check: exit 0 (one existing lint warning in an unrelated file).pnpm localization:check: passed. No copy changed.node ./scripts/run-regressions.mjs --filter agent-activation: 2/2 passed.node ./scripts/run-regressions.mjs --filter spatial-context: 1/1 passed.node ./scripts/run-regressions.mjs --filter open-issues: 1/1 passed.playwright test e2e/history-pager-widget-style.e2e.ts --project=desktop-chromium --project=mobile-chromium: 4/4 passed. With the CSS change removed, both desktop tests fail on the new focus-ring check.coderabbit review --agent --committed --base-commit 56fd7b6c9): review completed, 0 findings.Manual verification notes
Manual verification needed:
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Before/after screenshots with measured contrast (private page for the maintainer): https://claude.ai/artifact/Qeau74SiAnVDS8tTkztiz2
Taken with the repo's Playwright setup and fixtures, focus moved with Shift+Tab then Tab, desktop 1440 px and phone 390 px. Contrast is the ring against the page right next to it (focus indicators need 3:1):
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.