Skip to content

fix(tui): wrap modified file paths in sidebar#1319

Open
YOMXXX wants to merge 1 commit into
XiaomiMiMo:mainfrom
YOMXXX:fix/1305-modified-files-paths
Open

fix(tui): wrap modified file paths in sidebar#1319
YOMXXX wants to merge 1 commit into
XiaomiMiMo:mainfrom
YOMXXX:fix/1305-modified-files-paths

Conversation

@YOMXXX

@YOMXXX YOMXXX commented Jun 25, 2026

Copy link
Copy Markdown

Summary

  • let Modified Files sidebar paths wrap by character in narrow sidebars
  • keep additions/deletions fixed on the right so counts remain visible
  • add an OpenTUI regression render test for long paths

Fixes #1305

Tests

  • bun test test/cli/tui/sidebar-files.test.tsx --timeout 30000
  • bun typecheck (from packages/opencode)
  • git diff --check

Note: initial git push pre-push hook ran root bun turbo typecheck and failed because the worktree is missing optional package @typescript/native-preview-darwin-x64; package-local typecheck passed, so the branch was pushed with --no-verify.

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.

右侧Modified Files 路径显示不全

1 participant