feat(whats-new): remote release notes with dev workspace mode (#1058)

* feat(whats-new): remote release notes with dev workspace mode

Add WHATS_NEW.md, CI whats-new.md asset upload, and client fetch/cache
with embedded fallbacks. Dev and -dev builds read the full file from the
repo for debugging; RC/stable download the release asset on first use.

* fix(whats-new): render ## headings and add changelog tab

Parse h2 sections in release-notes markdown; load changelog alongside
highlights and let users switch views on the What's New page.

* fix(whats-new): prefetch on startup and fix CI typecheck prebuild

Prefetch whats-new asset when the shell loads on RC/stable builds.
Run prebuild:release-notes before tsc and coverage jobs so the
gitignored generated bundle exists in CI.

* docs: CHANGELOG and credits for What's New remote notes (PR #1058)

* fix(whats-new): always slice embedded release notes to current line

Drop full CHANGELOG embed for -dev bundles; tauri:dev still reads live
markdown from the repo. Ignore all of src/generated/ in git.

* fix(whats-new): fetch release asset via Rust to bypass CORS

Route whats-new.md download through fetch_url_bytes; rename the
technical tab label; add fetch unit tests (PR #1058 review).
This commit is contained in:
cucadmuh
2026-06-10 23:35:23 +03:00
committed by GitHub
parent fb5a257735
commit c7d71ea57c
38 changed files with 956 additions and 186 deletions
+44
View File
@@ -61,6 +61,38 @@
font-variant-numeric: tabular-nums;
}
.whats-new__view-tabs {
display: inline-flex;
gap: 4px;
margin-top: 14px;
padding: 3px;
border-radius: 8px;
background: var(--bg-hover);
border: 1px solid var(--border-subtle);
}
.whats-new__view-tab {
padding: 6px 14px;
border: none;
border-radius: 6px;
background: transparent;
color: var(--text-muted);
font-size: 13px;
font-weight: 500;
cursor: pointer;
transition: background 0.15s, color 0.15s;
}
.whats-new__view-tab:hover {
color: var(--text-primary);
}
.whats-new__view-tab--active {
background: var(--bg-card);
color: var(--text-primary);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.whats-new__body {
font-size: 14px;
line-height: 1.65;
@@ -70,6 +102,18 @@
font-style: italic;
}
.whats-new-h2 {
font-size: 18px;
font-weight: 700;
color: var(--text-primary);
margin: 24px 0 12px;
padding-bottom: 8px;
border-bottom: 1px solid var(--border-subtle);
}
.whats-new-h2:first-child {
margin-top: 0;
}
.whats-new-h3 {
font-size: 16px;
font-weight: 700;