-
Notifications
You must be signed in to change notification settings - Fork 7.8k
fix: light mode visibility for filepath in /undo diff files #5352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: light mode visibility for filepath in /undo diff files #5352
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR fixes a light mode visibility issue where filepath text was invisible when using the /undo command. The fix adds fg={theme.text} to the text element displaying filenames in the revert diff files list, consistent with other recent light mode fixes in the codebase.
Key Changes:
- Added
fg={theme.text}attribute to the text element rendering file.filename in the revert diff UI
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
* bump bun to 1.3.4 * docs: document accept always behavior (anomalyco#5340) Co-authored-by: Ingo Fruend <ingo@oudyo.com> * stuff adam needs * gen types * chore: format code * ignore: add bash tests * tui: use random free port and enable icon discovery by default - Tauri app now automatically finds an available port instead of defaulting to 4096 - Icon discovery feature is now enabled by default in the Tauri app - Prevents port conflicts when multiple OpenCode instances are running * fix type * wip(desktop): progress * wip(desktop): progress * wip(desktop): progress * wip(desktop): progress * wip(desktop): progress * wip(desktop): progress * wip(desktop): progress * wip(desktop): progress * wip(desktop): progress * wip(desktop): progress * tui: pass dynamic port to frontend Frontend now receives the server port via window.__OPENCODE__.port, allowing it to connect when using a random free port instead of hardcoded 4096 * Update Nix flake.lock and hashes * fix(cli): obtain directory data from server (anomalyco#5320) * tweak: small fix * fix(auth): add plugin lookup for custom provider in 'Other' flow (anomalyco#5324) * feat: add helicone docs + helicone session tracking (anomalyco#5265) * feat: use |- for intermediate sub-agent steps (anomalyco#5336) Signed-off-by: Christian Stewart <christian@aperture.us> * tweak: oc -> OC * fix: more descriptive tool or subtask execution failed error (anomalyco#5337) Signed-off-by: Christian Stewart <christian@aperture.us> * wip(desktop): progress * fix: tauri * compaction: improve compaction prompt (anomalyco#5348) * wip(desktop): progress * docs: desktop * core: reposition OpenCode as open source multi-platform coding agent docs: update main intro page to reflect open source positioning and multi-platform availability * fix deploy * desktop: enable zoom hotkeys in Tauri app * Add Cerebras integration header with opencode identifier (anomalyco#5354) * docs(bash): clarify description parameter is required (anomalyco#5353) * fix: light mode visibility for filepath in /undo diff files (anomalyco#5352) * tauri: update icons * desktop: exclude ts-dist from tsconfig sources * tweak: correct thinkingLevel * ignore: tmp transform exclusion * ignore * global.dispose * chore: format code * global bus * ignore * ignore * ci: rm bash tool from opencode ci workflow, reduce risks * docs: update doc sdk.mdx (anomalyco#5315) * sync * fix * domain * remove * ci * use new share url * release: v1.0.144 * prevent indexing of share page * chore: format code * enterprise: add social card meta tags to share pages - Add og:image and twitter:image meta tags for better social sharing - Generate dynamic social card URLs with session title, models, and version - Include description meta tag for search engines * enterprise: add default social card images to HTML head - Add og:image and twitter:image meta tags to entry-server - Provide fallback social card image for pages without specific social cards * Update Nix flake.lock and hashes * ignore: comment out item in project cfg * downgrade bun * opencode config * update * release: v1.0.145 * release: v1.0.146 * sync: record last synced tag v1.0.146 * fix: resolve type errors after upstream merge v1.0.146 - layout.tsx: add theme/font state and accessors for fork customizations - global-sync.tsx: add command property to State type for sync context - font-picker.tsx: remove onHighlight prop (removed upstream), use code-lines icon - theme-picker.tsx: remove onHighlight prop (removed upstream), use glasses icon - app.tsx: update useKittyKeyboard from boolean to object format * chore: format code --------- Signed-off-by: Christian Stewart <christian@aperture.us> Co-authored-by: Aiden Cline <aidenpcline@gmail.com> Co-authored-by: igordertigor <github@ingofruend.net> Co-authored-by: Ingo Fruend <ingo@oudyo.com> Co-authored-by: Dax Raad <d@ironbay.co> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com> Co-authored-by: OpeOginni <107570612+OpeOginni@users.noreply.github.com> Co-authored-by: Yukai Huang <yukaihuangtw@gmail.com> Co-authored-by: Hammad Shami <46585994+H2Shami@users.noreply.github.com> Co-authored-by: Christian Stewart <christian@aperture.us> Co-authored-by: Shantur Rathore <i@shantur.com> Co-authored-by: Jay V <air@live.ca> Co-authored-by: Seb Duerr <sebastian.duerr@cerebras.net> Co-authored-by: Jinhyeok Lee <zenyr@zenyr.com> Co-authored-by: Koichi Nakayamada <151496024+koichincom@users.noreply.github.com> Co-authored-by: Brendan Allan <brendonovich@outlook.com> Co-authored-by: Ayush Walekar <walekarayush@gmail.com> Co-authored-by: opencode <opencode@sst.dev> Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Fixes filepath text being invisible in light mode when using /undo. Added
fg={theme.text}to the text element displaying filenames in the revert diff files list, matching the pattern used in recent light mode fixes #4928 and I think the actual fixes were made in db0e1ebe83a47d