[PR #3600] [MERGED] Stabilize Connections text during accent pulse #6013

Closed
opened 2026-10-23 04:06:13 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3600
Author: @SpicyMarinara
Created: 7/14/2026
Status: ✅ Merged
Merged: 7/14/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/3599-stable-editor-pulse


📝 Commits (2)

  • 3863c7f fix(ui): stabilize editor text during accent pulse
  • 88df9c4 style(ui): align accent gradient fallbacks

📊 Changes

4 files changed (+36 additions, -0 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 packages/client/src/App.tsx (+6 -0)
📝 packages/client/src/styles/globals.css (+21 -0)
📝 scripts/regressions/open-issues.regression.ts (+8 -0)

📄 Description

Closes #3599

Why

The accent pulse updates root color variables every 500 ms. Dense editor reading surfaces inherited those live variables even when their text color was visually unchanged, forcing Chromium browsers to rerasterize the Connections form at the pulse cadence. In the reporter's recording this appeared as intermittent text flicker and vertical movement.

What changed

  • Preserve the selected base accent and its gradient separately from the live pulse value.
  • Pin dense editor content to those stable tokens during accent animation.
  • Keep editor headers and explicitly animated accent chrome pulsing normally.
  • Add an open-issue regression for the stable editor token boundary.
  • Document the fix in the v2.2.2 changelog.

Validation

  • Run pnpm regression:issues
  • Run pnpm check
  • Run pnpm smoke:ui
  • Manually verify Connections text remains stable with Accent Pulse enabled in Opera or Edge on Windows.
  • Manually verify header and explicit accent chrome continue changing color during the pulse.

Risk

This changes the paint boundary for animated theme tokens. Automated checks prove the token isolation remains present, the application builds, and the browser smoke suite remains green. The reporter's precise Windows 10 Opera/Edge environment is not available locally, so hardware-specific compositor verification remains manual.

Summary by CodeRabbit

  • Bug Fixes

    • Fixed text flickering and shifting in the Connections editor when accent animations pulse in Chromium.
    • Editor reading areas now maintain a consistent accent while surrounding accent effects continue animating.
  • Tests

    • Added regression coverage to help prevent the issue from recurring.
  • Documentation

    • Updated the unreleased changelog with details of the fix.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/3600 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/14/2026 **Status:** ✅ Merged **Merged:** 7/14/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/3599-stable-editor-pulse` --- ### 📝 Commits (2) - [`3863c7f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3863c7f7e3880c7900c706932ad6da3ac5b63db8) fix(ui): stabilize editor text during accent pulse - [`88df9c4`](https://github.com/Pasta-Devs/Marinara-Engine/commit/88df9c434e1ab29fc0d159a2dfff23219ac5053b) style(ui): align accent gradient fallbacks ### 📊 Changes **4 files changed** (+36 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `packages/client/src/App.tsx` (+6 -0) 📝 `packages/client/src/styles/globals.css` (+21 -0) 📝 `scripts/regressions/open-issues.regression.ts` (+8 -0) </details> ### 📄 Description Closes #3599 ## Why The accent pulse updates root color variables every 500 ms. Dense editor reading surfaces inherited those live variables even when their text color was visually unchanged, forcing Chromium browsers to rerasterize the Connections form at the pulse cadence. In the reporter's recording this appeared as intermittent text flicker and vertical movement. ## What changed - Preserve the selected base accent and its gradient separately from the live pulse value. - Pin dense editor content to those stable tokens during accent animation. - Keep editor headers and explicitly animated accent chrome pulsing normally. - Add an open-issue regression for the stable editor token boundary. - Document the fix in the v2.2.2 changelog. ## Validation - [ ] Run `pnpm regression:issues` - [ ] Run `pnpm check` - [ ] Run `pnpm smoke:ui` - [ ] Manually verify Connections text remains stable with Accent Pulse enabled in Opera or Edge on Windows. - [ ] Manually verify header and explicit accent chrome continue changing color during the pulse. ## Risk This changes the paint boundary for animated theme tokens. Automated checks prove the token isolation remains present, the application builds, and the browser smoke suite remains green. The reporter's precise Windows 10 Opera/Edge environment is not available locally, so hardware-specific compositor verification remains manual. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Fixed text flickering and shifting in the Connections editor when accent animations pulse in Chromium. * Editor reading areas now maintain a consistent accent while surrounding accent effects continue animating. * **Tests** * Added regression coverage to help prevent the issue from recurring. * **Documentation** * Updated the unreleased changelog with details of the fix. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:06:13 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#6013
No description provided.