Skip to content

fix: support GitHub's current repository sidebar - #1035

Open
yankay wants to merge 1 commit into
hypertrons:masterfrom
yankay:codex/fix-github-sidebar-layout
Open

fix: support GitHub's current repository sidebar#1035
yankay wants to merge 1 commit into
hypertrons:masterfrom
yankay:codex/fix-github-sidebar-layout

Conversation

@yankay

@yankay yankay commented Aug 21, 2026

Copy link
Copy Markdown

Brief Information

This pull request is in the type of (more info about types):

  • build
  • ci
  • docs
  • feat
  • fix
  • perf
  • refactor
  • test

Related issues:

  • N.A.

Details

GitHub's current React/Primer repository sidebar no longer uses the legacy Layout-sidebar and BorderGrid structure.

This PR:

  • locates the sidebar using stable semantic markers
  • mounts Activity & OpenRank Trends in the current sidebar container
  • injects OpenDigger labels into the current topics group
  • remounts injected content when React hydration replaces the sidebar
  • adds regression coverage for the current layout and remount behavior

Checklist

Others

Tests:

  • npm test — 90 passed
  • Relevant Playwright E2E tests — 4 passed

Signed-off-by: Kay Yan <kay.yan@daocloud.io>
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@yankay
yankay marked this pull request as ready for review August 21, 2026 08:03
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