mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8903] [MERGED] perf(client): stop accent ticks from freezing desktop pages #8872
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#8872
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/8903
Author: @Gunterlie
Created: 11/6/2026
Status: ✅ Merged
Merged: 11/6/2026
Merged by: @Gunterlie
Base:
staging← Head:perf/feel-1-freezes📝 Commits (3)
1982d86perf(client): stop accent ticks from freezing desktop pagesf8dc497fix(client): keep size transitions and surface accent tokens under accent animation69cea6bfix(client): clear surface accent tokens when the custom accent is emptied during animation📊 Changes
4 files changed (+30 additions, -34 deletions)
View changed files
📝
packages/client/src/App.tsx(+16 -20)📝
packages/client/src/components/chat/ConversationMessage.tsx(+3 -3)📝
packages/client/src/components/chat/ConversationView.tsx(+3 -3)📝
packages/client/src/styles/globals.css(+8 -8)📄 Description
Why
Desktop users get Accent Pulse by default since #6029. The CSS rule that stops colour transitions from restarting on every accent tick ran only on coarse pointers (phones). On desktop, every 500 ms tick started about 2,800 colour transitions when the Characters panel was open (91 rows × action buttons and badges). The main thread never went idle: about 600 ms of style work per second, long tasks up to 880 ms, and at 4× CPU throttle the page did not respond to clicks at all.
This is the first PR of the "engine feels fast" series (one branch per step, landed in order). kolacheee found the freeze on
ui/kolacheee(a9c6b2da0a) — thank you.Part of #8904.
What changed
ConversationViewpassesonPeekPromptto message rows as a stable callback, so the rowmemoholds when the view renders.Measurements
dev-marinara, 3,000 cards, 1,000-message chats, Chromium via CDP. Numbers below come from
Performance.getMetricsand long-task observers.Before/after table follows in a comment once the after run finishes.
Manual verification
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.