Skip to content

The open alternative to Salesforce, designed for AI.

Move UI Library into the Developers menu (#25898)

Raphaël Bosi9a8e0a1099d2
diff --git a/packages/twenty-docs/docs.json b/packages/twenty-docs/docs.json
index 67f676df2e7..0ffd37f717c 100644
--- a/packages/twenty-docs/docs.json
+++ b/packages/twenty-docs/docs.json
@@ -494,63 +494,63 @@
"developers/contribute/commands",
"developers/contribute/style-guide"
]
- }
- ]
- },
- {
- "tab": "UI Library",
- "groups": [
- {
- "group": "Guides",
- "pages": [
- "ui/getting-started",
- "ui/theming",
- "ui/tokens",
- "ui/dark-mode",
- "ui/ssr",
- "ui/accessibility"
- ]
- },
- {
- "group": "Forms",
- "pages": [
- "ui/components/input/field",
- "ui/components/input/input",
- "ui/components/input/input-group",
- "ui/components/input/textarea",
- "ui/components/input/checkbox",
- "ui/components/input/radio",
- "ui/components/input/radio-group",
- "ui/components/input/select",
- "ui/components/input/slider",
- "ui/components/input/switch"
- ]
- },
- {
- "group": "Navigation",
- "pages": [
- "ui/components/navigation/list-item",
- "ui/components/navigation/tabs"
- ]
- },
- {
- "group": "Surfaces",
- "pages": [
- "ui/components/surfaces/alert-dialog",
- "ui/components/surfaces/menu",
- "ui/components/surfaces/popover"
- ]
- },
- {
- "group": "Feedback",
- "pages": [
- "ui/components/feedback/toast"
- ]
},
{
- "group": "Typography",
+ "group": "UI Library",
"pages": [
- "ui/components/typography/text"
+ {
+ "group": "Guides",
+ "pages": [
+ "ui/getting-started",
+ "ui/theming",
+ "ui/tokens",
+ "ui/dark-mode",
+ "ui/ssr",
+ "ui/accessibility"
+ ]
+ },
+ {
+ "group": "Forms",
+ "pages": [
+ "ui/components/input/field",
+ "ui/components/input/input",
+ "ui/components/input/input-group",
+ "ui/components/input/textarea",
+ "ui/components/input/checkbox",
+ "ui/components/input/radio",
+ "ui/components/input/radio-group",
+ "ui/components/input/select",
+ "ui/components/input/slider",
+ "ui/components/input/switch"
+ ]
+ },
+ {
+ "group": "Navigation",
+ "pages": [
+ "ui/components/navigation/list-item",
+ "ui/components/navigation/tabs"
+ ]
+ },
+ {
+ "group": "Surfaces",
+ "pages": [
+ "ui/components/surfaces/alert-dialog",
+ "ui/components/surfaces/menu",
+ "ui/components/surfaces/popover"
+ ]
+ },
+ {
+ "group": "Feedback",
+ "pages": [
+ "ui/components/feedback/toast"
+ ]
+ },
+ {
+ "group": "Typography",
+ "pages": [
+ "ui/components/typography/text"
+ ]
+ }
]
}
]
diff --git a/packages/twenty-docs/navigation/base-structure.json b/packages/twenty-docs/navigation/base-structure.json
index 82fd00a2b29..0ee8ae4fe9f 100644
--- a/packages/twenty-docs/navigation/base-structure.json
+++ b/packages/twenty-docs/navigation/base-structure.json
@@ -500,70 +500,70 @@
"developers/contribute/commands",
"developers/contribute/style-guide"
]
- }
- ]
- },
- {
- "key": "uiLibrary",
- "label": "UI Library",
- "groups": [
- {
- "key": "uiGuides",
- "label": "Guides",
- "pages": [
- "ui/getting-started",
- "ui/theming",
- "ui/tokens",
- "ui/dark-mode",
- "ui/ssr",
- "ui/accessibility"
- ]
- },
- {
- "key": "uiForms",
- "label": "Forms",
- "pages": [
- "ui/components/input/field",
- "ui/components/input/input",
- "ui/components/input/input-group",
- "ui/components/input/textarea",
- "ui/components/input/checkbox",
- "ui/components/input/radio",
- "ui/components/input/radio-group",
- "ui/components/input/select",
- "ui/components/input/slider",
- "ui/components/input/switch"
- ]
- },
- {
- "key": "uiNavigation",
- "label": "Navigation",
- "pages": [
- "ui/components/navigation/list-item",
- "ui/components/navigation/tabs"
- ]
- },
- {
- "key": "uiSurfaces",
- "label": "Surfaces",
- "pages": [
- "ui/components/surfaces/alert-dialog",
- "ui/components/surfaces/menu",
- "ui/components/surfaces/popover"
- ]
- },
- {
- "key": "uiFeedback",
- "label": "Feedback",
- "pages": [
- "ui/components/feedback/toast"
- ]
},
{
- "key": "uiTypography",
- "label": "Typography",
+ "key": "uiLibrary",
+ "label": "UI Library",
"pages": [
- "ui/components/typography/text"
+ {
+ "key": "uiGuides",
+ "label": "Guides",
+ "pages": [
+ "ui/getting-started",
+ "ui/theming",
+ "ui/tokens",
+ "ui/dark-mode",
+ "ui/ssr",
+ "ui/accessibility"
+ ]
+ },
+ {
+ "key": "uiForms",
+ "label": "Forms",
+ "pages": [
+ "ui/components/input/field",
+ "ui/components/input/input",
+ "ui/components/input/input-group",
+ "ui/components/input/textarea",
+ "ui/components/input/checkbox",
+ "ui/components/input/radio",
+ "ui/components/input/radio-group",
+ "ui/components/input/select",
+ "ui/components/input/slider",
+ "ui/components/input/switch"
+ ]
+ },
+ {
+ "key": "uiNavigation",
+ "label": "Navigation",
+ "pages": [
+ "ui/components/navigation/list-item",
+ "ui/components/navigation/tabs"
+ ]
+ },
+ {
+ "key": "uiSurfaces",
+ "label": "Surfaces",
+ "pages": [
+ "ui/components/surfaces/alert-dialog",
+ "ui/components/surfaces/menu",
+ "ui/components/surfaces/popover"
+ ]
+ },
+ {
+ "key": "uiFeedback",
+ "label": "Feedback",
+ "pages": [
+ "ui/components/feedback/toast"
+ ]
+ },
+ {
+ "key": "uiTypography",
+ "label": "Typography",
+ "pages": [
+ "ui/components/typography/text"
+ ]
+ }
]
}
]
diff --git a/packages/twenty-docs/navigation/navigation.template.json b/packages/twenty-docs/navigation/navigation.template.json
index 72ccc365cf2..ec8a4e2f2a6 100644
--- a/packages/twenty-docs/navigation/navigation.template.json
+++ b/packages/twenty-docs/navigation/navigation.template.json
@@ -196,29 +196,29 @@
},
"contribute": {
"label": "Contribute"
- }
- }
- },
- "uiLibrary": {
- "label": "UI Library",
- "groups": {
- "uiGuides": {
- "label": "Guides"
- },
- "uiForms": {
- "label": "Forms"
- },
- "uiNavigation": {
- "label": "Navigation"
- },
- "uiSurfaces": {
- "label": "Surfaces"
- },
- "uiFeedback": {
- "label": "Feedback"
},
- "uiTypography": {
- "label": "Typography"
+ "uiLibrary": {
+ "label": "UI Library",
+ "groups": {
+ "uiGuides": {
+ "label": "Guides"
+ },
+ "uiForms": {
+ "label": "Forms"
+ },
+ "uiNavigation": {
+ "label": "Navigation"
+ },
+ "uiSurfaces": {
+ "label": "Surfaces"
+ },
+ "uiFeedback": {
+ "label": "Feedback"
+ },
+ "uiTypography": {
+ "label": "Typography"
+ }
+ }
}
}
}