-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Socket Twig UI #16365
Socket Twig UI #16365
Conversation
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.
Result is far superior to the previous regarding the design.
I'm still a bit annoyed seeing a lot of content in renderFromStringTemplate
. This method should help with small twig code. The part in showForLocation
seems very big for that.
Example, part in showListForItem
is fine, location one is, I think, too big.
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.
See @orthagh comment
I cleaned up the UI some more. The form to add sockets from a location and form to add sockets from an item are now the same. Adding from an item no longer shows a button that takes you to another page to add the socket(s). |
666518b
to
7a8c1db
Compare
7a8c1db
to
202bf06
Compare
Moved Socket-related UI to Twig templates.
Redesigned the form shown on the Sockets tab of Locations. Instead of two forms being shown at the same time, one for adding a single socket and another for adding multiple, there is now only a single form which can switch modes using a slider. For multi-add mode, I also added placeholder text for the two name textboxes to make it clearer to the user how the names are built.