Skip to content

Jiyue 0.5.2

Choose a tag to compare

@github-actions github-actions released this 02 Dec 04:39
· 6 commits to main since this release

中文

三套工作台界面风格、禅模式、设置中心与排版升级,以及 Linux 集成与欢迎页修复

  • 新增三套界面风格与首次引导体验:
    • 新增「悬浮纸张(paper_float)」「极简阅读(minimal)」「经典工作台(classic)」三套界面风格,支持与 5 套配色主题自由组合并实时预览;首次启动提供风格引导弹窗,后续可在「设置 → 外观」中随时切换。
  • 禅模式与编辑器/状态栏体验升级:
    • 新增禅模式(Alt+Z 一键进入/退出)及右上角悬浮极简视图切换条;支持 Ctrl+M 循环切换源码/实时/阅读模式与 Ctrl+Shift+M 快速进入阅读模式。
    • 状态栏新增字数统计、选区字数与预计阅读时长显示。
  • 设置中心与字体排版全面改版:
    • 重构设置页分类说明、视觉控件与分组布局,覆盖外观、字体排版(新增实时排版预览、代码字号自动跟随正文字号/独立调节与一键恢复默认,默认行高调整为 1.6)、日记/收集箱/待办/附件核心目录与一键生成标准模板、同步、AI、随手记与手机扫码同步。
  • Linux 桌面集成与默认语言回退修复:
    • 在笔记库选择窗口与主窗口的 WindowOptions 中设置 app_id = "jiyue"(写入 X11 WM_CLASS / Wayland app_id),使 xwininfo 可正确识别窗口并让 Linux 桌面环境匹配 jiyue.desktop。
    • 新增 locale_from_env_value 解析环境变量语言:将 C / C.* / POSIX / POSIX.* 与 en* 正确映射为 en-US(zh* 映射为 zh-CN),修复无语言环境时默认语言判定问题并补充单元测试。
  • 修复欢迎页「最近打开」长名称重叠(#3):
    • 右侧精简为仅显示笔记所在父目录,左右文本均支持宽度限制与单行省略号截断,并在鼠标悬停时通过 tooltip 显示完整相对路径,彻底解决长标题与路径重叠问题。

English

Three Workspace UI Styles, Zen Mode, Settings & Typography Overhaul, Linux Integration & Welcome Page Fix

  • Three switchable UI styles & onboarding guide:
    • Added Paper Float (paper_float), Minimal (minimal), and Classic (classic) workspace styles that combine freely with all 5 color themes, accompanied by an interactive first-run style onboarding modal and live previews in Settings → Appearance.
  • Zen Mode & editor/status bar upgrades:
    • Added Zen Mode (Alt+Z) with a compact floating top-right view-mode switcher, plus Ctrl+M mode cycling (Source / Live / Read) and Ctrl+Shift+M quick Reading Mode.
    • Added live word count, selection word count, and estimated reading time to the status bar.
  • Settings center & typography overhaul:
    • Redesigned settings sections, controls, and descriptions across Appearance, Typography (live font preview, auto-following or independent code font size, one-click reset, updated 1.6 default line height), Daily/Inbox/Todo/Attachments folders with standard template scaffolding, Sync, AI, Memos, and mobile QR sync.
  • Linux desktop integration & POSIX locale fallback fix:
    • Set app_id: Some("jiyue".to_string()) on both the vault chooser and main window WindowOptions (populating X11 WM_CLASS and Wayland app_id) so xwininfo identifies the window and Linux desktop environments match jiyue.desktop.
    • Added locale_from_env_value to map C / C.* / POSIX / POSIX.* and en* to en-US (zh* to zh-CN) with unit tests, fixing locale detection in minimal/unconfigured environments.
  • Fix Welcome page "Recent Notes" text overlap (#3):
    • Simplified the trailing metadata to show only the parent folder, applied flex truncation with ellipsis to both title and folder labels, and added a hover tooltip showing the full relative path.

未签名构建,请用 SHA256SUMS 校验文件。 / Unsigned builds: verify the files against SHA256SUMS.