Repository navigation
v0.7.7
What's New in v0.7.7
Important
Please back up your data before upgrading.
This version refines the UI across the board, converts every hardcoded style into design tokens, introduces a multi-theme switcher, and ships a major frontend architecture refactor.
Version 0.7.7 is a visual and structural overhaul: pick from 12 ready-made themes with one click, enjoy a lighter and faster app, and benefit from a cleaner architecture under the hood — with no changes to your saved data.
Highlights
- Multi-theme one-click switching: 12 built-in presets (Default, Twitter Blue, Supabase Green, Claude Warm Orange, Vercel Minimal, T3 Chat, Catppuccin, Neo Brutalism, Cyberpunk, Soft Pop, Mocha Mousse, Northern Lights), each with matched light + dark palettes. Pick one in Settings > General > Appearance; it applies instantly. (PR #289)
- Full style tokenization: all hardcoded colors, radii, shadows, and fonts were migrated to semantic design tokens, so every theme restyles the whole app correctly. Existing users keep exactly the same default look after upgrading. (PR #289, #290)
- Major frontend architecture refactor: enforced layering boundaries, pure state commands, domain hooks, a modular store, and typed selectors — with no changes to the data persistence schema, so no migration is needed. (PR #295–#301)
Changes
Features & Theming
- Multi-theme engine with 12 presets, runtime theme injection, persisted selection with safe fallback, self-hosted fonts for offline/Electron use, and a new Appearance settings card with live theme previews. (PR #289)
Performance
- Lazy-loaded dormant views (Settings, Discovery/Subscription, Gists, Releases, Forks, README modal): the modern entry bundle shrank from 2,398 KiB to 323 KiB and the largest legacy chunk from 2,762 KiB to 996 KiB — faster startup. (PR #293)
Bug Fixes & Accessibility
- Closing the README modal now restores keyboard focus to the repository card that opened it, instead of dropping focus to the page body. (PR #294)
Quality Gates & Testing
- CI now runs lint, typecheck, and tests as required checks on every pull request and push to main. (PR #291)
- Persistence and repository behavior contracts frozen with historical-snapshot fixtures; the new contracts exposed and fixed real hydration gaps (backend API secret priority handling, explicit-clear semantics, analyzing-state reset, stale discovery-cache cleanup). (PR #292)
Architecture Refactor
- Repository state transitions centralized as pure command functions (PR #295); RepositoryCard operations moved into a domain hook (PR #296); batch AI and bulk workflows moved into job hooks (PR #297); settings-page orchestration moved into per-area action hooks (PR #298); the app store modularized into focused slices behind one persistence shell (PR #299); untyped store subscriptions replaced with typed shallow selectors (PR #300); frontend layering rules enforced via ESLint and published as ADR 0001 (PR #301).
v0.7.7 更新内容
Important
升级前请先备份数据。
本版本全面打磨了界面,把所有写死的样式转换为设计令牌(design tokens),新增多主题切换,并对前端做了一次大规模架构重构。
0.7.7 是一次外观与内部结构的双重升级:12 套现成主题一键切换,应用更轻更快,底层架构也更清晰——你保存的数据不受任何影响。
主要亮点
- 多主题一键切换:内置 12 套主题(Default、Twitter Blue、Supabase Green、Claude 暖橙、Vercel 极简、T3 Chat、Catppuccin、Neo Brutalism、Cyberpunk、Soft Pop、Mocha Mousse、Northern Lights),每套都配好明暗两组配色。在「设置 > 通用 > 外观」中选择,即时生效。(PR #289)
- 样式全面令牌化:所有写死的颜色、圆角、阴影、字体都迁移为语义化设计令牌,保证每套主题都能正确作用到全局样式。老用户升级后默认外观与之前完全一致。(PR #289, #290)
- 前端大规模架构重构:强制分层边界、状态变更收敛为纯函数命令、领域 hooks、模块化 store、全量类型化 selector——数据持久化结构没有任何变化,无需迁移。(PR #295–#301)
变更列表
功能与主题
- 多主题引擎(12 套预设)、运行时主题注入、选择持久化与安全回退、自托管字体(离线/Electron 环境可用)、新增带实时预览的外观设置卡片。(PR #289)
性能
- 休眠视图懒加载(设置、发现/订阅、Gists、Releases、Forks、README 弹窗):现代入口包从 2,398 KiB 缩到 323 KiB,最大的旧 chunk 从 2,762 KiB 缩到 996 KiB,启动更快。(PR #293)
修复与无障碍
- 关闭 README 弹窗后,键盘焦点会恢复到打开它的仓库卡片,而不是掉到页面上。(PR #294)
质量门禁与测试
- CI 现在对每个 PR 和 main 分支推送强制运行 lint、typecheck 与测试。(PR #291)
- 用历史快照固定持久化与仓库行为契约;新契约暴露并修复了真实存在的数据恢复缺陷(后端 API 密钥优先级、显式清空语义、分析状态重置、过期的发现缓存清理)。(PR #292)
架构重构
- 仓库状态变更收敛为纯命令函数 (PR #295);卡片操作移入领域 hook (PR #296);批量 AI 与批量操作移入 job hooks (PR #297);设置页编排拆分为分区 action hooks (PR #298);store 拆分为聚焦 slices 并收敛到单一持久化壳 (PR #299);无类型订阅全部替换为类型化浅比较 selector (PR #300);前端分层规则通过 ESLint 强制执行,架构契约发布为 ADR 0001 (PR #301)。
Desktop Downloads / 桌面端下载
The release includes installers for Windows and macOS, plus a portable Linux AppImage. Use the Assets section below to choose the package for your platform.
本版本提供 Windows、macOS 安装包与 Linux 免安装 AppImage,见下方 Assets。