Adds authorPHID to panels so we can default to the panels you made.
Details
Details
- Reviewers
epriestley - Commits
- rPc03a412d5c4d: Add authorPHID to Dashboard Panels
Run upgrade, visit manage panels, see my panels. Create a new panel. Edit a panel.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- panel-author (branched from master)
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 14871 Build 19468: Run Core Tests Build 19467: arc lint + arc unit
Event Timeline
Comment Actions
Oh, actually, I think there's a missing workflow. Does this work?
- Edit someone else's dashboard.
- Choose "make a copy".
- You should become the author of all the copied panels, but I think you won't.
src/applications/dashboard/storage/PhabricatorDashboardPanel.php | ||
---|---|---|
37–39 | Oh, this probably needs to take a user and reset the authorPHID. |
src/applications/dashboard/storage/PhabricatorDashboardPanel.php | ||
---|---|---|
40 | Should be $user->getPHID()? |