Problem/Motivation
The main branch dropped the Article and Basic page content types recently. If a user is setting up their site and they get onto admin/config/workflow/workflows/manage/editorial?destination=/admin/config/workflow/workflows and then click the Select button for content types in the This workflow applies to section they see an empty dialog modal:

The same problem applies to taxonomies, out of the box, does not provide any default vocabulary anymore.
Steps to reproduce
- drop the database and install a fresh site based on the current main branch
- enable the content moderation module
- go onto
admin/config/workflow/workflows/manage/editorial?destination=/admin/config/workflow/workflows - click the
Selectbutton for Content types in theThis workflow applies tosection
Proposed resolution
Add the same text like on admin/structure/types if there are no content type available to select (the same pattern should be applied if there are no media type, content block types, or taxonomy term types - and the labels of the following example for content types adjusted accordingly) :
No content types available. Add content type.
"Add content type" should also be a link pointing to admin/structure/types/add
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| applies_to.jpg | 54.56 KB | rkoller |
Comments
Comment #2
rkollerComment #3
rkollerComment #4
rkollerComment #5
rkolleradded the detail to the problem/motivation section that
/admin/structure/taxonomydoes not have any default vocabulary anymore for the standard profile and fixed the screenshot in the issue summaryComment #6
rkollerComment #7
rkollerClosing this issue as duplicate for a more recent one (#3614140: Add helpful link if there are no content types) that already got a MR available.