Releases: PythonSmall-Q/TimeLens
Releases · PythonSmall-Q/TimeLens
TimeLens v0.5.0
Added
- Update channel split policy:
- Microsoft Store installs now only receive update reminders (no in-app updater trigger)
- macOS and non-Store installs attempt in-app updater first, with release-page fallback
- Linux foreground-window detection MVP:
- Wayland path via
zbus(GNOME ShellEvalbest-effort) - X11 path via
x11rb(_NET_ACTIVE_WINDOW+_NET_WM_PID)
- Wayland path via
- Data-layer performance upgrades:
- New
daily_app_usagepre-aggregation table for date/range queries - New paginated command
get_app_usage_pagefor large history reads
- New
- New setting: Ignore system processes
- Excludes non-interactive processes under
System32/SysWOW64 - Keeps interactive executables such as
explorer.exeandtaskmgr.exe
- Excludes non-interactive processes under
Changed
- App version bumped to 0.5.0 in
package.json,src-tauri/Cargo.toml,src-tauri/tauri.conf.json, and UI version labels - App-limit alerts now rely on OS notifications only (removed in-app blocking modal)
- Dashboard date behavior:
- Removed implicit day-mode re-fetch loop that could override historical views
- Auto-refresh of today data now only happens when currently viewing today in day mode
- "Current App / 正在使用" now appears only in today + day mode; hidden for historical day/week/month navigation
- Widget spawn behavior:
- Prefers the user's last moved widget position
- If occupied, applies collision avoidance in order: down first, then right
ignored_appsvalues are normalized for path separator and case to improve matching reliability
Fixed
- Prevented mismatch where historical dashboard views displayed real-time active-app info
- Reduced large-range query pressure by switching range/day totals to pre-aggregated source table
TimeLens v0.4.0
See CHANGELOG.md for details.
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。
TimeLens Version 0.3.0
See CHANGELOG.md for details.
TimeLens Version 0.1.0
See CHANGELOG.md for details.