mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 23:54:26 +08:00
* Add Windows system chrome patchers (Harmony) Introduce support for toggling the system chrome on Windows using Harmony patchers. Adds Lib.Harmony.Thin to package props and project, new patcher infrastructure (ChromePatchState, PatcherEntrance) and two Harmony patches that disable FluentAvalonia's Windows chrome when configured. Program.cs now loads the chrome setting and installs patchers conditionally on Windows/x86-x64. Settings viewmodel and view updated: expose IsWindowsOs, require restart on appearance changes, migrate SettingsWindow to FAAppWindow and adapt titlebar/layout (include Windows caption placeholder and footer menu items). Also add a .gitkeep and a build log file. * Refactor settings window UI and theming Improve theming and layout for the Settings window and related services. - MaterialSurfaceService: add special material parameters for SettingsWindowBackground (lower alpha, no blur) and avoid hot-switching real backdrops for non-settings windows. - GlassEffectService: add AdaptiveSettingsWindowTintBrush + ResolveSettingsWindowTintAlpha to provide optional content tinting tied to system material mode. - SettingsWindowService: refactor theme application into ApplyThemeVariantAndResources, ensure settings window material is applied at show/activate times, and tidy theme/resource application flow. - SettingsWindow.axaml / .axaml.cs: restructure title bar (separate Grid.Row=0 border) and FANavigationView host, add pane-footer toggle button for :minimal layout, use dynamic corner radius resource, and update toggle/visibility/icon logic and responsive layout code. - SettingsPages: remove some IconText usages and adjust margins; use DesignCornerRadiusLg for update card corner radius. - Add NuGet.Config to set local globalPackagesFolder and ignore .nuget/packages in .gitignore. These changes aim to improve visuals, avoid backdrop overdraw, and make the settings window behavior consistent across themes and layouts. * Add localization and localize settings pages Add many new localization keys (en-US and zh-CN) for notifications, developer tools, about page, status bar, and video wallpaper. Update Notification, Dev, About and StatusBar view models to use LocalizationService, expose localized ObservableProperties, and refresh localized text at construction. Localize selection options and test notification texts, and fix notification severity handling. Wire up XAML to the new localized properties (About/Dev/StatusBar pages) and update the settings page title for notifications. Also adjust copyright line generation and replace hardcoded placeholders with bound Watermark properties. * Redesign settings window with fluent shell & search Rebuild the settings window as a Fluent shell: adds a custom 48-DIP titlebar with Back, pane toggle, icon/title, search box, restart/more menu, and caption-button spacer; moves compact pane toggle into the titlebar and preserves FANavigationView as the primary navigation surface. Introduces a SettingsSearchService (with UI AutoComplete integration, search indexing, navigation-by-result, and search result highlighting) plus focused tests for search filtering and theme material normalization. Adds navigation history/back stack, updates SettingsViewModels for new bindings and localization keys, and updates General/Apearance pages to expose new strings and options. Implements an "auto" system material mode: default in AppSettingsSnapshot, new MaterialAuto constants and normalization/resolution logic in ThemeAppearanceValues, WindowMaterialService and MaterialSurfaceService adjustments to prefer Mica on Win11 and Acrylic on Win10 using TransparencyLevelHint. GlassEffectService and AppearanceThemeService updated to use effective material mode and to track live theme state changes. Adds localization entries (en-US, zh-CN), spec/tasks docs, and other UI/style tweaks to support the redesign. * fix.修折叠与展开按钮 * Add OOBE startup presentation and settings merge Introduce a new OOBE step for "Startup & Presentation" that exposes startup and UI preferences in OobeWindow (toggles for taskbar, slide/fade transitions, fused popup, and autostart). Add HostAppSettingsOobeMerger to read/write Host settings.json (PascalCase fields) and MergeStartupPresentation behavior, plus LauncherWindowsStartupService to sync the current Launcher into the Windows Run key on Windows. Wire UI handlers, persist choices on Next, and load defaults when entering the step. Include unit tests for the merger, adjust SettingsWindow navigation pane/toggle handling, and update docs/LAUNCHER.md to describe the new OOBE step and implementation files. * Move whiteboard persistence to file storage Switch whiteboard note storage from legacy DB rows to per-note JSON files and add migration support. Update WhiteboardNoteSnapshot schema (version bump, viewport, canvas, expires, PathSvgData) and change IWhiteboardNotePersistenceService.SaveNote to return bool to surface write failures (e.g. read-only files). Implement file-based WhiteboardNotePersistenceService with legacy DB migration/cleanup, retention handling, and logging. Add comprehensive unit tests for persistence, stroke path builder, SVG import and viewport helper. Also add ThirdParty/DotNetCampus.InkCanvas project and reference it in the main csproj, and bump PostHog package to 2.6.0. * Introduce render gate and chart caching Replace UI DispatcherTimer polling with a StudySnapshotRenderGate across multiple widgets to queue and apply only the latest analytics snapshot; components updated include StudyDeductionReasonsWidget, StudyEnvironmentWidget, StudyInterruptDensityWidget, StudyNoiseCurveWidget. Add StudySnapshotRenderGate implementation to coordinate rendering and monitoring leases and update subscription/lease lifecycle handling (subscribe/unsubscribe, Acquire/Dispose leases, Clear/Dispose gate). Rewrite chart controls (StudyNoiseCurveChartControl and StudyNoiseDistributionScatterChartControl) to use stable logical-time origins, split series into static vs dynamic tails, add geometry/sample caching, stable jitter/coordinate mapping helpers, and expose internal helpers & counts for testing. Add unit tests (StudyComponentRenderingTests) covering the render gate and chart behaviors (layer counts, logical X mapping, stable jitter, cache rebuild). These changes improve rendering correctness and performance by avoiding redundant renders and enabling deterministic chart layout. * Use MaterialColorSnapshot in appearance flow Introduce unified material/color spec and tests, and refactor appearance plumbing to use MaterialColorSnapshot as the single source of truth. Add .trae material-color-service spec/checklist/tasks and integration/unit tests for plugin mapping and appearance VM behavior. AppearanceChangedEvent extended with new appearance change flags and HasChanged logic. ComponentEditorMaterialThemeAdapter rewritten to accept MaterialColorSnapshot and derive palette from snapshot data. Simplify AppearanceSettingsPageViewModel and related view code: remove legacy preview/custom-seed UI logic, preserve material/color fields when updating theme or corner radius, and update save calls to use with-expressions. Update ComponentEditorWindow to use adapter-provided OnPrimary brush and minor docs updates. * Add material color services, plugin DTOs, and tests Introduce IPC wire-format appearance DTOs (PluginIsolation.Contracts) and clarify they are distinct from the runtime PluginSdk snapshot. Update PluginSdk comments to document the runtime-facing snapshot shape. Change ComponentColorSchemeHelper to use the HostMaterialColorProvider and add an overload that accepts a MaterialColorSnapshot. Add new services and pipelines (MaterialColorService, MaterialSurfaceService, WindowMaterialService, WallpaperColorPipeline) and refactor AppearanceThemeService to depend on MaterialColorService while removing legacy internal implementations. Add multiple unit tests (ComponentColorSchemeHelper, PluginAppearanceBoundary, SettingsCatalogService, WallpaperSettingsPageViewModel) and update localization resources with new material_color and wallpaper keys. * Add CODE_WIKI and update localization Add a comprehensive CODE_WIKI.md documenting project architecture, modules, startup flow, plugin system, testing and developer workflows. Update localization resources (en-US.json, zh-CN.json) with new/translated keys for wallpaper controls (custom color UI), material & color settings (semantic roles, surfaces, refresh/polling state), appearance (corner radius), status bar font size options, privacy policy text, component library labels, clock settings, and new language entry (Korean). Also modify settings-related ViewModels and Settings page views to surface these new features and texts (MaterialColorSettingsPageViewModel.cs, SettingsViewModels.cs, WallpaperSettingsPageViewModel.cs, MainWindow.SettingsHardCut.Stubs.cs, ComponentsSettingsPage.axaml, WallpaperSettingsPage.axaml). * Add Data settings page and storage scanner Introduce a new "Data" settings page to visualize and manage local app storage. Adds DataStorageService (scanning, disk info, clean operations), DataSettingsPageViewModel, XAML view and code-behind, and HexToColor/HexToBrush converters; registers converters in App.axaml. Also update localization strings for the new page and add icon mapping so the settings entry uses the Database icon. Enables per-category and global cleaning workflows and formatted size display. * Add IPC backoff/retries and safer disposal Introduce exponential backoff, jitter and retry logic across IPC components to improve robustness and avoid tight retry loops; make disposal idempotent and add connection guards. Key changes: - LauncherCoordinatorIpcServer / LauncherIpcServer: add backoff constants, ComputeBackoff(), consecutive error tracking and delayed retries with jitter. - LanMountainDesktopIpcClient / LauncherIpcClient: add connect retry loops, timeouts, delayed retries, improved error logging, and use ArrayPool for buffered async writes; ensure proper cleanup on failures. - PublicIpcHostService: add disposed flag, guard OnPeerConnected and Dispose, and clear connected peers on dispose. - Add many auto-generated commit analysis docs under docs/auto_commit_md and new scripts for analyzing/generating commit docs. These changes aim to make IPC connection handling more resilient and resource-safe. * Add preview controls and settings UI tweaks Introduce GridPreviewControl and CornerRadiusPreviewControl for visual previews and wire them into the Components settings (add ScreenAspectRatio, CornerRadiusPreviewValue, and screen aspect init). Refactor ComponentsSettingsPage UI to show live previews. Improve DataSettingsPage layout and storage bar logic (use item percentages directly, include remaining segment, adjust visuals and visibility triggers). Simplify LauncherSettingsPage header/appearance layout. Add SECURITY_AUDIT_REPORT.md, analysis summary, mockup HTML, and a local .claude settings file. * Add install checkpoint/resume and DDSS workflows Introduce install checkpoint support and resume logic for updates, plus related locking and validation. Adds InstallCheckpoint model, AppJsonContext serialization, and UpdatePaths helpers for deployment lock, apply-in-progress lock and install-checkpoint path. UpdateEngineService gains checkpoint load/save/delete, incoming-state validation, resume logic for PLONDS and legacy updates, apply lock handling, and safer cleanup; ApplyPendingPlondsUpdateAsync and ApplyPendingUpdate flow updated accordingly. Add DeploymentLock contract and extend UpdateState with pause/resume/cancel helpers. Tests updated to cover stale/valid checkpoint resume and legacy/PLONDS flows. CI: enhance ddss-publish to detect release channel, validate S3 assets, prepare and atomically publish channel pointer; add ddss-rollback workflow to publish rollbacks; adjust plonds-build concurrency and release events. * changed.更了好多 * fix.消息盒子媒体播放器组件服务修复 * change.重做天气,为回到系统提供自定义功能。 * feat.airapp与融合桌面 * feat.动画优化与更新界面 * feat.数字时钟,白板功能修复 * feat.完善了时钟轻应用,为启动器提供了多语言支持 * feat.发布与打包优化 * changed.天气选项卡更新
7.5 KiB
7.5 KiB
提交历史分析文档
本目录包含 LanMountainDesktop 项目的所有 Git 提交分析报告。
文档统计
| 统计项 | 数量 |
|---|---|
| 总文档数 | 120 个 |
| 版本发布 (Release) | 11 个 |
| 功能新增 (Feature) | 45 个 |
| Bug 修复 (Bug Fix) | 32 个 |
| 文档更新 (Documentation) | 8 个 |
| CI/CD 相关 | 18 个 |
| 代码重构 (Refactoring) | 6 个 |
文档命名规则
每个文档的命名格式为:YYYYMMDD_<commit_short_hash>.md
YYYYMMDD- 提交日期<commit_short_hash>- 提交哈希的前7位
时间分布
| 月份 | 提交数量 |
|---|---|
| 2025年4月 | 11 个 |
| 2025年5月 | 100 个 |
| 2025年6月 | 9 个 |
重要提交概览
版本发布
- 20250427_bd2313f - 0.7.9.1
- 20250428_f84111e - 0.7.9.2
- 20250428_148e4c8 - 0.8.0
- 20250428_5804627 - 0.8.0.1
- 20250428_2dc729c - 0.8.0.2
- 20250429_9045624 - 0.8.0.3
- 20250429_3b810fd - 0.8.0.4
- 20250429_f50cfed - 0.8.0.5
重要功能
- 20250501_964cef2 - 通知系统,自习系统
- 20250501_88bd92e - Hub组件支持双击打开图片,三指翻页退出
- 20250502_44b87ba - 桌面组件
- 20250502_1c3cc76 - 状态栏文字组件,支持位置放置
- 20250503_0662565 - 文件管理组件跨平台支持
- 20250505_e1d5a0c - 电源菜单
- 20250505_e69bbf8 - 快捷方式组件
- 20250506_8c94253 - 快捷方式组件透明问题修复
- 20250507_11130cf - 更新界面多标题修复
- 20250509_cb96180 - 白板笔色自适应主题
- 20250510_4a89c23 - 便签组件
- 20250511_76d13ac - 开发者调试工具
- 20250514_c2cc62b - 淡入淡出动画
- 20250514_03e32ee - 网速显示组件
- 20250516_81ee19f - AOT启动器
- 20250519_02547ee - 引入Velopack更新系统
- 20250520_a31ae3c - Penguin Logistics Online Network Distribution System
- 20250521_703ed7b - 重构启动器启动、日志和主机解析
- 20250521_9224c9a - 强化OOBE、启动源和权限流程
- 20250521_aa7c118 - 添加外部公共IPC主机/客户端和插件SDK
- 20250522_e20462a - 设置窗口独立化和任务栏感知
- 20250523_8b8c7d1 - 简化启动画面为淡入淡出
- 20250524_5b4b9f3 - OOBE重新设计、主题和数据位置支持
- 20250525_d310fc5 - Avalonia 12升级
- 20250528_9fb4137 - 迁移代码库到Avalonia 12 API
- 20250528_93d6d93 - 迁移到Avalonia 12和Plugin SDK v5
- 20250529_eb066b5 - 引入渲染模式和静态组件预览
- 20250530_0348324 - 添加LauncherPathResolver和重构数据路径
- 20250601_6a30bc6 - 重构设置窗口UI和主题
- 20250601_49bbae2 - 使用Fluent Shell和搜索重新设计设置窗口
- 20250603_60e7f31 - 添加OOBE启动演示和设置合并
- 20250605_68ca532 - 将白板持久化移动到文件存储
- 20250605_aa7e15d - 添加CODE_WIKI和更新本地化
- 20250605_84caca0 - 数据设置页面和存储扫描器
样式统一
- 20250428_7a26848 - CI.圆角
- 20250505_8583465 - 圆角统一
Bug 修复
- 20250430_2272d35 - 回退 0.8.0.41
- 20250501_ff01471 - 修复智教 Hub 组件
- 20250502_021c7ff - 修复智教Hub组件
- 20250502_00339f0 - 修复Rinshub
- 20250506_66ae0b0 - 课表组件日间模式字体颜色修复
- 20250508_cf4b8e2 - 央广网新闻组件第二行显示修复
- 20250508_e8ba847 - 融合桌面设置窗口修复
- 20250512_b933f3b - 开发者调试工具设置持久化修复
- 20250512_ce5acf5 - 快捷方式组件透明问题修复
- 20250515_e9ff590 - 可爱的我一直在修CI
- 20250516_6c526ff - 修CI,Linux问题
- 20250518_9cf3a15 - 修复启动器无法正常启动的问题
- 20250518_4f9feaf - 继续修CI
- 20250519_8e39ea8 - GitHub Action工作流修复
- 20250519_6343164 - 修CI,修融合桌面,修启动器
- 20250528_f8073c2 - 修复合并产生的问题
CI/CD 相关
- 20250515_59c4824 - 启动器一定要能够启动
- 20250516_53ff98f - Update build.yml
- 20250518_e8d2575 - 测试增量更新Velopack
- 20250519_f6a6f97 - 迁移发布管道到签名文件映射
- 20250519_858612f - 使可选S3上传步骤工作流解析安全
- 20250519_833c693 - 使增量包生成对空差异和Linux路径健壮
- 20250519_24b361b - 轮换启动器更新公钥
- 20250519_cddebbc - 恢复稳定的启动器更新公钥
- 20250519_48ce93b - 同步启动器公钥与更新签名密钥
- 20250519_1e6b61d - 规范化PEM行尾
- 20250519_c5ef418 - 轮换启动器公钥以匹配CI签名密钥
- 20250519_62e7d96 - 通过SPKI而非PEM文本比较签名密钥
- 20250519_fb21bcd - 重构更新后端到主机管理的PDC管道
- 20250520_81e0081 - 修复发布工作流环境密钥冲突
- 20250520_8447910 - 放宽发布PDC预检查仅需要S3
- 20250520_8c58b1c - 为发布添加本地PDC模拟回退
- 20250520_e82c5d4 - 为PDCC安装程序步骤设置GH_TOKEN
- 20250521_001a42a - 修复Windows安装程序脚本路径
- 20250521_631dc77 - 规范化发布工件
- 20250521_8a75bc8 - 围绕PLONDS和DDSS重建发布管道
文档更新
- 20250505_d30af21 - 加入CHANGELOG
- 20250510_d62226f - 更新CHANGELOG
- 20250512_1b22e9d - 新增插件开发文档
查看完整提交历史
如需查看完整的提交历史,请使用以下命令:
# 查看所有提交
git log --oneline
# 查看详细提交信息
git log --pretty=format:"%H|%an|%ad|%s" --date=format:"%Y-%m-%d %H:%M:%S"
# 查看特定提交的详细变更
git show <commit_hash>
文档内容结构
每个 Markdown 文件包含以下部分:
- 基本信息表 - 提交哈希、作者、时间、父提交等
- 提交信息分析 - 对提交内容的解读
- 变更概览 - 查看详细变更的命令
- 提交类型 - 分类标记(版本发布、功能新增、Bug修复等)
- 相关文档/链接 - 与提交相关的项目文档
更新时间
本文档集生成于:2026-05-07