Skip to content

feat(web): introduce stability overview#644

Open
AugustinMauroy wants to merge 5 commits intomainfrom
augu-stability-overview-web
Open

feat(web): introduce stability overview#644
AugustinMauroy wants to merge 5 commits intomainfrom
augu-stability-overview-web

Conversation

@AugustinMauroy
Copy link
Member

@AugustinMauroy AugustinMauroy commented Mar 5, 2026

Description

introduce stability overview on new web generator

Validation

It's should be cool 😎

Related Issues

Close #357

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run node --run test and all tests passed.
  • I have check code formatting with node --run format & node --run lint.
  • I've covered new added functionality with unit tests if necessary.

Copilot AI review requested due to automatic review settings March 5, 2026 09:15
@AugustinMauroy AugustinMauroy requested a review from a team as a code owner March 5, 2026 09:15
@vercel
Copy link

vercel bot commented Mar 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
api-docs-tooling Ready Ready Preview Mar 5, 2026 9:44pm

Request Review

@codecov
Copy link

codecov bot commented Mar 5, 2026

Codecov Report

❌ Patch coverage is 75.40984% with 45 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.93%. Comparing base (acb4c34) to head (83203ee).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/generators/jsx-ast/generate.mjs 0.00% 24 Missing ⚠️
src/generators/jsx-ast/utils/buildContent.mjs 12.50% 21 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #644      +/-   ##
==========================================
+ Coverage   75.90%   75.93%   +0.02%     
==========================================
  Files         145      147       +2     
  Lines       13735    13910     +175     
  Branches      992     1001       +9     
==========================================
+ Hits        10426    10562     +136     
- Misses       3303     3342      +39     
  Partials        6        6              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link

github-actions bot commented Mar 5, 2026

web Generator

File Base Head Diff
documentation.html 36.92 KB 50.38 KB +13.46 KB (+36.44%)
documentation.js 9.74 KB 21.57 KB +11.83 KB (+121.41%)
styles.css 137.01 KB 141.80 KB +4.79 KB (+3.50%)
index.js 9.69 KB 9.70 KB +15.00 B (+0.15%)
embedding.js 37.29 KB 37.30 KB +5.00 B (+0.01%)
intl.js 37.08 KB 37.08 KB +5.00 B (+0.01%)
synopsis.js 15.72 KB 15.72 KB +5.00 B (+0.03%)

@AugustinMauroy AugustinMauroy marked this pull request as draft March 5, 2026 09:22
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Introduces a “Stability Overview” table to the new web generator output, mirroring the legacy generator’s ability to render a stability summary on the “About”/documentation page when slot tags are present.

Changes:

  • Add StabilityOverview UI component (CSS + JSX) and register it in web JSX import mapping.
  • Precompute and pass stability overview entries through the jsx-ast generator pipeline, injecting the table when the slot tag is present.
  • Ensure the web generator creates the output directory before writing HTML/JS/CSS artifacts.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/generators/web/ui/components/StabilityOverview/index.module.css Adds minimal layout styling for the stability overview table and badge cell.
src/generators/web/ui/components/StabilityOverview/index.jsx Implements the stability overview table UI using Badge tooltips.
src/generators/web/generate.mjs Creates config.output directory before emitting generated files.
src/generators/web/constants.mjs Registers StabilityOverview in JSX_IMPORTS for bundling/import generation.
src/generators/jsx-ast/utils/buildContent.mjs Threads stability overview entries through processEntry and injects the component when slot tags are present.
src/generators/jsx-ast/generate.mjs Precomputes stability overview data once and passes it to workers via the extra stream context.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@AugustinMauroy AugustinMauroy marked this pull request as ready for review March 5, 2026 21:44
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.

Generating the Stability Overview

3 participants