Skip to content

fix: remove metadata fields leading underscore#333

Open
dobromirts wants to merge 1 commit into
vnextfrom
dtsvetkov/remove-metadata-leading-underscore
Open

fix: remove metadata fields leading underscore#333
dobromirts wants to merge 1 commit into
vnextfrom
dtsvetkov/remove-metadata-leading-underscore

Conversation

@dobromirts

Copy link
Copy Markdown
Contributor

Closes #325

Frontmatter fields _description, _keywords, and _license were prefixed with underscores ,Astro's Zod schema strips unknown fields, so license: commercial never reached entry.data, leavingLicenseIndicator with no value and the heading badge invisible.

Changes

Frontmatter migration (221 files across angular + xplat)

  • _licenselicense, _descriptiondescription, _keywordskeywords
  • JP files: removed redundant EN originals below _language: ja

src/sidebar.ts

  • "Overview" leaf nodes created from parent toc entries with href + items
    (or header: true) were hardcoded without badges — they now carry
    premium: true when the parent toc entry has "premium": true

toc.json (angular EN/JP, xplat EN/JP)

  • Added "premium": true to overview/header entries whose child topics
    are already premium: Data Grid, Tree Grid, Hierarchical Grid, Pivot Grid,
    Spreadsheet, Charts, Geo Map, Excel Library, Transaction Service,
    Grids & Lists, Grids header (xplat)

@dobromirts dobromirts added the ❌ status: awaiting-test PRs awaiting manual verification label Jun 17, 2026
@viktorkombov viktorkombov added ✅ status: verified Applies to PRs that have passed manual verification and removed ❌ status: awaiting-test PRs awaiting manual verification labels Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✅ status: verified Applies to PRs that have passed manual verification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Blazor Data Pie Chart missing Premium badge in heading

2 participants