2.0 Admin UI Design Updates #3217
Replies: 9 comments 13 replies
-
I was late to the Discord conversation 🥲 But I love those proposals! And Live Preview is going to be a big selling point to customers that are stubborn when migrating from WordPress, so I'm very excited about it. The only area where I believe many of the CMS's that I have tried lack or don't feel as intuitive is with the localization editor. If my non-technical editor has to remember that they're currently editing content for Spanish, it opens up the possibility of them starting to write the content and realize midway through that they are in the wrong language. My favorite approach has been how Directus managed it. They show an icon with the current locale right besides the label of the fields that support localization, so you always know which locale is selected and which fields support localization as well. And something I find useful is that if you click on that icon, it opens a drop-down with the available locales and which haven't been filled, but if you click on them, it opens the field side by side so you can compare the content between languages. That would help for translating content on-the-go since you can see what you wrote for the English version while writing for the Spanish one. |
Beta Was this translation helpful? Give feedback.
-
Hi! Thanks for the Community Call; that was exciting to see what the team was up to and to be able to interact a bit. Just a thought but what if the scrolled version in the multiple toolbar approach was just a tad more like the universal bar? At least the views and locale? I could see how having the current locale(s) always visible could be beneficial while editing the content. These two could appear in the sticky bar as the other toolbars collapse while scrolling down, and disappear as we scroll up. That way, the scrolled version is (almost) just as complete as the universal one. At the same time, if these options are just a scroll up away, maybe it's not that important to see them at all time. And it might be too much next to the buttons. Food for thought. |
Beta Was this translation helpful? Give feedback.
-
These are some very exciting changes! I wasn't able to make it to the community call, unfortunately so I apologize if this was already brought up/mentioned. I've been using PayloadCMS for my eCommerce platform, which has been a wonderful experience. One issue I had, however, was stale data overwriting new data in the admin UI. If a client orders on my front end, it will run a few hooks in Payload and do all the payment/processing logic there. This has been working great, but there is just one issue. Let's say I have an admin viewing/editing a client, and that same client does something to trigger an update to their account in the client collection (let's say it updates their "orders" field to keep track of all their orders). If the admin who was already viewing the page goes to save that user, it will overwrite the new changes made by the local API from the hooks triggered by the front-end user. This is potentially dangerous as data would be lost without the knowledge of the admin editing the document. This is fine for static websites/blogs that don't update often, but for collections that often update through an API, it could quickly become a problem. I explain in more detail here and propose a solution that has been working for me. I'm not sure if there's already a way to do this or if there's a better solution, but something like server-sent events would be ideal. |
Beta Was this translation helpful? Give feedback.
-
I wasn't able to make it to the community call either, but the changes that are coming here and elsewhere all look fantastic. @jacobsfletch . Nice work! |
Beta Was this translation helpful? Give feedback.
-
Hі. I offer this option. It is more compact and the tabs are visible, it is clearer for me: ![]() Default ![]() And after scroll |
Beta Was this translation helpful? Give feedback.
-
I think these are going in the right direction, and the discord chat yesterday was great fun! I do think there are a few issues with the proposed two routes though, so without trying to step on any toes, can I put some thoughts out there?
I've had a go at mocking up an alternative to try and get around these issues. They're by no means perfect, but I thought I'd add to the discussion with some visuals :) Notes
Figma link here, if anyone wants it: https://www.figma.com/proto/V2H9gDAN2aw20ZcXgKXreL/Payload-mockup?page-id=0%3A1&type=design&node-id=9-616&viewport=3180%2C1930%2C0.41&t=220143wASs0Yu4WO-1&scaling=min-zoom&mode=design |
Beta Was this translation helpful? Give feedback.
-
Only two pieces of feedback from us right now that would be 2.0 exclusive:
It would be nice if whatever solution was settled on for the publish buttons section would be flexible enough to allow for additional plugins that do workflow management and scheduled publishing. You may not always have a save/publish button and have other ones instead |
Beta Was this translation helpful? Give feedback.
-
Just got some major progress done to Admin 2.0 before the weekend, here's a quick recap:
Updated 09/22/23 by @jacobsfletch Updated 10/02/23 by @jacobsfletch
This work completes the new Admin 2.0 overhaul by ~95% or so. While we refine the remaining 5% of UI, we're officially ready to begin building Live Preview, the new API view, and much more 🚀 |
Beta Was this translation helpful? Give feedback.
-
Sorry I am late to the party. Are you guys planning on replacing admin dashboard with figma UI builder? Thats exactly what I need for the front end. Not suggesting to turn Payloadcms/admin into Elementor/WP but some page block building and style editing from the UI would benefit many. thanks |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Ahead of some big features shipping soon in Payload 2.0, we need to overhaul the general navigation within Payload's admin panel. This is primarily to make room for a new Live Preview interface, but this is also an opportunity to make serious UX gains in other areas too, and to fix all of the common pain points raised by content editors.
Here is a quick list of the design goals:
Here is a list of the features covered:
Here are the potential breaking changes as a result of this work (there isn't much):
OK let's get to the good stuff. There are two main directions that could be taken here, the first being dubbed "multiple toolbars". This is probably the strongest direction of the two, although everything shown here is subject to change (and likely will).
Multiple toolbars
The pros of this direction are mostly related to information hierarchy. UI elements are given a much stronger reasoning for their placement on the screen based on the needs of most content editors. The navigation is much more visually digestible and its very clear exactly what you're editing at any given time. Document meta and controls are deliberately placed according to their usage within a typical editing workflow. For instance, status and modified dates are prominent near the top of the screen, but duplicate, create new, and delete are nested within a dropdown. Users will typically edit documents, and these actions can also be made from elsewhere within the app, although still available on the document itself.
This setup does take up more vertical space, though, at least before scroll. The second navigation is sticky, which is super nice for those who are editing deeply nested fields, but this means that the top of the document may appear more intimidating for some.
Default:

Default (Scrolled):

Live Preview:

Live Preview (Scrolled):

Versions:

Relationships:

References:

Compact, Universal Toolbar
Probably the biggest advantage to this approach is a much simpler top area. When users land here they are not overwhelmed with tools and controls, although no controls are left-behind. This also means that the sticky menu is complete. There are no other controls that scroll away. So when editing deeply nested fields, you can still perform all document-level actions. But while this may render less and feel more digestible, non-tech users may find it harder to understand because most things are hidden away and everything is jammed together.
Default:

Default (Views Menu Open):

Default (Locales Menu Open):

Source Files
Everything here is public, feel free to take a closer look or leave a comment directly in our Figma document.
What's next
Everything designed here will not be built right away. We're going to implement this new UI strategy alongside Live Preview first. Here's what's to come at a high-level:
Community Call
Everything here was discussed today in a live stream with our Discord community. I will post a recording of that stream to this thread as soon as possible. But let's keep the conversation going! If you have any thoughts about any of this stuff I'd love to hear about it. Leave a comment or two or three and let's talk about it.
Live Preview
For more conversation around Live Preview specifically, there's a separate, ongoing discussion for that here: #3061.
Localization
We've got a bit of work yet to do around localization. Specifically, we need to:
For more on that work, follow along with this discussion: #1234
Beta Was this translation helpful? Give feedback.
All reactions