Skip to content

Improve Singleton related document actions #39

@derweili

Description

@derweili

Is your enhancement related to a problem? Please describe.

Singleton document types should only have one document. Currently its possible to add multiple documents of a singleton document type via multipel ways:

  1. Via the "new document" context menu on the top left
Image
  1. Via the "duplicate" document action while editing a singleton.
Image

Its also possible to duplicate or unpublish a singleton which should also be not allowed.

We should hide singletons from the new document context menu and hide unsupported document actions for singleton document types.

Designs

No response

Describe alternatives you've considered

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions