-
-
Notifications
You must be signed in to change notification settings - Fork 180
Description
Description
There are several page sections in my site.yml. The draft section normally shows a "+Add" button next to it, where I can create new pages. When I add a page blueprint with a create dialog with status: listed
and it's available as a template in the draft section, the add button is gone.
This seems to be caused because the section only lists drafts and that might collide with the status:listed. When I have a draft section that is not restricted to certain templates, this behavior is very confusing.
Expected behavior
The add button should still be available when I have blueprints with status: listed even though they then won't appear in the list after creation.
Screenshots


To reproduce
Create a draft section in site.yml:
drafts:
type: pages
headline: Entwürfe
status: draft
image: icon
create a page blueprint with a create dialog:
create:
redirect: false
status: listed
slug: '{{ page.link }}'
title:
label: Bookmark
fields:
- link
- bookmarkTags
Open the panel, the add button is gone.
Comment out the status: listed part and it's there again
This happens everywhere where the page blueprint with the create dialog is available.
Your setup
Kirby Version
K 5.0.3
PHP 8.3.23
Your system (please complete the following information)
- Device: Mac
- OS: macOS
- Browser: Arc
- Version: 1.106.0