TimeLens v1.0.0
Added
Categories
- New Categories page — manually group apps into custom categories such as "Work / Entertainment / Social / Utilities"
- CategoryInsights component — new dashboard card visualizing category time distribution and trends via pie and area charts
- Category data persisted to SQLite with aggregate queries and stats by category
Goals
- New Goals page — create, edit, and delete daily / weekly usage goals
- Goals can target a category or a single app
- Configurable duration down to hour + minute granularity
- GoalProgressBar component — new dashboard progress bars showing completion percentage for each goal
Focus Mode
- New FocusMode page — start focused timer sessions
- Real-time countdown display with option to abandon mid-session
- Configurable focus duration
Dashboard Enhancements
- TrendComparePanel — compare usage trends across different periods (period-over-period change, absolute and percentage deltas, color-coded)
- UsageHeatmap — yearly usage heatmap rendered as calendar cells showing daily screen-time intensity over the past year
Browser Extension
- New Chrome browser extension (
browser-extension/)- Tracks browsing time per website / tab
- Standalone popup showing browser usage stats (progress bars + percentages)
- Supports
en/zh_CNlocalization - Includes
build-chrome.jsscript for one-click packaging
API Server
- New local REST API module (
src-tauri/src/api_server/)- Exposes endpoints for third-party tools (e.g. Obsidian, Raycast) to read usage data
- Supports querying app lists, usage statistics, and browser data
UI / Components
- ExePickerInput — improved app-picker component supporting search / selection from currently running processes and historical executables
- WidgetCenter upgrades — improved per-widget startup configuration and friendlier empty-state messaging
Internationalization
- New i18n namespaces:
categories— category management labelsgoals— goal system labelsfocus— focus mode labelsbrowserUsage— browser extension labels
dashboard,settings, andwidgetsnamespaces significantly expanded to cover all new features
Changed
- Version bumped to 1.0.0, marking the first stable release
package.json,src-tauri/Cargo.toml, andsrc-tauri/tauri.conf.jsonsynchronized to the new version- Settings page refactored with new configuration entries for categories, goals, and browser data
- Database schema significantly expanded with new tables / indexes for categories, goals, and browser usage
- Backend command modules (
storage_cmd,widget_cmd, etc.) refactored to support new features
🚩 macOS 无签名运行说明
首次打开如遇“无法验证开发者”或“已损坏”提示,请右键 App → 打开,或在终端执行:
xattr -dr com.apple.quarantine /Applications/TimeLens.app
如仍无法运行,请在“系统设置 → 隐私与安全性”中允许此 App。