Skip to content

AI SPAM - #9716

Closed
mvanhorn wants to merge 1 commit into
refined-github:mainfrom
mvanhorn:fix/9589-replace-outdated-layout-sidebar-classes
Closed

AI SPAM#9716
mvanhorn wants to merge 1 commit into
refined-github:mainfrom
mvanhorn:fix/9589-replace-outdated-layout-sidebar-classes

Conversation

@mvanhorn

@mvanhorn mvanhorn commented Jun 8, 2026

Copy link
Copy Markdown

Summary

Sidebar features keep working as GitHub migrates the repo-root sidebar from Layout-sidebar to the PageLayout-Pane (prc-) markup.

Why this matters

@fregante flagged in #9589 that the Layout-sidebar classes are being phased out. Features that key off the old classes silently stop matching on pages already migrated to PageLayout-Pane. Rather than swap one brittle selector for another, this adds the modern selector alongside the old one with a dated drop-TODO, so both markups are covered during the transition.

Changes

  • clean-repo-sidebar and parse-backticks: add [class*="PageLayout-Pane"] selectors next to the existing .Layout-sidebar ones, each with a TODO [2026-09-01]: Drop marker.
  • sticky-sidebar (css + tsx): broaden class^="prc-PageLayout-Pane" to class*="PageLayout-Pane" so the match survives prefix changes.

Testing

Verified the selectors resolve on both the legacy and migrated sidebar markup. tsc type-checks.

Fixes #9589

AI was used for assistance.

@github-actions github-actions Bot changed the title fix: add modern PageLayout-Pane selectors alongside outdated Layout-sidebar classes AI SPAM Jun 8, 2026
@github-actions github-actions Bot closed this Jun 8, 2026
@github-actions github-actions Bot added the bug label Jun 8, 2026
@github-actions github-actions Bot changed the title AI SPAM Add modern PageLayout-Pane selectors alongside outdated Layout-sidebar classes Jun 8, 2026
@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

This looks like an AI-generated PR, so we're preemptively closing it. If you're human and tested it, include a screenshot/video/gif of the working PR and we can reopen the PR. Don't open more PRs until this one is resolved.

@fregante fregante changed the title Add modern PageLayout-Pane selectors alongside outdated Layout-sidebar classes AI SPAM Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

Replace outdated classes Layout-sidebar

1 participant