You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
9
9
10
10
### Changed
11
11
12
-
-**Extension connection settings** — the browser extension popup now lets users set a manual API port and choose the discovered-port cache duration. The VS Code extension gained a new `timelens.apiBaseUrlCacheSeconds`setting for the same purpose. Both extensions still scan the fallback range automatically when no manual port is set.
12
+
-**Extension connection settings** — the browser extension popup now lets users set a manual API port, choose between duration-based cache or "until next startup" cache, and configure the cache duration. The VS Code extension gained `timelens.apiBaseUrlCacheMode` (`duration` / `startup`) and `timelens.apiBaseUrlCacheSeconds`settings for the same behavior. If a manually configured localhost port fails repeatedly, both extensions temporarily ignore it and automatically scan the fallback port range.
13
13
-**Settings page UI redesign** — rewrote the Settings page to use a reusable card-based layout consistent with Backup & Restore v2, including `glass-card` containers, icon-header cards, and inner content wells.
connectionSettingsHint: "Set the port to 0 to scan the fallback range. Cache duration controls how long the discovered port is remembered.",
34
+
cacheMode: "Cache:",
35
+
cacheModeDuration: "Duration",
36
+
cacheModeStartup: "Until next startup",
37
+
cacheDuration: "Duration (s):",
38
+
connectionSettingsHint: "Set the port to 0 to scan the fallback range. If the set port fails repeatedly, the extension will automatically scan again.",
<pclass="muted" style="font-size: 11px;" data-i18n="connectionSettingsHint">Set the port to 0 to scan the fallback range. Cache duration controls how long the discovered port is remembered.</p>
79
+
<pclass="muted" style="font-size: 11px;" data-i18n="connectionSettingsHint">Set the port to 0 to scan the fallback range. If the set port fails repeatedly, the extension will automatically scan again.</p>
Copy file name to clipboardExpand all lines: vscode-extension/package.nls.json
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,9 @@
3
3
"timelens.enabled.description": "Enable local VS Code usage tracking for TimeLens.",
4
4
"timelens.apiBaseUrl.description": "Local TimeLens API base URL.",
5
5
"timelens.apiBaseUrlCacheSeconds.description": "How long to cache the discovered local API port (seconds). Set to 0 to re-discover on every request.",
6
+
"timelens.apiBaseUrlCacheMode.description": "Cache discovered port until VS Code restarts, or for a fixed duration.",
7
+
"timelens.apiBaseUrlCacheMode.duration": "Cache for the duration configured below.",
8
+
"timelens.apiBaseUrlCacheMode.startup": "Cache until VS Code restarts.",
6
9
"timelens.bridgeKey.description": "Extension bridge key for authenticating with TimeLens local API. Get this from Settings > Local API / Extension Bridge.",
7
10
"timelens.apiToken.description": "Local API token for authenticating with TimeLens when token-required mode is enabled. Get this from Settings > Local API / Tokens.",
8
11
"timelens.flushIntervalSeconds.description": "How often to flush queued sessions to TimeLens API.",
0 commit comments