HomePhorge

Modularize dashboard layout modes (one column, two columns, etc)

Description

Modularize dashboard layout modes (one column, two columns, etc)

Summary:
Depends on D20405. Ref T13272. Currently, the PhabricatorDashboardLayoutConfig class uses a lot of switch() statements to define layout modes.

Although I'm not planning to add thousands of new layout modes, this (and upcoming changes) can be made substantially cleaner by using a standard modular approach.

(This doesn't fully remove PhabricatorDashboardLayoutConfig yet, but that will happen soon.)

Test Plan: Edited a dashboard, saw the same layout modes as before.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13272

Differential Revision: https://secure.phabricator.com/D20406

Details

Provenance
epriestleyAuthored on Apr 12 2019, 8:34 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPd0078570cc50: Convert dashboard panel storage to a format which can handle duplicates
Branches
Unknown
Tags
Unknown

Event Timeline