Skip to content

penyaskito/dashboard-initiative

Repository files navigation

build status
Online demo by Tugboat

About the initiative

Create a new and modern Dashboard based on user needs, and define those needs per role.

The homepage of the initiative is at the Ideas issue queue. See "Enhance user experience with customizable dashboards" (was "Modern Dashboard with Role presets") on drupal.org, which provides a lot of context.

Development happens in a contrib project. Feel free to create or work on issues in that project.

Setup

Clone this repository:

git clone [email protected]:penyaskito/dashboard-initiative.git

If you are planning to use ddev, now it's a good moment for ddev start.

Then, you need to install all the dependencies using ddev composer install.

You can run ddev exec ./install.sh

For updating your env to the latest:

ddev composer update drupal/dashboard

You might need to run ddev exec ./install.sh again, as we are not providing any upgrade paths yet.

For contributing:

Go to web/modules/contrib/dashboard and ensure to set the origin:

git remote set-url origin [email protected]:project/dashboard.git

Git checkout 2.x

git co 2.x

If you can, also create a PR here applying the patch via composer.json. This helps with:

  • Running the tests, as sandboxes don't have CI enabled.
  • Get a tugboat link with a site with the patch applied where people can test the fix/improvement.
  • Giving appropiate credit here too for your contribution!

Running tests

Running all tests:

ddev exec phpunit --testsuite all