Skip to content

v0.4.0

Choose a tag to compare

@finex7070 finex7070 released this 16 Jun 21:50
· 9 commits to main since this release

Added

  • Configurable notice/announcement banner via GitHub (replaces the hard-wired "discontinuation" notice). A notice.json in the repo root is served via GitHub raw — editing it and pushing to master shows/changes/hides the banner in all installed extensions without a new VSIX release. Schema with exactly 5 values:
    • enabled (on/off), from / to (optional ISO time window controlling when it is shown), title (plain text), content (Markdown, including links).
  • Update banner: A separate banner (can be shown alongside the announcement) that points to a new version. When update notifications are enabled, the latest GitHub release is queried on window open (/releases/latest); if its tag version is newer than the installed one, a banner with a link to the release appears. Same cache / 3-hour throttling logic as the announcement. (Publishing a new release = upload the build + tag = version number.)
  • Opt-in with consent popup (announcements + updates): Since the fetches are network calls, the first time the window opens one in-window popup with two checkboxes asks whether announcements and/or update notifications should be active. The choices are persisted and can be toggled at any time in the settings window (section "Announcements & updates"). If an option is off, it is never fetched or displayed.
  • Local cache + 3-hour throttling: When an announcement/update is active, the source is fetched on window open and cached in localStorage — but at most every 3 hours (between fetch attempts). If a fetch fails (offline/404/broken JSON), the last cached version applies; if there is no cache, nothing is shown. Retried on the next open (also 3-hour throttled).
  • Editor right-click → "Add file to Claude prompt" / "Add selection to Claude prompt". In the code editor the current file can be attached to the prompt as an attachment chip; if text is selected, an additional entry appears that inserts the selection as a code block (with file + line range) into the composer. Opens the chat window if needed and defers the action until the UI is ready.
  • GitHub repo configurable in one place: The owner/repo (and the branch for notice.json) for both banners now lives in WebUI/config.js and can be changed there quickly before building (e.g. for a fork).
  • "Working" phrases moved to config.js (workingPhrases) and extended with a few new ones — editable before building.
  • Discontinuation notice disabled: Anthropic postponed/replanned the subscription change — the banner is empty/off by default (enabled:false).