- Issue was unassigned.
- Status changed to Fixed
almost 2 years ago 2:02pm 19 January 2023 Automatically closed - issue fixed for 2 weeks with no activity.
In some complex projects we can have a ton of patterns. That makes their preview and their selection quite complicated.
Now
#3311464: Sort UI Pattern definitions →
has been committed, things are better but I believe we could do even better by allowing pattern creators to define the group their pattern belong to, like it can be done in modules definitions for example.
Follow Core's handling of modules' packages and allow patterns to be assigned to a group in their definition.
When a pattern has no group, assign it to the "- Other -" group.
If the only existing group is the "- Other -" one, consider that there is no group at all.
Alter the /patterns
controller to cluster patterns links by group and add the group name in the pattern definition detail.
Alter the patterns select lists to use groups as optgroup
elements.
Groups should always be sorted alphabetically and patterns should also be sorted alphabetically within each group.
Fixed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed - issue fixed for 2 weeks with no activity.