RFC: Modular Dashboards #11862
Replies: 13 comments 5 replies
-
What an AMAZING feature and the first draft and video is so promising. Regarding the UI, Metabase is using a Something nice @ Metabase which might also be missing in terms of features is the possibility to filter the result of the whole dashboard based on a field (which could be a date [or a range], a store, a user, etc), not only one graph. Thanks a lot, already excited to see that released! 🔥 |
Beta Was this translation helpful? Give feedback.
-
Really love your approach to make the dashboard more powerful. I've been designing dozens of dashboards and hope my feedback as a Design Engineer can help. We're thinking of a 12 column CSS grid. Any feedback on this? Let’s say you want to create a layout where the first row only has 6 columns used, but you want to start another row and have that row only use 4 columns (or similar). You might want to have control over which rows to place these components. The config API right now does not allow for row-based configuration. We’re thinking that things would just flow horizontally. What could we do here? Should components take up 100% of the available vertical space within a row? Should we define a more robust CSS grid pattern, or should we stick to a simpler column-based CSS grid? What are some examples of other dashboards that allow you to build your own layouts in a nice way? What tool does everyone like? Thanks for your work! Looking forward. Let me know, if you need any more insights. |
Beta Was this translation helpful? Give feedback.
-
This is awesome!! 🚀 Should components take up 100% of the available vertical space within a row? Row-based issues |
Beta Was this translation helpful? Give feedback.
-
This would be amazing! Just adds to the current modularity of Payload. Looking forward to it |
Beta Was this translation helpful? Give feedback.
-
Looks good. But I think most people need that payload can build normal admin dashboard, not modular dashboard that admin content of frontend. |
Beta Was this translation helpful? Give feedback.
-
This feature would be amazing. Currently we have custom components for all of this, but this would help sooo much. Please let this be true. |
Beta Was this translation helpful? Give feedback.
-
What are some examples of other dashboards that allow you to build your own layouts in a nice way?
|
Beta Was this translation helpful? Give feedback.
-
This is a really cool idea, super excited about this! What are some examples of other dashboards that allow you to build your own layouts in a nice way? What tool does everyone like? I have wanted to create a dashboard-like layout before and came across react-grid-layout. I didn't end up using it but seems like a solid package and might be worth looking into. |
Beta Was this translation helpful? Give feedback.
-
Frappe provides exactly what your describing here. Being able to add custom components would be such a huge boost in Payload. I'm here for it. |
Beta Was this translation helpful? Give feedback.
-
looks good, 12 column CSS grid is the norm & column-based CSS grid is fine. |
Beta Was this translation helpful? Give feedback.
-
*By "any size" I mean within the discrete spaces of the grid. |
Beta Was this translation helpful? Give feedback.
-
This would be incredible. Current Payload dashboard has poor UX. |
Beta Was this translation helpful? Give feedback.
-
This would be an awesome feature! The part of this that really jumps out at me is the ability to modify the For example, I would love to use a custom title component in the Document View but right now I would need to replace the entire Document View. Not exactly what this RFC is getting at but you mentioned that as part of the value prop here related to the dashboard so just calling out that I would love to see that in other views too! |
Beta Was this translation helpful? Give feedback.
-
Background
For a long time now, we’ve been wanting to make our dashboard (
/admin
) more powerful. Right now it’s pretty barebones. Yes, you can customize the entireDashboard
component, but it would be great if we were to be able to offer more functionality out of the box without having to completely build a customDashboard
component yourselves. For this, we’re considering a new feature calledDashboard Components
.Also, we’re working on a lot of new features right now like Folder View, which could be useful to surface in some manner within the Dashboard. Think about use cases like “recently viewed folders” or similar.
We’ve been exploring an idea where we could come up with a modular dashboard, similar to how iOS Widgets work. You can add Widgets to iOS and each widget has customization capabilities to render in different sizes, different positions, etc.
What if we could design a system like that into Payload’s dashboard? We could then ship a variety of built-in Dashboard components that you can enable / use, but you could also easily build your own and even install them via plugins.
Here’s an in-progress design:
Screen.Recording.2025-03-25.at.11.15.27.AM.mov
How it would work
Each block would have its own set of settings, which would be just Payload fields. Defaults are specified on the config. A user could configure their own Dashboard Components’ settings, which would be stored in user preferences, in the same shape that they are defined on the config.
You could enter Dashboard “edit” mode and then fine-tune the layout, but also drill into each block’s settings via a modal.
We would specify that block responsiveness should use container queries for all styles, which would then allow the blocks to size / resize accordingly based on container width, rather than by using media queries.
Payload could ship with a few built-in Dashboard components:
Possible Implementation
Open Questions
Conclusion
There's a lot of possibilities with this level of customization, so we would love to hear your feedback regarding the design and implementation of this feature!
Beta Was this translation helpful? Give feedback.
All reactions