13 Commits

Author SHA1 Message Date
ZhangLei
de96284ac2 feat: 添加Option+点击功能设置,支持复制价格和打开币安交易页面 2025-11-11 16:47:44 +08:00
ZhangLei
fd0170ac37 feat: 更新自定义币种管理,支持多个币种及验证功能 2025-11-03 23:08:48 +08:00
ZhangLei
f88e3eb30f 增强检测更新代码 2025-11-02 22:31:16 +08:00
ZhangLei
0e6869ee08 修复Xcode项目文件中的组名引用
- 更新PBXFileSystemSynchronizedRootGroup名称: test1 → Bitcoin-Monitoring
- 更新productName为Bitcoin-Monitoring
- 修复Xcode中显示红色目录名称的问题
2025-11-02 22:09:42 +08:00
ZhangLei
6383047f9b 重构项目文件结构并重命名根目录
 新功能:
- 重新组织项目文件结构,采用模块化架构
- 重命名根目录: test1 → Bitcoin-Monitoring
- 更新Bundle标识符: com.mark.test1 → com.mark.bitcoin-monitoring

🔧 技术改进:
- Core/: 核心应用逻辑 (BitcoinMonitoringApp, MenuBarManager)
- Managers/: 业务逻辑管理器 (AppSettings, PriceManager, PriceService)
- Models/: 数据模型 (CryptoSymbol, RefreshInterval, BTCPriceResponse)
- Views/: SwiftUI视图组件 (PreferencesWindowView, AboutWindowView)
- Windows/: 窗口管理 (PreferencesWindowManager)
- Resources/: 资源文件 (Assets, entitlements)

📝 文档更新:
- 更新CLAUDE.md中的项目架构说明
- 修正文件结构描述以反映新的组织方式

 验证:
- 项目编译成功
- 所有路径引用正确更新
- Bundle标识符已更新
2025-11-02 22:05:00 +08:00
ZhangLei
906f6478db 修复检测更新按钮不走已设代理的问题 2025-11-01 10:43:24 +08:00
ZhangLei
0769a8bf73 Perfect the code 2025-10-31 17:01:50 +08:00
ZhangLei
d071b3e2dc chore: update copyright headers in source files
- Update copyright year to 2025
- Standardize file header format across project
- Minor formatting consistency improvements
2025-10-31 06:39:28 +08:00
ZhangLei
a2aabf6fbd Add boot self-start function 2025-10-30 19:19:11 +08:00
ZhangLei
e409a1db1a chore: 更新项目配置信息
- 更新版本号至 v1.0.3
- 添加应用显示名称 "Bitcoin Monitoring"
- 完善版权信息为 "Copyright© 2025 Mark International Inc. All rights reserved."
2025-10-30 14:36:20 +08:00
ZhangLei
84229df04d update 2025-10-29 21:19:18 +08:00
ZhangLei
a526deb79e feat(ui): add configurable refresh interval and enhanced menu features
Major feature enhancement for the BTC price monitoring application:

### New Features
- **Configurable Refresh Intervals**: Users can now select from 5s, 10s, 30s, 60s options
- **Persistent Settings**: User preferences saved via UserDefaults
- **GitHub Integration**: Direct link to project repository via menu
- **Version Display**: Shows current app version in about dialog
- **Debug Logging**: Comprehensive debug output for development (Debug builds only)

### Implementation Details
- **AppSettings.swift**: New configuration management class
- **RefreshInterval.swift**: Enum defining refresh options with display text
- **Enhanced PriceManager**: Dynamic timer management with configurable intervals
- **Updated BTCMenuBarApp**: Added refresh settings submenu, GitHub link, and version info
- **Debug Infrastructure**: Conditional compilation logging throughout price update flow

### UI/UX Improvements
- **Refresh Settings Submenu**: Visual indicators (✓) for current selection
- **Enhanced About Dialog**: Shows current refresh interval and app version
- **Clean Menu Structure**: Organized with proper separators and SF Symbols
- **GitHub Button**: Quick access to project repository

### Code Quality
- **Removed Redundancy**: Deleted unused ContentView.swift template file
- **Comprehensive Comments**: Added detailed Chinese comments throughout
- **Error Handling**: Robust error handling with user-friendly messages
- **Architecture Clean**: Follows MVVM pattern with clear separation of concerns

### Files Changed
- Modified: BTCMenuBarApp.swift, PriceManager.swift, project.pbxproj
- Added: AppSettings.swift, RefreshInterval.swift
- Deleted: ContentView.swift (unused template)
- Updated: Entitlements, app entry point, and service files

BREAKING CHANGE: None - all changes are additive and backward compatible
2025-10-29 14:21:07 +08:00
ZhangLei
d94eedef38 发布1.0.0版本:保留最新代码 2025-10-28 21:13:13 +08:00