-
Notifications
You must be signed in to change notification settings - Fork 39
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
[UX] Revamp the Syslog settings form #4615
Comments
Now, for the rabbit holes I've mentioned in my previous comment...
|
...I can see someone chiming in to say "just leave things as they are, with the default fieldset style". If we do that, then we'd end up with this: ...which as I mentioned earlier, makes it look as though that fieldset is holding some stand-alone setting. So I've tried to put the text area and the "Replacement variables" in a non-collapsible fieldset, to group them together. The result is this: This conveys the grouping much clearer, but the "Syslog entries" label of the parent fieldset provides no value, and eats up vertical space on the form, which defeats the purpose of this issue 😓 ...so I have tried to hide it with So should we group things, and hide the fieldset label via CSS, then add a |
...ooh ooh ooh, did I mention that the descriptions of the syslog variables were not translatable before, and now they are? 😉 PS: also removed some extraneous spaces between key/values in arrays in syslog.module, that were breaking our coding standards + removed reference to help text being added via the Help module (which we have removed in Backdrop). |
PR up for review/feedback: backdrop/backdrop#3303 |
...I will also see if I can make it so that these variables can be added via a modal, like the one we use for token replacement. In that case, the whole fieldset can go away, and we can add a "variable browser" link in the help text of the text area. |
There's at least one typo and conflict that needs resolving. |
Thanks for reviewing @BWPanda 🙏🏼 ...sorry for taking long to reply, but I've updated the PR now. Here's where it's at currently: Summary of changes:
This is ready for review/testng/feedback. |
Just gonna link this here: #1260 |
Enable the syslog module -> navigate to
/admin/config/development/logging
That list makes the form unnecessarily long. I propose that for consistency, we re-use the same UI pattern as the one used for the "Rewrite the output of this field" option in the Views UI:
The text was updated successfully, but these errors were encountered: