Skip to content

fix(windows/theme): 修复Windows深色模式下文字不可读 (#148) - #169

Closed
gaoyuzhe-cmd wants to merge 161 commits into
1lck:mainfrom
gaoyuzhe-cmd:fix/issue_148_win_dark_text
Closed

fix(windows/theme): 修复Windows深色模式下文字不可读 (#148)#169
gaoyuzhe-cmd wants to merge 161 commits into
1lck:mainfrom
gaoyuzhe-cmd:fix/issue_148_win_dark_text

Conversation

@gaoyuzhe-cmd

Copy link
Copy Markdown
Contributor

Problem:
Windows端深色模式部分文字回落黑色,背景与文字对比度不足无法阅读。

Changes:

  1. index.html 增加 color‑scheme meta,适配WebView2原生控件
  2. base.css 给 html/body/#root 增加 --foreground兜底颜色
  3. 将深色选择器由 @media prefers-color-scheme / .dark 迁移至 [data‑theme‑type=dark]
  4. theme.css 补齐缺失语义主题变量别名
  5. chart.tsx 更新图表深色主题选择器

Validation:
bun run typecheck 通过
bun run lint:无新增错误,warning为存量mock文件未使用变量

Follow‑up:

  1. Tailwind dark变体需要重定向到data‑theme‑type
  2. radio‑group选中圆点视觉优化
  3. code‑tokens还有部分硬编码浅色token待处理

arkleselect and others added 30 commits August 14, 2026 11:52
- qualify git_checkout, git_checkout_preflight, and git_delete_branch
  references with refs/heads/ and pass referenceKind: local, matching the
  shared core contract that rejects short branch names
- translate git_checkout_preflight to git.checkoutPreflight and adapt its
  blocking paths plus git_checkout results for the branch manager UI
- run checkout preflight from checkoutBranch so blocked switches surface
  hasChanges and reuse the existing stash-and-retry flow, and propagate
  real git error output on failure
- translate git_diff_file and git_status_diff_stats filePath into the
  git.diff pathspecs contract instead of the unrelated paths field, and
  fall back to ["."] so whole-tree stat requests are not rejected
- derive diff stat staged flags from the request instead of hardcoding
  false, and fetch staged and unstaged stats so both groups show counts
- open diffs in split view like the macOS reference product and IDEA
  instead of a hardcoded unified default
- persist the unified/split preference in a zustand store so the choice
  survives reopening diffs and restarting the app
…ut-contract

fix(windows): align local branch checkout and deletion refs
…y-pagination

fix(windows): improve Git diff viewing and history pagination
…ispatcher

- translate git_merge and git_rebase into git.write with qualified
  refs/heads references, mirroring the checkout translations
- add git_integration_preflight, git_operation_state,
  git_operation_continue/abort/skip, and git_conflict_markers
  translations so the frontend can drive the shared core's conflict
  machinery
- map git.operationState responses into a UI-ready shape and collapse
  the no-operation case to null, matching the macOS model
- pass through integration preflight blocking paths and conflict
  marker paths for the upcoming banner and commit guard
- add git-integration-api with preflight-first merge/rebase that
  distinguishes conflict stops from real failures via operation state
- store operationState in the workspace git store and refresh it on
  every status pass so banner state stays true to the repository
- mirror the macOS banner: in-progress title, rebase step counters,
  conflict count, and Continue/Skip/Abort actions
- keep Continue disabled while conflicts remain and re-run resolution
  through the shared core, refreshing state after every attempt
- add a per-branch action menu with Merge into Current Branch and
  Rebase Current Branch onto This behind one confirmation each
- surface clean, conflict-stop, blocked-by-dirty, and failure outcomes
  with the shared core's preflight and operation state
- refuse to commit while the operation state still lists conflicted
  paths or staged files contain conflict markers, with the file names
  surfaced instead of Git's raw refusal
The action wrapper only stopped pointer-down propagation, so the click
that opened the menu also bubbled to the row's checkout handler, which
disabled the trigger and closed the menu instantly. Stop click
propagation like the retired delete button did.
…menu

Button wraps itself in a Tooltip component when given a tooltip prop,
so Base UI's render prop attached the menu trigger handlers to the
tooltip wrapper instead of the real button and clicks never opened the
menu. Pass only aria-label, like the working diff header trigger.
在活动栏左下角增加运行入口,配置由 Rust Core 生成并写入 .lithe,Windows 宿主负责发现本机 JDK/Maven 并拉起进程。打开项目不会自动生成配置。
feat(windows): 支持在桌面端运行 Java、Maven 与 Spring Boot 项目
行尾 Git Blame 注入文本会挡住最后一个字符,CRLF 残留和等宽宽度缓存也会让光标停在行尾前。改为浮动 Blame、规范化换行,并在拖选时避免打断选区。

Co-authored-by: Cursor <cursoragent@cursor.com>
saltFishCode and others added 23 commits August 18, 2026 18:10
fix(windows): 修复项目级运行配置保存后不生效
Add automatic and manual JDK 17+ resolution on macOS and Windows while keeping project runtimes independent. Recover invalid JDTLS caches and package the server only for Release builds.\n\nRefs 1lck#149
Add log directory configuration for macOS
@gaoyuzhe-cmd
gaoyuzhe-cmd requested a review from 1lck as a code owner August 19, 2026 01:56
1lck and others added 4 commits August 19, 2026 10:03
…le-explorer-zh

fix(windows): complete Simplified Chinese UI
Bundle JDTLS with packaged applications
Problem:
Windows端深色模式部分文字回落黑色,背景与文字对比度不足无法阅读。

Changes:
1. index.html 增加 color‑scheme meta,适配WebView2原生控件
2. base.css 给 html/body/#root 增加 --foreground兜底颜色
3. 将深色选择器由 @media prefers-color-scheme / .dark 迁移至 [data‑theme‑type=dark]
4. theme.css 补齐缺失语义主题变量别名
5. chart.tsx 更新图表深色主题选择器

Validation:
bun run typecheck 通过
bun run lint:无新增错误,warning为存量mock文件未使用变量

Follow‑up:
1. Tailwind dark变体需要重定向到data‑theme‑type
2. radio‑group选中圆点视觉优化
3. code‑tokens还有部分硬编码浅色token待处理
@gaoyuzhe-cmd
gaoyuzhe-cmd force-pushed the fix/issue_148_win_dark_text branch from ed581ba to 579156b Compare August 19, 2026 02:24
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.