Skip to content

Commit 293884d

Browse files
Merge pull request #2479 from strapi/cms/CTB-revamp
Content-type Builder revamp (beta release)
2 parents bcfd3de + dc48f26 commit 293884d

File tree

3 files changed

+19
-13
lines changed

3 files changed

+19
-13
lines changed

.github/workflows/sync-content-to-next.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -405,4 +405,4 @@ EOF
405405
exit 1
406406
fi
407407
env:
408-
GITHUB_TOKEN: ${{ secrets.SYNC_MAIN_TO_NEXT }}
408+
GITHUB_TOKEN: ${{ secrets.SYNC_MAIN_TO_NEXT }}

docusaurus/docs/cms/features/content-manager.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ import ScreenshotNumberReference from '/src/components/ScreenshotNumberReference
1818

1919
From the <Icon name="feather" /> Content Manager, accessible via the main navigation of the admin panel, users can write and manage their content.
2020

21-
:::prerequisites Identity Card of the Content Manager
22-
<Icon name="user"/> **Role & permission:** Minimum "Configure view" permissions in Roles > Plugins - Content Manager. <br/>
23-
<Icon name="laptop"/> **Environment:** Available in both Development & Production environment.
24-
:::
21+
<IdentityCard>
22+
<IdentityCardItem icon="user" title="Role & permission">Minimum "Configure view" permissions in Roles > Plugins - Content Manager.</IdentityCardItem>
23+
<IdentityCardItem icon="desktop" title="Environment">Available in both Development & Production environment.</IdentityCardItem>
24+
</IdentityCard>
2525

2626
## Overview
2727

docusaurus/docs/cms/features/content-type-builder.md

+14-8
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ import ScreenshotNumberReference from '/src/components/ScreenshotNumberReference
1717

1818
From the <Icon name="layout" /> Content-type Builder, accessible via the main navigation of the admin panel, users can create and edit their content types.
1919

20-
:::prerequisites Identity Card of the Content-type Builder
21-
<Icon name="user"/> **Role & permission:** Minimum "Read" permission in Roles > Plugins - Content Type Builder. <br/>
22-
<Icon name="laptop"/> **Environment:** Available in Development environment only.
23-
:::
20+
<IdentityCard>
21+
<IdentityCardItem icon="user" title="Role & permission">Minimum "Read" permission in Roles > Plugins - Content Type Builder.</IdentityCardItem>
22+
<IdentityCardItem icon="desktop" title="Environment">Available in Development environment only.</IdentityCardItem>
23+
</IdentityCard>
2424

2525
## Overview
2626

@@ -35,6 +35,16 @@ From the <Icon name="layout" /> Content-type Builder, accessible via the main na
3535

3636
<Guideflow lightId="vkm9jeqb2p" darkId="lpnz47qtep" />
3737

38+
:::strapi Content Type Builder updates
39+
<BetaBadge /> Interface modifications and new options are available in the Content-type Builder, including:
40+
- tags to indicate the status of the fields and content types: "N" for new, "M" for modified and "D" for deleted,
41+
- an `*` beside required fields in the list view,
42+
- a drag & drop button in the list view, to reorder the fields,
43+
- and collapse button for dynamic zones and components.
44+
45+
The **Save** button has also been moved to the Content-type Builder navigation which lists all content types and components. This, along with the status tags, allows you to work on several content types and components at the same time. **Revert**, **Undo** and **Discard changes** button have also been added, which also work globally on all content types and components.
46+
:::
47+
3848
The <Icon name="layout" /> Content-type Builder allows the creation and management of content-types, which can be:
3949

4050
- Collection types: content-types that can manage several entries.
@@ -77,14 +87,10 @@ The Content-type Builder allows to create new content-types: single and collecti
7787
3. In the content-type creation window, write the name of the new content-type in the *Display name* textbox.
7888
4. Check the *API ID* to make sure the automatically pre-filled values are correct. Collection type names are indeed automatically pluralized when displayed in the Content Manager. It is recommended to opt for singular names, but the *API ID* field allows to fix any pluralization mistake.
7989
5. (optional) In the Advanced Settings tab, configure the available settings for the new content-type:
80-
8190
| Setting name | Instructions |
8291
|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------|
8392
| Draft & publish | Tick the checkbox to allow entries of the content-type to be managed as draft versions, before they are published (see [Draft & Publish](/cms/features/draft-and-publish)). |
8493
| Internationalization | Tick the checkbox to allow entries of the content-type to be translated into other locales. |
85-
<!--
86-
| Review workflows | <EnterpriseBadge /> Tick the checkbox to allow entries of the content-type to be managed through defined review stages (see [Managing Review Workflows](/cms/features/review-workflows#configuration)). |
87-
-->
8894
6. Click on the **Continue** button.
8995
7. Add and configure chosen fields for your content-type (see [Configuring fields for content-types](#configuring-fields-content-type)).
9096
8. Click on the **Save** button.

0 commit comments

Comments
 (0)