Skip to content

refactor(styles/app.css): remove unused doc feedback block styles - #1624

Merged
tannerlinsley merged 1 commit into
mainfrom
refactor/remove-unused-doc-feedback-block-css
Nov 23, 2026
Merged

tannerlinsley merged 1 commit into
mainfrom
refactor/remove-unused-doc-feedback-block-css

Conversation

@sukvvon

@sukvvon sukvvon commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Summary

Removes the "Doc Feedback Styles" block from src/styles/app.css (.doc-feedback-block, .doc-feedback-block-highlighted and its dark variant). The only component that applied these classes, BlockWithFeedback, was removed in #1568. The doc feedback UI that remains uses .doc-feedback-floating-btn, which isn't part of this block.

Verification

  • No code applies doc-feedback-block or doc-feedback-block-highlighted.
  • Locally, a docs page renders normally with no elements using those classes, no remaining matching CSS rules, and no console errors.

Summary by CodeRabbit

  • Style
    • Removed styling for document-feedback highlighting, tabbed code blocks and content, sandbox colors, and builder loading-state visibility. These areas may appear differently in the interface.
    • Removed the Chopen SemiBold font declaration, which may affect text appearance where that font was used.

@sukvvon sukvvon self-assigned this Nov 23, 2026
@changeset-bot

changeset-bot Bot commented Nov 23, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: f0e122b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The stylesheet removes rules for document-feedback highlighting, code-block tabs and content, TanStack Devtools, sandbox colors, and builder loading-state visibility. It also removes the Chopen SemiBold font-face declaration.

Changes: Stylesheet changes

Layer / File(s) Summary
Remove CSS rules
src/styles/app.css
Removes document-feedback, code-block, TanStack Devtools, sandbox color, and builder loading-state rules, plus the Chopen SemiBold font-face declaration.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Refactor

Suggested reviewers: tannerlinsley

Merge Risk: Minimal · up to f0e12

This change deletes unused styles for a removed feedback component. It does not touch the remaining feedback button, code tabs, fonts or builder styles, so there is no expected user-visible impact and it is ready to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: removing unused doc feedback block styles from src/styles/app.css. The raw summary confirms that the diff deletes the document-feedback highlighting rules, and the PR …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: removing unused doc feedback block styles from src/styles/app.css. The raw summary confirms that the diff deletes the document-feedback highlighting rules, and the PR objectives confirm that the removed classes are .doc-feedback-block and its highlighted and dark variants. The conventional-commit prefix 'refactor' fits a deletion of unused CSS. The title is specific and does not mention other removed items, such as the tabbed code block rules, sandbox variables, and the Chopen font-face, which is expected for a title.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4066f83f-b2cf-4acd-8577-074f992de231
Commits

Reviewing files that changed from the base of the PR and between 77e721b and f0e122b.

Files selected for processing: 1

  • src/styles/app.css
Files with no reviewable changes: 1

  • src/styles/app.css

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

@github-actions

Copy link
Copy Markdown
Asset Main PR merge build Change
JavaScript 19580.04 KiB 19580.04 KiB 0.00 KiB (0.00%)
JavaScript (gzip) 6444.21 KiB 6443.51 KiB 🟢 -0.70 KiB (-0.01%)
CSS 823.62 KiB 823.32 KiB 🟢 -0.30 KiB (-0.04%)
CSS (gzip) 126.08 KiB 126.01 KiB 🟢 -0.08 KiB (-0.06%)
Page Main (gzip) PR merge build (gzip) Change
/ 595.13 KiB 595.03 KiB 🟢 -0.11 KiB (-0.02%)
/libraries 537.98 KiB 537.89 KiB 🟢 -0.09 KiB (-0.02%)
/start/latest 562.79 KiB 562.68 KiB 🟢 -0.12 KiB (-0.02%)
/router/latest 563.10 KiB 562.98 KiB 🟢 -0.12 KiB (-0.02%)
/query/latest 561.53 KiB 561.42 KiB 🟢 -0.11 KiB (-0.02%)
/table/latest 594.35 KiB 594.24 KiB 🟢 -0.11 KiB (-0.02%)
/charts/latest 643.63 KiB 643.54 KiB 🟢 -0.10 KiB (-0.02%)
/ai/latest 588.48 KiB 588.34 KiB 🟢 -0.13 KiB (-0.02%)
Docs article 549.04 KiB 548.95 KiB 🟢 -0.09 KiB (-0.02%)
Framework docs article 549.05 KiB 548.95 KiB 🟢 -0.10 KiB (-0.02%)
/blog 542.20 KiB 542.09 KiB 🟢 -0.10 KiB (-0.02%)
/maintainers 541.29 KiB 541.19 KiB 🟢 -0.09 KiB (-0.02%)
/showcase 539.24 KiB 539.14 KiB 🟢 -0.09 KiB (-0.02%)
/chat 537.71 KiB 537.61 KiB 🟢 -0.09 KiB (-0.02%)
/chat/c/:conversationId 538.43 KiB 538.33 KiB 🟢 -0.10 KiB (-0.02%)

Page sizes sum the JS and CSS in the TanStack Start manifest for each route and its layouts. Shared files count once per page.

Compared with main at 77e721b. Gzip sizes are summed per file. Build run

@tannerlinsley

Copy link
Copy Markdown
Member

Only the unused doc-feedback-block styles are removed. The remaining feedback button styles and unrelated rules are unchanged. I’m landing this scoped cleanup with passing checks.

AI review notes: Reviewed the exact head f0e122b and searched the entire tracked repository for the removed asset names or CSS class names, with no matches. The current CI size report is non-growing in raw JavaScript and CSS, with lower reported gzip totals. The browser checks described in the PR are the author’s evidence; I did not independently repeat them.

@tannerlinsley
tannerlinsley merged commit 7f0335c into main Nov 23, 2026
11 checks passed
@tannerlinsley
tannerlinsley deleted the refactor/remove-unused-doc-feedback-block-css branch November 23, 2026 14:45
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.

2 participants