Skip to content

fix: update Claude selectors for issue #37#43

Merged
FuugaMo merged 1 commit into
masterfrom
fix-claude-selectors
Apr 12, 2026
Merged

fix: update Claude selectors for issue #37#43
FuugaMo merged 1 commit into
masterfrom
fix-claude-selectors

Conversation

@NogaUwU
Copy link
Copy Markdown
Collaborator

@NogaUwU NogaUwU commented Apr 11, 2026

This PR fixes Claude selectors to address potential regressions reported in #37. Added new generic classes for humanTurn.

@FuugaMo
Copy link
Copy Markdown
Owner

FuugaMo commented Apr 11, 2026

@codex Please review this PR. If you find no critical issues, reply with "LGTM". If you find critical issues, describe them clearly.

1 similar comment
@FuugaMo
Copy link
Copy Markdown
Owner

FuugaMo commented Apr 11, 2026

@codex Please review this PR. If you find no critical issues, reply with "LGTM". If you find critical issues, describe them clearly.

@github-actions
Copy link
Copy Markdown

review
node scripts/review-pr.js

Automated Review

Automated reviewer found issues that need human attention before merge.

Checklist

  • selectors.json touched: yes
  • content.js touched: no
  • sidepanel/viewer touched: no

Findings

  • selectors.json changed without parser changes; confirm runtime already consumes the new entries.

Verdict: needs-human-attention

1 similar comment
@github-actions
Copy link
Copy Markdown

review
node scripts/review-pr.js

Automated Review

Automated reviewer found issues that need human attention before merge.

Checklist

  • selectors.json touched: yes
  • content.js touched: no
  • sidepanel/viewer touched: no

Findings

  • selectors.json changed without parser changes; confirm runtime already consumes the new entries.

Verdict: needs-human-attention

Copy link
Copy Markdown

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

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: ff7d0db97c

ℹ️ 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".

Comment thread selectors.json
"[class*='HumanTurn']"
"[class*='HumanTurn']",
".font-user-message",
"[class*=\"user-message\"]"
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 Wire new Claude selectors into runtime parsing

The selectors added here are not used by the actual turn parser, so this change does not fix Claude extraction in production. content.js still hardcodes Claude user/branch selectors in getClaudeUserTurns/navigation logic, and selectorConfig from selectors.json is only referenced by diagnostic probe paths. In the regression scenario this commit targets (new Claude DOM classes), user turns can still be missed and the extension falls back to generic alternating-role parsing, producing incorrect conversation trees.

Useful? React with 👍 / 👎.

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

ℹ️ 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".

@FuugaMo FuugaMo merged commit 94f11c9 into master Apr 12, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants