Skip to content

Conversation

@busbyk
Copy link
Collaborator

@busbyk busbyk commented Jan 14, 2026

Description

With #857 I hadn't realized that the modular dashboard widgets feature is always enabled now. Since we can't turn it off after version 3.69.0 we might as well convert our beforeDashboard custom component into a getting started widget.

Key Changes

  • Removes the BeforeDashboard custom component completely. Previously this had a seed button for local development. I don't believe any of us are using this anymore so I removed it. Please let me know if you were still using this and want it added back to the GettingStartedWidget.
  • Adds a GettingStartedWidget to the default dashboard widgets

How to test

Load up the admin panel and test out the modular dashboard functionality. See here for a demo video and discussion on the feature.

Screenshots / Demo video

https://www.loom.com/share/11d40f3d264a4945bfcab3e8b47c0f57

Future enhancements / Questions

We should add additional widgets! Tracking that on #280. Got ideas? Comment there.

Some change in the modular dashboard feature changed the behavior of the collections widget (i.e. the collection cards with "create" quicklinks (i.e. the plus buttons in the bottom right hand corner if the user has create access). Previously, if you selected a tenant, this would allow create access (due to https://github.com/NWACus/web/blob/main/src/access/byTenantRole.ts#L65) but now the collection cards are not updated unless you refresh the page manually. I believe we'll need to open a bug with Payload for this so keep an eye out for that.

@github-actions
Copy link

Preview deployment: https://dashboard-widgets.preview.avy-fx.org

@busbyk busbyk marked this pull request as ready for review January 14, 2026 23:11
@busbyk busbyk requested review from rchlfryn and rustynwac January 14, 2026 23:11
@rustynwac
Copy link

I think it looks great. My big picture thought is that modding the dashboard is a bit of a feature/nice to have that I was hoping to save for a little later in the spring. I have a bunch of ideas for #280 (90% of it being Posthog insights) but I don't think we need to prioritize til the spring. I need to get Posthog dialed first then can spend some time on the layout.

@busbyk
Copy link
Collaborator Author

busbyk commented Jan 14, 2026

I think it looks great. My big picture thought is that modding the dashboard is a bit of a feature/nice to have that I was hoping to save for a little later in the spring. I have a bunch of ideas for #280 (90% of it being Posthog insights) but I don't think we need to prioritize til the spring. I need to get Posthog dialed first then can spend some time on the layout.

Yea we're totally on the same page there. It's just that to use the latest Payload version we can't disable this new dashboard widgets feature so I figured we might as well make this quick cosmetic change. And it's a good example in the code of how to add a widget for when we get there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants