Skip to content

Dev#268

Merged
liaohr9 merged 201 commits intomainfrom
dev
Jul 13, 2025
Merged

Dev#268
liaohr9 merged 201 commits intomainfrom
dev

Conversation

@liaohr9
Copy link
Contributor

@liaohr9 liaohr9 commented Jul 13, 2025

This pull request introduces significant updates to the project, including the addition of workflows for automated builds and releases, a full rewrite of the README.md to reflect the application's functionality and structure, and configuration changes to support testing, styling, and building the Electron application. Below is a summary of the most important changes grouped by theme.

CI/CD Enhancements:

  • Added a new GitHub Actions workflow (.github/workflows/build.yml) for automated builds and releases. This includes version comparison logic, multi-platform builds, and artifact uploads for Windows, macOS, and Linux.
  • Updated the version bump workflow (.github/workflows/bump-version.yml) to reset the buildTrigger flag in package.json after bumping the version.

Application Documentation:

  • Rewrote the README.md to provide a detailed overview of the application, including its features, technical stack, project structure, and contribution guidelines. The document now reflects the modern desktop calendar application's purpose and functionality.

Configuration Updates:

  • Added a new Electron Builder configuration (config/electron-builder.json) to specify build settings for Windows, macOS, and Linux platforms, including installer options and artifact paths.
  • Created a Playwright configuration (config/playwright.config.ts) for end-to-end testing of the Electron application, including server setup and test directory definitions.
  • Added Tailwind CSS configuration (config/tailwind.config.js) with support for custom themes and a dark mode class.
  • Introduced Vitest configuration (config/vitest.config.ts) for unit and integration testing with coverage thresholds and test environment settings.

Codebase Organization:

  • Renamed and simplified the Vite configuration file (config/vite.config.js) by removing path aliases and ensuring compatibility with Tailwind CSS.
  • Updated index.html to serve as a clean entry point for the Vue 3 application, with improved comments and streamlined script loading.

These changes collectively enhance the project's development, testing, and deployment processes while improving documentation and code organization.

liaohr9 and others added 30 commits June 3, 2025 01:20
### workflow 触发时机
- main 分支任何提交都触发
- dev 分支如果版本号第二位更新,则触发

### workflow 内容
- 在 mac 和 windows 平台构建 app
- 创建标签并发布到 release
统一用 === (严格相等) 而非 == (宽松相等)
这个 PR 主要包括以下两个内容。

### 一、修复 todo 事项字号

解释:在原来的代码中,root 字号样式被 text-base 样式覆盖。

现在效果:
(1)小号

![todo小号](https://github.com/user-attachments/assets/b79a9521-e405-4438-9f89-1c441313ca9f)

(2)中号

![todo中号](https://github.com/user-attachments/assets/339c6e9e-0a73-40bf-9e74-d23348e91745)

(3)大号

![todo大号](https://github.com/user-attachments/assets/ecfe6a72-428b-487c-8e0e-e1281285a562)

### 二、调整通知内容

原来会有重复信息:
![屏幕截图 2025-06-05
172623](https://github.com/user-attachments/assets/90e12928-a6e1-4f04-a9ee-589643fa06a1)

现在的效果:
![屏幕截图 2025-06-05
231240](https://github.com/user-attachments/assets/5ae30af1-b8b2-42d4-909b-6dd11cfde48b)
1. 修复发布 release 时,未设置用户名的 bug
2. 在测试中 mock loadSettings 相关函数
lizhx237 and others added 28 commits July 13, 2025 13:15
…tion (#267)

This pull request introduces new keyboard shortcuts for improved user
interaction and updates the help page to document these shortcuts. The
most important changes include adding shortcuts for jumping to today's
date and toggling dark mode, along with corresponding updates to the
help page.

### New Keyboard Shortcuts

*
[`src/renderer/components/CalendarHeader.vue`](diffhunk://#diff-bc39a754649dcb8cccdc6aa8730f10314a6a539be1e0445ce8526689de4d138aR746-R755):
Added handling for the "t" key to jump to today's date and the "d" key
to toggle dark mode in the `handleGlobalKeydown` function.

### Help Page Updates

*
[`src/renderer/components/pages/HelpPage.vue`](diffhunk://#diff-31f0f76f325739e4e1e7aaa3787a972727426242c341b5ff6233c378f08ac3bbR66-R69):
Documented the "t" key shortcut for jumping to today's date.
*
[`src/renderer/components/pages/HelpPage.vue`](diffhunk://#diff-31f0f76f325739e4e1e7aaa3787a972727426242c341b5ff6233c378f08ac3bbR174-R177):
Documented the "d" key shortcut for toggling dark mode.
@liaohr9 liaohr9 merged commit f619974 into main Jul 13, 2025
4 checks passed
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.

7 participants