Page MenuHome

Customizable dashboards
Closed, InvalidPublicTO DO


Current work is in blender-open-data/wip-dashboards.

Feedback from Sybren:

I don't really see the need to create a separate app for the dashboards. This could just as well be part of the opendata_main app, couldn't it?

In opendata_benchmarks/views/ you now explicitly get a Dashboard and pass it to the template. Would it be a nice idea to have a generic DashboardView class for this, that simply looks at a class attribute dashboard_slug?

The DashboardQuery model now requires the order field to be set. However, it doesn't even check for unique values, so all DashboardQuery objects can have the same value. This is fine, but it does make me wonder why there is no default value then.

DashboardQuery doesn't have a str() function, so they are now all just called 'DashboardQuery object'.

The 'Limit one association of each query per dashboard' todo can be handled by see

The OpendataDashboardsTests.test_create_dashboard() function doesn't seem to test anything (except Django's ORM, which we don't have to test).

Event Timeline

Francesco Siddi (fsiddi) lowered the priority of this task from 90 to Normal.Aug 11 2018, 2:04 AM
Francesco Siddi (fsiddi) created this task.
Francesco Siddi (fsiddi) renamed this task from Sortable Charts in landing page to Customizable dashboards.Oct 21 2018, 7:54 PM
Francesco Siddi (fsiddi) updated the task description. (Show Details)
Francesco Siddi (fsiddi) claimed this task.