Skip to content

fix(ui): consolidate shimmer gradients, prune decorative, use paper tokens - #188

Merged
lidge-jun merged 6 commits into
devfrom
codex/ui-polish-wp5-gradient-budget
Aug 31, 2026
Merged

fix(ui): consolidate shimmer gradients, prune decorative, use paper tokens#188
lidge-jun merged 6 commits into
devfrom
codex/ui-polish-wp5-gradient-budget

Conversation

@lidge-jun

Copy link
Copy Markdown
Owner

Summary

Gradient count reduced from 48 to 40 through shimmer consolidation,
decorative pruning, and paper token migration.

Shimmer consolidation (state 11 → 6)

New --skeleton-shimmer token in :root with the shared 90deg 3-stop
pattern. Six inline shimmers replaced with var(--skeleton-shimmer) in
node-workspace, right-panel, sidebar-history, progress-composer.

Decorative pruning (17 → 14)

  • .settings-workspace: removed radial+linear gradients that impair form
    control contrast at D5 density; replaced with var(--bg)
  • .canvas__blank-sheet in right-panel.css: removed dead background
    declaration (viewer-workflow.css wins by source order)

Paper token migration

viewer-workflow.css: #ffffff/#f8fafcvar(--paper)/var(--paper-edge)

Final counts

Category Count
functional 18
state 6
scrim 2
decorative 14
total 40

Tests

  • 5-assertion gradient manifest contract test
  • Full suite: 2712 pass / 0 fail / 2 skipped

…e paper tokens

--skeleton-shimmer token added to :root with the shared 90deg 3-stop
pattern. Six inline shimmers replaced with var(--skeleton-shimmer) in
node-workspace, right-panel, sidebar-history, and progress-composer.

.settings-workspace: removed decorative radial+linear gradients that
impair form control contrast at D5 density; replaced with var(--bg).

.canvas__blank-sheet in right-panel.css: removed dead background
declaration (viewer-workflow.css wins by source order); structural
properties (dimensions, border, box-shadow) preserved.

viewer-workflow.css: #ffffff/#f8fafc replaced with var(--paper)/
var(--paper-edge) tokens defined by wp4.

Gradient count: 48 → 40 (functional 18, state 6, scrim 2, decorative 14).
5 assertions: exhaustive 40-entry manifest (functional 18 / state 6 /
scrim 2 / decorative 14), category totals, --skeleton-shimmer 1 def +
6 refs, .canvas__blank-sheet background in one file only, per-file
decorative cap at 3.
@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: c3d4f8db-59e7-4f31-9173-c07a126e9429

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-31T10:11:55.350616Z 2891a87 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2891a87ead

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@@ -0,0 +1,132 @@
import { describe, it } from "node:test";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Regenerate the test inventory for the new contract

Adding this test changes the input enumerated by scripts/classify-tests.mjs, but the generated docs/migration/runtime-test-inventory.md was not updated. Running the required npm run test:inventory check now exits with docs/migration/runtime-test-inventory.md is stale, so verify:release:source stops before the UI build and test suite on every release attempt. Regenerate and commit the inventory alongside this test.

AGENTS.md reference: AGENTS.md:L89-L95

Useful? React with 👍 / 👎.

F1: Pin shimmer consumer files explicitly (4 files, 6 refs).
F2: Live browser probe confirms .settings-workspace renders
bgColor=rgb(11,11,15) (var(--bg)), bgImage=none — no gradients.
F3: blank-sheet check broadened to catch background-image.
Original sections claimed per-declaration exhaustive manifest but
implementation uses file-level counting. Rewritten to honestly describe
the file-level approach and defer settings render to wp7.
@lidge-jun
lidge-jun merged commit 8df680e into dev Aug 31, 2026
3 of 4 checks passed
@lidge-jun
lidge-jun deleted the codex/ui-polish-wp5-gradient-budget branch August 31, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant