Page MenuHomePhabricator

Dashboards - add ability to install dashboard as home
ClosedPublic

Authored by btrahan on May 19 2014, 10:47 PM.
Tags
None
Referenced Files
F15465935: D9206.id21868.diff
Thu, Apr 3, 12:22 AM
F15465202: D9206.id.diff
Wed, Apr 2, 3:56 PM
F15464195: D9206.id21873.diff
Wed, Apr 2, 7:11 AM
F15464062: D9206.id21874.diff
Wed, Apr 2, 6:04 AM
F15462434: D9206.id.diff
Tue, Apr 1, 3:07 PM
F15461923: D9206.diff
Tue, Apr 1, 12:21 PM
F15406625: D9206.id21873.diff
Tue, Mar 18, 12:56 PM
F15386807: D9206.id21868.diff
Sat, Mar 15, 1:19 AM
Subscribers
Tokens
"Mountain of Wealth" token, awarded by epriestley.

Details

Summary

See title. Adds PhabricatorDashboardInstall data object which scopes installs to objectPHID + applicationClass. This is because we already have a collision for user home pages and user profiles. Assume only one dashboard per objectPHID + applicationClass though at the database level.

Fixes T5076.

Test Plan

From dashboard view, installed a dashboard - success! Went back to dashboard view and uninstalled it!

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

btrahan retitled this revision from to Dashboards - add ability to install dashboard as home.
btrahan updated this object.
btrahan edited the test plan for this revision. (Show Details)
btrahan added reviewers: epriestley, chad.

start home page

Screen_Shot_2014-05-19_at_3.46.02_PM.png (1×2 px, 606 KB)

I like me this dashboard - install flow 1

Screen_Shot_2014-05-19_at_3.45.40_PM.png (1×2 px, 581 KB)

install flow 2

Screen_Shot_2014-05-19_at_3.45.45_PM.png (1×2 px, 556 KB)

installed !

Screen_Shot_2014-05-19_at_3.45.51_PM.png (1×2 px, 692 KB)

uninstall flow 1

Screen_Shot_2014-05-19_at_3.45.55_PM.png (1×2 px, 582 KB)

uninstall flow 2

Screen_Shot_2014-05-19_at_3.45.58_PM.png (1×2 px, 550 KB)

uninstalled - back to the start

Screen_Shot_2014-05-19_at_3.46.02_PM.png (1×2 px, 606 KB)

epriestley edited edge metadata.

Uninstall?!? What is this, the year 3,000?!

This revision is now accepted and ready to land.May 19 2014, 10:59 PM
btrahan edited edge metadata.

...even support install dashboard A then install dashboard B...!

tested above and it now works

btrahan updated this revision to Diff 21874.

Closed by commit rP5f33aa5b4f6a (authored by @btrahan).