Version v0.1.8
New features
- System tray support
- Added system tray support for the app, providing convenient menu operations
- The tray menu includes the following features:
- Open webpage: quickly access the app interface
- Open configuration file: edit the configuration directly
- Restart app: restart the app with one click
- Exit app: safely quit the program
- Note: in this version the tray icon is not implemented yet; the feature works but no icon is shown
Improvements
- Time display format improvements
- Improved the API output format: changed time from seconds to MM:SS format
- Improved the frontend display: removed frontend time formatting logic and directly used the backend-formatted time string
- Improved user experience: time display is more intuitive and readable
Technical updates
- Dependency updates
- Replaced the tray library: switched from
tray-itemtosystray - Added a dependency: added the
openlibrary for opening webpages and configuration files - Version upgrade: app version upgraded from 0.1.7 to 0.1.8
- Replaced the tray library: switched from
Project maintenance
- GitHub template improvements
- Bug report template: automatically adds the
buglabel - Feature request template: automatically adds the
enhancementlabel
- Bug report template: automatically adds the
- Build configuration updates
- Updated
.gitignoreto ignore*.txtfiles
- Updated
File changes
- Added file:
src/tray.rs- tray feature implementation - Modified files:
src/main.rs- integrated tray feature and time formattingCargo.toml- updated dependencies and version numberfrontend/index.html- adjusted time displayfrontend/main.js- simplified time handling logic.github/ISSUE_TEMPLATE/- improved issue templates.gitignore- updated ignore rules
Installation and upgrade
bash
# 克隆仓库
git clone https://github.com/smtc2web/smtc2web.git
cd smtc2web
# 编译和运行
cargo build --release
cargo run --releaseKnown issues
- The tray icon feature is not implemented yet; the tray area shows a blank icon
- This issue does not affect the normal use of the tray menu
What's next
- Implement the tray icon display feature
- Further improve the user experience
- Continue improving features based on user feedback