decaporg / decaporg/decap-cms

"New page" button shouldn't show for collections that it doesn't work for

Open
#4,255 1 comment 0 reactions 0 assignees View on GitHub
area: configuration area: ui/collection type: feature
Dominant language
JavaScript
Stars
19.4k
Forks
3.1k
Avg merge
1d 14h
Merged PRs (30d)
9

Description

**Is your feature request related to a problem? Please describe.**
In the Netlify forum, someone was trying to use "New page" on a `file` collection. Clicking the button returned a blank page. This is by design, not an error, but maybe we could make this more intuitive for people.

**Describe the solution you'd like**
Don't show "New page" button on collection types it won't work for.

**Additional context**
https://community.netlify.com/t/click-new-page-shows-empty-page/21337/5

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.