-
-
Notifications
You must be signed in to change notification settings - Fork 317
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
Add element groups functionality for cleaning up editors #2124
Conversation
NOTE, I haven't yet added tests, and I'm guessing the UI should be cleaned up a bit. I wanted to get feedback on whether this is a feature that might be accepted before I polish everything up. |
Do the groups support translations for their names? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the feature. But think we can improve it a bit more. Translated group names are mandatory. Also try to make use of the collection rendering and the Element and Content editor presenter classes.
Thanks for the contribution. It's really appreciated
Good call on translations and collection rendering. Updates coming soon. |
This pull request has not seen any activiy in a long time. |
@dbwinger any change for an update? |
No change or update. It's still on my TODO list. Looking back over it now, I think I'll be able to get it updated and ready for another review next week. |
c946248
to
1d51607
Compare
@tvdeyen Can you help me know what should be tested for this change? I see that |
93cf40f
to
e7e79e6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice. Thank you 🙏🏻
I have a little nit pick because of blank/present. They are costly and unnecessary.
I will try to have a look at the UI today
Really like that feature. Thanks for collaborating
8de92d8
to
0b8e4db
Compare
I still need to look into the UI. On my list |
@dbwinger I adjusted some styles. It now looks like this Working with this a bit more today, I found it irritating that groups are always collapsed. Expanded groups collapse after reload. I don't want to add persistence, but maybe we can safe the state in the session at least. |
Good idea. I just took a crack at that. |
@tvdeyen I don't mean to nag, but just thought I'd check in on this and make sure you're not waiting on me for anything. |
No, I am not waiting. The feature is done if it's done. Take your time. |
I'm not sure if I communicated effectively. I meant by this that as far as I can tell, it's "done" and ready for your review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't saw the latest commit. This looks great. Thanks
Add element groups functionality for cleaning up editors
What is this pull request for?
Adds ability to group contents/ingredients in element editors to clean up/organize elements with large numbers of contents.
Notable changes (remove if none)
Adds a
group
option tocontents
oringredients
entries inelements.yml
.Screenshots
When
elements.yml
contains:Element editor will look like this (after clicking on "Group 1" to expand):
Checklist