Commit Graph

17 Commits

Author SHA1 Message Date
xintaofei
0fafe782ee feat(frontend): replace native scrollbar styling with OverlayScrollbars
Adopt OverlayScrollbars for cross-platform consistent overlay scrollbars
with auto-hide on pointer leave, hover grow effect, and click-to-scroll.

- Add overlayscrollbars + overlayscrollbars-react dependencies
- Rewrite ScrollArea component from Radix to OverlayScrollbars wrapper
- Define custom theme `os-theme-codeg` in globals.css (6px → 8px on hover)
- Initialize body-level overlay scrollbar via OverlayScrollbarsInit
- Migrate all scrollbar-thin / scrollbar-thin-edge usages to ScrollArea
- Keep native .scrollbar-thin fallback for virtua scroll containers

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 20:21:06 +08:00
xintaofei
150b927610 fix(ui): unify scrollbar styles across scrollable containers
Add .scrollbar-thin and .scrollbar-thin-edge utility classes in
globals.css and apply them to sidebar, file tree, git changes,
git log, session files, diff preview, and message thread panels.
Replace scattered inline webkit-scrollbar overrides with the
shared classes for consistent appearance and gutter behavior.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 18:50:14 +08:00
xintaofei
c367117392 fix(ui): add KaTeX CSS and normalize LaTeX math delimiters for proper formula rendering
Import KaTeX CSS in layout.tsx to ensure math formulas display correctly
in both dev and production modes. Convert LaTeX-style `\[...\]` / `\(...\)`
delimiters to `$$...$$` / `$...$` since remark-math only supports dollar
sign delimiters, fixing formula rendering for agents like Codex.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 23:27:40 +08:00
xintaofei
b23f6a5aaa fix: enable inline math formula rendering with single dollar signs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 17:48:46 +08:00
xintaofei
8bd19738d0 优化消息里读/写内容显示样式 2026-03-28 14:04:19 +08:00
xintaofei
ac09d3db9e 初始化web服务功能 2026-03-25 14:26:26 +08:00
xintaofei
b7df63c5f8 支持在软件内预览图片 2026-03-24 16:31:33 +08:00
xintaofei
dbf3971134 修复在文件编辑时一直按撤销会导致文件内容变空白 2026-03-20 23:16:32 +08:00
xintaofei
f6fd3da401 放开部分文件读/写限制 2026-03-19 21:33:07 +08:00
xintaofei
0d913ebd94 文件预览代码优化 2026-03-17 00:35:14 +08:00
xintaofei
b4a6f70389 支持markdown预览和html文件浏览器打开 2026-03-17 00:29:20 +08:00
xintaofei
9688248200 代码优化 2026-03-15 16:20:54 +08:00
xintaofei
838185fe35 编辑器资源本地化 2026-03-15 16:08:44 +08:00
xintaofei
3376974d0f 支持文件和变更区域的根目录快捷操作 2026-03-13 21:50:15 +08:00
xintaofei
13667729b9 支持在会话消息中打开里面的链接和本地文件 2026-03-10 13:40:06 +08:00
xintaofei
3ddc8f165a 支持folder主界面多语言 2026-03-07 13:12:18 +08:00
xggz
54d1097b41 Initial commit 2026-03-06 22:56:13 +08:00