Customize the Admin Dashboard (Welcome Page) [v4]
in progress
M
Marco Wuethrich Pr
In v3 you could override the admin dashboard as follows: https://forum.strapi.io/t/customize-the-dashboard-welcome-page/939/2
This no longer works in v4, or in other words no one in the community knows how to do this.
The patch-package method is not a sustainable solution and not clean, I see that some people in the community would also like to know how to solve this in v4.
Igor Zinchenko
Why not conditional fields? it have more votes....
M
Manuel Caicedo
That's great.
Jorge Rivero
👏🏻👏🏻👏🏻👏🏻👏🏻
Niklas Winkels
in progress
Josh
Hey there. arguably this is a very low-level API but you will be able to interact with the client side router for the admin panel in v5. It's an alpha feature, but in short you can replace the entire component thats rendered as the
index
of the application: https://github.com/strapi/strapi/pull/20494 any feedback welcome.y
yoya
The present welcome page is predominantly tailored for developers, showcasing technical resources and developer oriented content. This focus, while well-intentioned, is misaligned with the reality that a large portion of Strapi users are non-technical individuals.
For example, features as last updated content, useful shortcuts, personalized tutorial notes, layout customization or even having a two welcome model pages : one for technical users and one for non technical one.
Hard to explain to a client it will display github links and dev tutorials.
r
rinzler
See also https://github.com/strapi/strapi/issues/19516 https://forum.strapi.io/t/customize-the-dashboard-welcome-page.
The community is being completely ignored.
r
rinzler
Please, at least change the default welcome page to not contain all that tech info and allow us to add our own links and text. It would actually be better to have a blank welcome page with just a "welcome" message at the top than to have all that useless or noisy info. My users are all non-tech users, so that default info is completely useless to them and it's actually just noise. Please, implement this as soon as possible, at least for this welcome page. It's so important to us. Thanks.
wtf
True ! but as said by others this shouldn't be limited to dashboard customization, in v3 you could override any part of the UI and this was really GREAT 😭
being unable to customize how relations render, how the main menu looks, the way dates render in list, etc. is really sad for a tool aimed at developers.
A
Ankit Agarwal
I am able to solve this using the below steps:
We need to override index.js for Welcome page (@strapi\admin\admin\src\pages\HomePage\index.js) once "npm i" is executed.
Steps to achieve this:-
Step 1 Define postinstall task in package.json using the below line
"scripts": {
....,
"postinstall": "node override.js",
....
}
Step 2 Create override.js file in the root folder(sibling of pacakge.json) with the content below
const { cpSync } = require("fs");
cpSync("@strapi, "node_modules/@strapi", { recursive: true });
Note:- All the files which has to overridden using the above steps
Strapi folder structure see here https://github.com/strapi/strapi/tree/main/packages/core/admin
Andrey
Ankit Agarwal: Hello, please give me an example. Thank you
Load More
→