Skip to content

Conversation

ncamera
Copy link
Collaborator

@ncamera ncamera commented May 3, 2025

Changes we propose in this PR:

  • Code blocks are now more compact and optimized, but also contain more information of how to implement the use case.

  • They now provide a way to visualize the example in a "compact" mode, where only the template is displayed.

  • The initial load performance has been improved by reducing the CLS.

  • Some dependencies have been updated and others have been removed as they were not used.

Previously:

image

Now (complete):

image

Now (compact):

image

@ncamera ncamera added documentation Improvements or additions to documentation dependencies Pull requests that update a dependency file showcase Work related to improving the showcase of the design systems labels May 3, 2025
@ncamera ncamera changed the title [showcase] Refactor the code block render to improve the results and optimize the showcase to improve the initial load performance [showcase] Refactor the code block renders to improve the results and optimize initial load performance May 3, 2025
@ncamera ncamera merged commit e90d937 into main May 3, 2025
6 checks passed
@ncamera ncamera deleted the feat/template-render-and-code-blocks branch May 3, 2025 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation showcase Work related to improving the showcase of the design systems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant