Skip to content

Improve release navigation and brand-kit downloads - #1860

Merged
David Pine (IEvangelist) merged 2 commits into
release/17.0from
ievangelist-release-navigation-and-consent
Oct 10, 2026
Merged

David Pine (IEvangelist) merged 2 commits into
release/17.0from
ievangelist-release-navigation-and-consent

Conversation

@IEvangelist

Copy link
Copy Markdown
Member

Summary

  • Keep Aspire 17.0 first in What's new and group previous releases under collapsed Aspire 13.x and Aspire 9.x sections, newest releases first.
  • Save the brand-guidelines acknowledgment in localStorage only after confirmation, so subsequent asset and presentation downloads do not prompt again in the same browser.
  • Remove PUBLIC_OG_IMAGE_ORIGIN and restore Astro's configured site as the OG-image base, preserving article-level ogImage overrides.
  • Give brand articles explicit titles, include the brandkit search term in metadata and visible content, and tighten prose against the documentation-writing guidance.
  • Replace the duplicated license file with the current upstream raw license. Preserve the read-only dialog with on-demand loading, explicit errors, retries, and a direct-source fallback.

Self-reviewed the complete diff, navigation hierarchy, consent lifecycle, download destinations, license failure paths, search-index coverage, and OG metadata behavior.

Third-party links and affiliations

License links now use https://raw.githubusercontent.com/microsoft/aspire-brand/main/LICENSE, the official Microsoft-maintained brand repository, instead of a locally duplicated license. Existing Google Fonts and Fontsource destinations are unchanged. No new third-party providers are introduced; no additional affiliation information was supplied for this change.

Validation

Commands run from src/frontend:

  • pnpm exec eslint config\sidebar\docs.topics.ts src\data\brand.ts src\utils\page-metadata.ts tests\unit\whats-new-sidebar.vitest.test.ts tests\unit\page-metadata.vitest.test.ts tests\unit\brand-assets.vitest.test.ts tests\unit\custom-components.vitest.test.ts tests\e2e\brand-assets.spec.ts tests\e2e\site-search.spec.ts tests\e2e\whats-new-sidebar.spec.ts --max-warnings 0 — passed.
  • pnpm exec vitest run --config vitest.config.ts tests\unit\whats-new-sidebar.vitest.test.ts tests\unit\page-metadata.vitest.test.ts tests\unit\brand-assets.vitest.test.ts tests\unit\browser-storage.vitest.test.ts tests\unit\custom-components.vitest.test.ts — passed, 191 tests across five files.
  • pnpm exec playwright test brand-assets.spec.ts whats-new-sidebar.spec.ts site-search.spec.ts --workers=2 --grep 'brand|multiline external links|footer leads|all nine official SVGs|copies exact color|reports clipboard|remote artwork|current release' — passed, 48 tests across desktop/tablet/mobile; three production Pagefind checks skipped locally and reserved for CI.
  • pnpm exec tsc --noEmit --skipLibCheck --pretty false — not clean: existing repository-wide diagnostics include unresolved Astro component declarations and unrelated configuration/test errors. Targeted typed ESLint passed; no new errors were found in the changed implementation or newly added sidebar tests.
  • git diff --check — passed.

No local production build was run. CI owns the production build and the new brandkit Pagefind regression test.

Group previous releases by major version, remember brand acknowledgments, restore site-based OG URLs, and improve brand article discovery and licensing.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 8b981999-6e5c-4dc5-bed9-881858ed56c6

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Download persistence introduces inaccurate dialog semantics for assistive technology and misleading storage messaging.

2 open findings
What changed in this PR

Improves release navigation, brand-download consent, license loading, search metadata, and Open Graph URL generation.

Changes:

  • Groups historical releases beneath collapsed major-version sections.
  • Persists brand-guideline acceptance and loads the license from upstream.
  • Updates brand metadata, prose, and regression coverage.
File Description
config/​sidebar/​docs.topics.ts Regroups release navigation.
public/​brand/​LICENSE.txt Removes the duplicated license.
src/​components/​brand/​BrandDownloadGate.astro Persists download consent.
src/​components/​brand/​BrandLicenseModal.astro Loads the upstream license on demand.
src/​components/​brand/​BrandUsageGuidance.astro Tightens guidance wording.
src/​content/​docs/​community/​brand/​colors.mdx Updates title and brandkit copy.
src/​content/​docs/​community/​brand/​index.mdx Documents persistence and upstream licensing.
src/​content/​docs/​community/​brand/​logos.mdx Updates title and search terminology.
src/​content/​docs/​community/​brand/​typography.mdx Revises title and font-source prose.
src/​content/​docs/​community/​brand/​usage.mdx Links to the upstream license.
src/​content/​docs/​community/​contributor-guide.mdx Documents OG-image URL behavior.
src/​data/​brand.ts Defines the upstream license URL.
src/​env.d.ts Removes the obsolete OG-origin environment declaration.
src/​utils/​page-metadata.ts Uses the configured site for OG images.
tests/​e2e/​brand-assets.spec.ts Covers consent persistence and license failures.
tests/​e2e/​site-search.spec.ts Verifies brandkit search coverage.
tests/​e2e/​whats-new-sidebar.spec.ts Verifies release navigation rendering.
tests/​unit/​brand-assets.vitest.test.ts Validates brand metadata and upstream licensing.
tests/​unit/​custom-components.vitest.test.ts Updates license-modal assertions.
tests/​unit/​page-metadata.vitest.test.ts Updates OG-image origin expectations.
tests/​unit/​whats-new-sidebar.vitest.test.ts Validates grouped release configuration.

🧠 Review effort: Balanced


💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Use explicit license dialog triggers, preserve direct-source fallbacks, qualify consent persistence, and synchronize download popup semantics with saved consent.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 8b981999-6e5c-4dc5-bed9-881858ed56c6
@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Frontend HTML artifact ready

The latest frontend build uploaded the frontend-dist artifact for PR #1860. Use the VS Code button below to open this PR with GitHub Artifacts Explorer and browse the built HTML locally.

VS Code: Open PR #1860 artifacts

This comment updates automatically when a new frontend build artifact is uploaded.

@IEvangelist
David Pine (IEvangelist) merged commit 831b8a1 into release/17.0 Oct 10, 2026
16 checks passed
@IEvangelist
David Pine (IEvangelist) deleted the ievangelist-release-navigation-and-consent branch October 10, 2026 00:37
David Pine (IEvangelist) added a commit that referenced this pull request Oct 14, 2026
The release branch adds footer-main padding on mobile (#1860), which pushes
the homepage 1px over the 12,700px budget set on main.

Co-authored-by: Copilot App <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants