Skip to content

Commit 1d4ffc1

Browse files
gusibigusibi
authored andcommitted
add about setting page
1 parent e3c5801 commit 1d4ffc1

File tree

12 files changed

+690
-118
lines changed

12 files changed

+690
-118
lines changed

.github/workflows/release.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,16 @@ jobs:
7777
cat > RELEASE_NOTES.md << 'EOF'
7878
# MoliTodo v${{ steps.get_version.outputs.VERSION }} ✨
7979
80-
## 🌍 Language Support & Enhanced Calendar
80+
## 📄 About Page & Auto-Start Fix
8181
8282
### New Features
83-
- **Language Switching**: Complete internationalization with real-time language switching (English/Chinese)
84-
- **Enhanced Calendar**: Integrated task list panel in calendar views for unified task management
83+
- **About Page**: Comprehensive about page with version info, project links, and update checking
84+
- **Version Management**: Built-in update checker and GitHub integration
85+
- **Project Information**: Easy access to license, author, and project details
86+
87+
### Bug Fixes
88+
- **Auto-Start Setting**: Fixed error when enabling auto-start configuration
89+
- **Settings Reliability**: Improved startup settings handling and error prevention
8590
8691
### 🍎 macOS Installation
8792
@@ -103,16 +108,16 @@ jobs:
103108
104109
### Key Improvements
105110
106-
- **Multi-language Interface**: Switch between English and Chinese in settings
107-
- **Calendar Integration**: Task list panel added to calendar views
108-
- **Real-time Updates**: Language changes apply immediately
109-
- **Unified Workflow**: Manage tasks directly from calendar interface
111+
- **About Page**: Access app info through Settings > About
112+
- **Update Checking**: Built-in update checker with GitHub integration
113+
- **Auto-Start Fix**: Startup settings now work reliably without errors
114+
- **Settings Stability**: Enhanced overall settings configuration management
110115
111116
### Upgrade Notes
112117
113-
- All existing data preserved
114-
- New features available immediately
115-
- Language auto-detected from system settings
118+
- All existing data and settings preserved
119+
- Auto-start setting now works correctly
120+
- New about page available immediately
116121
- No configuration required
117122
118123
---

CHANGELOG.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,56 @@ All notable changes to MoliTodo will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.1.3] - 2025-09-13
9+
10+
### ✨ New Features
11+
12+
#### 📄 About Page
13+
- **AboutSettings Component**: Added comprehensive about page in settings with application information
14+
- **Version Information**: Display current version and update check functionality
15+
- **Project Links**: Quick access to GitHub repository, issues, and releases
16+
- **Application Details**: Show license, author, and other project information
17+
18+
### 🐛 Bug Fixes
19+
20+
#### Startup Settings
21+
- **Fixed Auto-Start Configuration**: Resolved error when enabling auto-start setting
22+
- **Settings Reliability**: Improved startup settings configuration handling
23+
- **Error Handling**: Enhanced error handling for app launch configuration
24+
25+
### 🛠️ Technical Improvements
26+
27+
#### Settings Framework
28+
- **About Integration**: Seamlessly integrated about page into settings navigation
29+
- **Configuration Stability**: Improved settings configuration management
30+
- **IPC Communication**: Enhanced app-level IPC handlers for better settings support
31+
32+
---
33+
34+
## [1.1.2] - 2025-09-12
35+
36+
### ✨ New Features
37+
38+
#### 📊 Data Statistics Feature
39+
- **Statistics Settings**: Added comprehensive data statistics functionality in settings page
40+
- **Usage Analytics**: Track task completion patterns and productivity metrics
41+
- **Performance Insights**: View detailed statistics about task management efficiency
42+
43+
### 🐛 Bug Fixes
44+
45+
#### AI Settings Interface
46+
- **Fixed AI Settings Display**: Resolved issue where AI settings page was not showing properly
47+
- **Configuration Access**: Improved AI configuration interface reliability
48+
49+
### 🛠️ Technical Improvements
50+
51+
#### Statistics Implementation
52+
- **StatisticsSettings Component**: New dedicated component for data visualization and statistics configuration
53+
- **Data Processing**: Enhanced data analysis capabilities for task performance tracking
54+
- **Settings Integration**: Seamlessly integrated statistics into the existing settings framework
55+
56+
---
57+
858
## [1.1.0] - 2025-09-10
959

1060
### 🌍 New Features

docs/releases/v1.1.2.md

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# MoliTodo v1.1.2 Release Notes
2+
3+
*Released: September 12, 2025*
4+
5+
## ✨ New Features
6+
7+
### 📊 Data Statistics Feature
8+
- **Statistics Settings**: Added comprehensive data statistics functionality accessible through the settings page
9+
- **Usage Analytics**: Track and analyze task completion patterns and productivity metrics
10+
- **Performance Insights**: View detailed statistics about task management efficiency and usage trends
11+
- **Visual Dashboard**: Clear data visualization for better understanding of productivity patterns
12+
13+
## 🐛 Bug Fixes
14+
15+
### AI Settings Interface
16+
- **Fixed AI Settings Display**: Resolved critical issue where AI settings page was not displaying properly
17+
- **Configuration Access**: Improved AI configuration interface reliability and user access
18+
- **Settings Navigation**: Enhanced settings page navigation for better user experience
19+
20+
## 🛠️ Technical Improvements
21+
22+
### Statistics Implementation
23+
- **StatisticsSettings Component**: New dedicated component (`src/renderer/src/components/settings/StatisticsSettings.vue`) for data visualization and statistics configuration
24+
- **Data Processing**: Enhanced data analysis capabilities for comprehensive task performance tracking
25+
- **Settings Integration**: Seamlessly integrated statistics functionality into the existing settings framework
26+
- **Performance Optimization**: Efficient data processing for real-time statistics updates
27+
28+
### UI/UX Enhancements
29+
- **Settings Page**: Improved overall settings page structure and navigation
30+
- **Data Visualization**: Clean and intuitive statistics display with modern design elements
31+
- **Responsive Design**: Statistics interface adapts to different screen sizes and themes
32+
33+
## 🎯 User Benefits
34+
35+
### Productivity Insights
36+
- **Track Progress**: Monitor task completion rates and identify productivity patterns
37+
- **Data-Driven Decisions**: Make informed decisions based on actual usage statistics
38+
- **Performance Analysis**: Understand work habits and optimize task management workflows
39+
- **Goal Achievement**: Better track progress toward productivity goals
40+
41+
### Enhanced Configuration
42+
- **Reliable AI Settings**: Stable access to AI configuration options
43+
- **Improved Stability**: Enhanced overall application stability and user experience
44+
- **Better Integration**: Seamless integration between statistics and existing features
45+
46+
## 🔄 Migration Notes
47+
48+
### Automatic Updates
49+
- **Seamless Upgrade**: Existing installations will automatically receive the new statistics feature
50+
- **Data Preservation**: All existing tasks, settings, and configurations remain intact
51+
- **No Configuration Required**: Statistics feature is immediately available after upgrade
52+
53+
### New Feature Access
54+
- **Statistics Settings**: Access the new statistics dashboard through Settings > Statistics
55+
- **AI Settings**: Fixed AI settings are now reliably accessible through Settings > AI Configuration
56+
- **Backward Compatibility**: All existing features continue to work without any changes
57+
58+
## 📚 Usage Guide
59+
60+
### Accessing Statistics
61+
1. Open the application settings
62+
2. Navigate to the "Statistics" section
63+
3. View comprehensive data about your task management patterns
64+
4. Configure statistics preferences and display options
65+
66+
### AI Settings Fix
67+
- AI configuration settings are now properly accessible and functional
68+
- All AI providers and features work as expected
69+
- Configuration changes are properly saved and applied
70+
71+
---
72+
73+
**Download Links**: Available on [GitHub Releases](https://github.com/your-username/moli-todo/releases/tag/v1.1.2)
74+
75+
**System Requirements**:
76+
- macOS 10.14+ / Windows 10+
77+
- 4GB RAM minimum
78+
- 200MB free disk space
79+
80+
**Previous Version**: [v1.1.0](./v1.1.0.md)

docs/releases/v1.1.3.md

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
# MoliTodo v1.1.3 Release Notes
2+
3+
*Released: September 13, 2025*
4+
5+
## ✨ New Features
6+
7+
### 📄 About Page
8+
- **AboutSettings Component**: Added comprehensive about page accessible through Settings > About
9+
- **Version Information**: Display current application version with built-in update checking
10+
- **Project Links**: Quick access to GitHub repository, issue tracker, and release notes
11+
- **Application Details**: Shows license information, author details, and project metadata
12+
- **Update Management**: Integrated update checking and download functionality
13+
14+
## 🐛 Bug Fixes
15+
16+
### Startup Settings
17+
- **Fixed Auto-Start Configuration**: Resolved critical error that occurred when enabling auto-start setting
18+
- **Settings Reliability**: Improved startup settings configuration handling and error prevention
19+
- **Configuration Persistence**: Enhanced auto-start settings persistence across app restarts
20+
- **Error Handling**: Better error handling for app launch configuration scenarios
21+
22+
## 🛠️ Technical Improvements
23+
24+
### Settings Framework Enhancement
25+
- **About Integration**: Seamlessly integrated about page into existing settings navigation structure
26+
- **Configuration Stability**: Improved overall settings configuration management and reliability
27+
- **IPC Communication**: Enhanced app-level IPC handlers for better settings and configuration support
28+
- **UI Consistency**: About page follows existing settings design patterns and theme support
29+
30+
### Component Architecture
31+
- **AboutSettings Component**: New dedicated component (`src/renderer/src/components/settings/AboutSettings.vue`) with full feature set
32+
- **Settings Navigation**: Extended settings sidebar to include about section with proper icon and navigation
33+
- **Version Management**: Integrated version detection and update checking functionality
34+
- **External Link Handling**: Proper handling of external links for GitHub integration
35+
36+
## 🎯 User Benefits
37+
38+
### Enhanced Information Access
39+
- **App Information**: Easy access to current version, license, and project information
40+
- **Update Awareness**: Built-in update checking to stay current with latest releases
41+
- **Support Access**: Direct links to GitHub for issues, documentation, and community support
42+
- **Transparency**: Clear visibility into application details and project information
43+
44+
### Improved Reliability
45+
- **Stable Auto-Start**: Auto-start functionality now works reliably without configuration errors
46+
- **Better Error Handling**: Improved error messages and recovery for configuration issues
47+
- **Consistent Settings**: All settings categories now work reliably and consistently
48+
49+
## 🔄 Migration Notes
50+
51+
### Automatic Updates
52+
- **Seamless Upgrade**: Existing installations automatically receive the new about page and bug fixes
53+
- **Settings Preservation**: All existing settings and configurations remain intact
54+
- **Auto-Start Fix**: Previously broken auto-start settings will now work correctly after upgrade
55+
56+
### New Feature Access
57+
- **About Page**: Access through Settings > About to view application information
58+
- **Update Checking**: Use the built-in update checker to stay current with releases
59+
- **GitHub Integration**: Quick access to project resources and community support
60+
61+
## 📚 Usage Guide
62+
63+
### Accessing About Information
64+
1. Open application settings
65+
2. Navigate to "About" in the settings sidebar
66+
3. View application version, license, and project information
67+
4. Use built-in links to access GitHub resources
68+
69+
### Auto-Start Configuration
70+
- Auto-start setting now works reliably in Settings > General > Startup Settings
71+
- Toggle auto-start without encountering configuration errors
72+
- Setting persists correctly across application restarts
73+
74+
### Update Management
75+
- Use the update checker in the About page to check for new releases
76+
- Follow provided links to download and install updates
77+
- View release notes and changelog for detailed update information
78+
79+
---
80+
81+
**Download Links**: Available on [GitHub Releases](https://github.com/gusibi/MoliTodo/releases/tag/v1.1.3)
82+
83+
**System Requirements**:
84+
- macOS 10.14+ / Windows 10+
85+
- 4GB RAM minimum
86+
- 200MB free disk space
87+
88+
**Previous Version**: [v1.1.2](./v1.1.2.md)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "moli-todo",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"description": "一款常驻在桌面边缘的悬浮式待办事项应用",
55
"main": "src/main/main.js",
66
"scripts": {

src/main/ipc-handlers.js

Lines changed: 59 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { ipcMain, dialog, app } = require('electron');
1+
const { ipcMain, dialog, app, shell } = require('electron');
22
const fs = require('fs').promises;
33
const path = require('path');
44

@@ -69,6 +69,7 @@ class IpcHandlers {
6969
this.setupUtilityHandlers();
7070
this.setupAIHandlers();
7171
this.setupTaskStatusLogHandlers();
72+
this.setupAppHandlers();
7273
}
7374

7475
setupTaskHandlers() {
@@ -1425,6 +1426,63 @@ class IpcHandlers {
14251426
}
14261427
});
14271428
}
1429+
1430+
setupAppHandlers() {
1431+
// 获取应用版本
1432+
ipcMain.handle('app-get-version', () => {
1433+
return app.getVersion();
1434+
});
1435+
1436+
// 获取变更日志
1437+
ipcMain.handle('app-get-changelog', async () => {
1438+
try {
1439+
const changelogPath = path.join(__dirname, '../../CHANGELOG.md');
1440+
const changelog = await fs.readFile(changelogPath, 'utf-8');
1441+
return changelog;
1442+
} catch (error) {
1443+
console.error('Failed to read changelog:', error);
1444+
throw new Error('无法读取变更日志文件');
1445+
}
1446+
});
1447+
1448+
// 获取应用信息
1449+
ipcMain.handle('app-get-info', () => {
1450+
return {
1451+
name: app.getName(),
1452+
version: app.getVersion(),
1453+
platform: process.platform,
1454+
arch: process.arch,
1455+
electronVersion: process.versions.electron,
1456+
nodeVersion: process.versions.node,
1457+
chromeVersion: process.versions.chrome
1458+
};
1459+
});
1460+
1461+
// 在系统默认浏览器中打开链接
1462+
ipcMain.handle('app-open-external', async (event, url) => {
1463+
try {
1464+
await shell.openExternal(url);
1465+
return { success: true };
1466+
} catch (error) {
1467+
console.error('Failed to open external URL:', error);
1468+
return { success: false, error: error.message };
1469+
}
1470+
});
1471+
1472+
// 设置应用自动启动
1473+
ipcMain.handle('app-set-auto-start', async (event, enabled) => {
1474+
try {
1475+
app.setLoginItemSettings({
1476+
openAtLogin: enabled,
1477+
openAsHidden: false
1478+
});
1479+
return { success: true };
1480+
} catch (error) {
1481+
console.error('Failed to set auto start:', error);
1482+
return { success: false, error: error.message };
1483+
}
1484+
});
1485+
}
14281486
}
14291487

14301488
module.exports = IpcHandlers;

src/main/preload.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,13 @@ const electronAPI = {
101101

102102
// 应用相关 API
103103
app: {
104-
updateAppIcon: (iconPath) => ipcRenderer.invoke('update-app-icon', iconPath)
104+
updateAppIcon: (iconPath) => ipcRenderer.invoke('update-app-icon', iconPath),
105+
quit: () => ipcRenderer.invoke('app-quit'),
106+
getVersion: () => ipcRenderer.invoke('app-get-version'),
107+
getChangelog: () => ipcRenderer.invoke('app-get-changelog'),
108+
getInfo: () => ipcRenderer.invoke('app-get-info'),
109+
openExternal: (url) => ipcRenderer.invoke('app-open-external', url),
110+
setAutoStart: (enabled) => ipcRenderer.invoke('app-set-auto-start', enabled)
105111
},
106112

107113
// 事件监听 API

0 commit comments

Comments
 (0)