Skip to content

feat(native): optional header badge on the diff viewer (web too) - #3

Merged
edgar-durand merged 1 commit into
mainfrom
feat/diffviewer-badge
Sep 27, 2026
Merged

edgar-durand merged 1 commit into
mainfrom
feat/diffviewer-badge

Conversation

@edgar-durand

Copy link
Copy Markdown
Collaborator

codeagent-se0e: the mobile PR diff screen rendered @codeam/ide-native DiffViewer, whose header hard-coded staged ? 'STAGED' : 'WORKING TREE' — wrong for a pull-request diff. New optional badge?: string | null on native + web DiffViewer: omitted = unchanged, string replaces it, null hides it. Tests added for both packages; full test/typecheck green.

🤖 Generated with Claude Code

A pull-request diff is neither STAGED nor WORKING TREE; callers can now pass
their own badge (e.g. "PR #212") or null to hide it. Omitted = unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@edgar-durand
edgar-durand merged commit fe5b7b6 into main Sep 27, 2026
3 checks passed
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