Skip to content

Follow the reviewed @content-types API - #369

Open
sneridagh wants to merge 1 commit into
feat/controlpanels-i18nfrom
feat/controlpanels-restapi-review
Open

sneridagh wants to merge 1 commit into
feat/controlpanels-i18nfrom
feat/controlpanels-restapi-review

Conversation

@sneridagh

@sneridagh sneridagh commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Part of #269. Stacked on #353.

The review of the plone.restapi side changed a few names and one setting. The control panel follows.

plone.restapi changes it follows

@plone/controlpanels

  • Settings tab: "Show in navigation" replaces "Can be used as a folder's default page". The capability and settings field defaultPage is now inNavigation.
  • Workflow tab: when a type's chain has more than one workflow, it says which, and that changing the workflow replaces the whole chain. WorkflowAssignment has an optional chain for it.
  • plone.restapi driver: reads content_count, in_navigation and workflow.chain.
  • Translations: the new messages in all six languages, and the default page ones removed.

Tests

Assisted-by: Claude Opus 5.5

plone.restapi's review renamed a type's item count to content_count,
replaced the default page setting with in_navigation, and reports the
whole workflow chain. The control panel follows: "Show in navigation"
replaces "Can be used as a folder's default page", and the Workflow tab
mentions the other workflows of a chain.

Assisted-by: Claude Opus 5.5

This branch has not been deployed

No deployments
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.

1 participant