Alias prefix on document type folders #12840
matthewcare
started this conversation in
Features and ideas
Replies: 1 comment 1 reply
-
I think it could be useful, but what if you move a type from one folder to another, should it then change the alias to match the new folders prefix? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Proposal:

When creating folders under "Documnet Types" you have the option of providing an alias prefix.
For example:

Here "element" is automatically applied to the generated alias.
This prefix will apply to everything created in that folder, sub folders which also supply a value will take presidence.
I personally prefer prefixing the generated classes with thier designation
elementBlaBla
,compositionBlaBla
,documentTypeHomePage
to make file structure a little easier to navigate.I've already experimented with the viability, and have a good proof of concept of it working, but I was wondering if people would actually find the feature useful. If so I'll finish it up, and open a PR.
Beta Was this translation helpful? Give feedback.
All reactions