railsadminteam / rails_admin

RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data
MIT License
7.89k stars 2.25k forks source link

Custom Dashboard View #3673

Closed aveedibya closed 3 weeks ago

aveedibya commented 7 months ago

Is your feature request related to a problem? Please describe. While the dashboard statistics can be easily switched off, we always land on a blank page when we sign in to the Admin Portal.

Describe proposed solution(s) Allow the dashboard page to be overwritten by a custom partial view.

Additional context We would like to add metrics relevant to our app, navigation links, etc. on the dashboard landing view of the Admin Portal.

codealchemy commented 7 months ago

I think the easiest way to do this at the moment is by overriding app/views/rails_admin/main/dashboard.html.erb in your app (though depending on what you'd like to present on that page you may want to override the action as well).