Skip to content

Conversation

@Yeom-JinHo
Copy link
Contributor

Description

This PR focuses on fixing component registry issues and improving recent pages functionality in the documentation system.
The changes address missing component entries and enhance the user experience by filtering out invalid components.

Changes

  • Component Registry Fix: Added missing SPARKLES_SECTION and SPARKLES_BRANDING components to AllComponents array.
  • Sparkles Title Variants: Added 4 missing SPARKLES_TITLE variants (SPARKLES_TITLE, SPARKLES_TITLE2, SPARKLES_TITLE3, SPARKLES_TITLE4) to the registry.
  • IframeComponentPreview Resolution: Fixed component lookup failures in MDX files that were causing "component not found" errors.
  • Recent Pages Filtering: Enhanced getRecentPages function to only return valid components that exist in DocsNavigationCategories.
  • Data Validation: Added filtering logic to prevent invalid or non-existent components from appearing in recent pages.
  • Documentation Rendering: Ensured all sparkles components referenced in MDX files are properly registered and accessible.

Motivation

  • Documentation Integrity: Fix critical rendering issues in sparkles component documentation.
  • User Experience: Resolve "component not found" errors and improve recent pages functionality.
  • Component Registry Consistency: Ensure all components referenced in MDX files are properly registered.
  • Data Quality: Filter out invalid components from recent pages to prevent broken navigation.

@naymurdev naymurdev merged commit 1f2d043 into ui-layouts:main Oct 10, 2025
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