Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to hide partials from the "add" modal #222

Closed
Zoramite opened this issue Aug 11, 2021 · 0 comments · Fixed by #233
Closed

Ability to hide partials from the "add" modal #222

Zoramite opened this issue Aug 11, 2021 · 0 comments · Fixed by #233
Assignees
Labels
enhancement Small feature update or improvement

Comments

@Zoramite
Copy link
Member

Some partials are created to be used by the templates, not the users (ex: header and footer) or may be phased out and replaced by a new partial but still need to be able to edited.

We can update the partial editor config to allow a config for isHidden. When the partial is marked as isHidden then it will not appear in the list of available partials in the add dialog, but still can be edited if it already is in use.

@Zoramite Zoramite added the enhancement Small feature update or improvement label Aug 11, 2021
@Zoramite Zoramite self-assigned this Aug 13, 2021
Zoramite added a commit that referenced this issue Aug 13, 2021
Allows the partial to be hidden from the partial list (ex: when adding a new partial to a page).

Also adds a priority option to be able to give priority to specific partials. For example, making the spacer partial appear first in the list.

Fixes #222
Zoramite added a commit that referenced this issue Aug 13, 2021
Allows the partial to be hidden from the partial list (ex: when adding a new partial to a page).

Also adds a priority option to be able to give priority to specific partials. For example, making the spacer partial appear first in the list.

Fixes #222
Zoramite added a commit that referenced this issue Aug 13, 2021
Allows the partial to be hidden from the partial list (ex: when adding a new partial to a page).

Also adds a priority option to be able to give priority to specific partials. For example, making the spacer partial appear first in the list.

Fixes #222
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Small feature update or improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant