Repository navigation
[codex] Fix OpenAI subscription device code contrast - #1531
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
PR Artifacts Cleaned Up The |
|
✅ Review complete. This review was performed through OpenHands Cloud Automation. You can log in and view the conversation here. |
all-hands-bot
left a comment
There was a problem hiding this comment.
LGTM! 👀
The fix is minimal and correct: switching the device code to text-white font-semibold plus tracking-[0.08em] gives strong contrast on the deep surface, and the new data-testid="subscription-user-code" plus the regression assertion in llm-settings.test.tsx will keep this honest. Mock-LLM E2E is green (14/14) and the .pr/ screenshot will be cleaned up automatically on approval. Approving.
This review was generated by an AI agent (OpenHands) on behalf of the user through OpenHands Automation. View conversation
✅ Mock-LLM E2E Tests14/14 passed Commit: Details
Posted by the Mock-LLM E2E workflow · results are deterministic (scripted LLM responses) |
✅ Mock-LLM Docker E2E Test Results60/60 passed Commit: Details
Posted by the Mock-LLM E2E workflow · results are deterministic (scripted LLM responses) |
|
🚀 Released in v1.2.0. |
Summary
.pr/for PR review.Root Cause
The device code block inherited a foreground theme token that could render too dark against
--oh-surface-deep, producing black-on-black text in the ChatGPT subscription device-code flow.Screenshot
Validation
npm test -- __tests__/routes/llm-settings.test.tsxnpm run typechecknpm run buildnpm run dev:mockconfirmedMOCK-CODEcomputed asrgb(255, 255, 255)onrgb(16, 16, 16).🐳 Docker images for this PR
• GHCR package: https://github.com/OpenHands/agent-canvas/pkgs/container/agent-canvas
ghcr.io/openhands/agent-canvasghcr.io/openhands/agent-server:1.29.3-pythonopenhands-automation==1.0.0a13d6314556a78af549dd2eefa880703c43bd363cf2Pull (multi-arch manifest)
# Multi-arch manifest — Docker automatically pulls the correct architecture docker pull ghcr.io/openhands/agent-canvas:sha-d631455Run
All tags pushed for this build
About Multi-Architecture Support
sha-d631455) is a multi-arch manifest supporting both amd64 and arm64sha-d631455-amd64) are also available if needed