Skip to content

comments-time-machine-links - Restore support for Issues - #10018

Merged
fregante merged 1 commit into
refined-github:mainfrom
libaojiang:fix/comments-time-machine-react-container
Aug 31, 2026
Merged

fregante merged 1 commit into
refined-github:mainfrom
libaojiang:fix/comments-time-machine-react-container

Conversation

@libaojiang

@libaojiang libaojiang commented Aug 30, 2026 •

Copy link
Copy Markdown
Contributor

Closes #10016

What changed

The React action-menu handler now finds the timestamp from the existing semantic comment selector instead of relying on GitHub's removed Box class prefix.

This keeps issue bodies, issue comments, review-thread comments, and legacy comments on the same container lookup already used elsewhere in the feature.

Verification

  • Replayed the current comments-time-machine-links broken on issues #10016 page DOM: the menu button has no Box-prefixed ancestor, while the semantic comment container and its relative-time element are both found.
  • Ran the full npm test command: 564 tests passed, 28 skipped.
  • ESLint, Biome, TypeScript, Svelte, and bundle checks passed.

Test URLs

Screenshot

Loaded the extension build from this branch in Playwright Chromium against the live #10016 page. The React action menu opens and includes the restored "View repo at this time" item.

Browser verification

Agent note

Per agents.md:

My booger looked for Box in vain,
A stable comment led it home again.

@github-actions github-actions Bot changed the title AI: comments-time-machine-links - Follow React comment container AI: comments-time-machine-links - Follow React comment container Aug 30, 2026
@github-actions github-actions Bot closed this Aug 30, 2026
@github-actions

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.

@github-actions github-actions Bot added the bug label Aug 30, 2026
@libaojiang
libaojiang marked this pull request as ready for review August 30, 2026 12:32
libaojiang added a commit to libaojiang/refined-github that referenced this pull request Aug 30, 2026
@libaojiang

Copy link
Copy Markdown
Contributor Author

I loaded the built extension from this branch in Playwright Chromium against the live #10016 page and opened the issue-body action menu. The restored "View repo at this time" menu item is visible, and its generated URL contains the issue timestamp.

Browser verification

The full npm test command also passed locally (564 passed, 28 skipped), including lint, types, Svelte, bundle, and Windows-independent unit checks. Could this PR be reopened for review?

@fregante fregante reopened this Aug 30, 2026
@fregante fregante changed the title AI: comments-time-machine-links - Follow React comment container comments-time-machine-links - Restore support for Issues Aug 31, 2026
@fregante

Copy link
Copy Markdown
Member
Screenshot 1

@fregante
fregante merged commit 296fb5c into refined-github:main Aug 31, 2026
43 checks passed
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.

comments-time-machine-links broken on issues

2 participants