-
-
Notifications
You must be signed in to change notification settings - Fork 826
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
AdminUX Overhaul Small Patch #2468
Conversation
Oh and I just noticed something else Looks like we need to give And give the active item anchor a &.active > a {
background: @primary-color;
font-weight: normal;
.Button-label,
.Button-icon {
color: @body-bg;
font-weight: bold;
}
} Another thing, I noticed this in the code @media @desktop, @desktop-hd { We can simplify if by using @media @desktop-up { |
A few more suggestions:
Putting it all together: https://i.imgur.com/lv8INGu.png ALSO:
|
Ideally we should leave this PR open for a week or so and see if we find anything else. |
Wouldn't it be perhaps better to have the "No Settings" text (and similar) aligned to the left, instead of being centred? On large screens, at a first glance, it seems a bit "lost" in the UI. Also, when settings and permissions are actually there, they are aligned to the left. Before: After: Maybe a more verbose message could also help (e.g. "This extension has no settings"). |
A few more comments:
|
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.
This is looking so much better!
Can you show me what you mean by this? I can't see myself. |
It looks better if the PermissionsPage Button Group elements have their top padding set to 10px instead of 8px. Also, for |
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.
Another suggestion from working on the nicknames extension: there should be an option to pass a callback to registerSetting
, which has access to the page as the execution context, and could be used to add custom settings inputs or other stuff in between settings. #2484 (comment)
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.
The "No Settings" and "No Permissions" text feels a bit too big. Maybe that could be made a bit smaller and/or shifted a tiny bit to the right?
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.
It would be great to add a generic AdminPage
class to use with ExtensionPage and other core admin pages and other core admin pages. We can then use that to add bottom paddings to the page by default.
Because extension permissions are stuck to the very bottom, and the basics page's save button as well.
That's something I'd like to see too, and furthermore, we could move |
btw, I only meant a class for now, just so that we can add the bottom padding (we could add the padding differently, but I think this would be the best way) And yes a component would be awesome, but that's something we can comeback to another time. |
ref #2409
2 small issues that were missed are patched in this PR.
AdminHeader
descriptions to fit the color scheme