Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live code editor for UI docs #2351

Merged
merged 8 commits into from
Nov 3, 2023
Merged

Live code editor for UI docs #2351

merged 8 commits into from
Nov 3, 2023

Conversation

charlesBochet
Copy link
Member

@charlesBochet charlesBochet commented Nov 3, 2023

This PR introduces a live code editor in our documentation. The goal is to build ui.twenty.com that would reflect our component library.

Contains:

  • SandPack setup
  • a factored SandPackEditor
  • a POC for the Checkmark component
  • tsup to build a library out of our @/ui front folder (later, we will export our ui components in their own library!)
image

@charlesBochet charlesBochet changed the title Docusaurus sandpack test Live code editor for UI docs Nov 3, 2023
@charlesBochet charlesBochet merged commit e70ef58 into main Nov 3, 2023
10 checks passed
@charlesBochet charlesBochet deleted the docusaurus-sandpack-test branch November 3, 2023 22:09
@charlesBochet charlesBochet mentioned this pull request Nov 30, 2023
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