rusackas opened a new pull request, #38253:
URL: https://github.com/apache/superset/pull/38253

   ### SUMMARY
   
   Adds an interactive, filterable UI Components overview table to the 
Developer Portal and significantly improves docs build performance.
   
   **UI Components Table:**
   - Interactive `ComponentIndex` table (modeled after `DatabaseIndex`) with 
stat cards, search, category dropdown, and sortable/filterable columns
   - Consolidates extension components into the main component generator — 
extension-compatible components appear with a purple "Extension Compatible" tag
   - Moves the table to the top of the overview page for immediate visibility
   
   **Build Performance:**
   - Enables **Docusaurus Faster** (`@docusaurus/faster`): Rspack bundler, SWC 
transpilation, SSG worker threads, persistent cache, MDX cross-compiler cache
   - Adds **smart generator caching** (`generate-if-changed.mjs`): hashes input 
files and skips unchanged generators in ~45ms — `yarn start` is now as fast as 
`yarn start:quick` when nothing has changed
   - Inlines per-page database data in generated MDX (each page embeds ~3KB 
instead of referencing shared 209KB module)
   - Removes unused `babel.config.js` (SWC handles transpilation)
   - Removes redundant webpack filesystem cache config (Rspack handles caching 
natively)
   - Removes `DEBUG=docusaurus:*` from build script
   
   **Commands:**
   | Command | Behavior |
   |---------|----------|
   | `yarn start` | Smart check (~45ms if nothing changed) + dev server |
   | `yarn start:quick` | Skip all generators, just start dev server |
   | `yarn start:full` | Force regenerate everything + dev server |
   | `yarn build` | Smart check + production build |
   | `yarn build:full` | Force regenerate everything + production build |
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   N/A — docs-only changes, no application UI affected.
   
   ### TESTING INSTRUCTIONS
   1. `cd docs && yarn install`
   2. `yarn build` — should succeed with no OOM, Rspack bundler output visible
   3. `yarn build` again — smart cache should skip all generators in ~45ms
   4. `yarn start` — visit `/developer_portal/components` to see the 
interactive table
   5. Verify component links work (e.g., click AutoComplete → navigates to 
component page)
   6. Verify category filter, search, and tag filters work
   7. Touch a story file → `yarn start` should detect the change and regenerate 
only `superset-components`
   
   ### ADDITIONAL INFORMATION
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [x] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [x] Introduces new feature or API
   - [ ] Removes existing feature or API
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to