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
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
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 | ||
---|---|---|
38–41 | Oh, this probably needs to take a user and reset the authorPHID. |
src/applications/dashboard/storage/PhabricatorDashboardPanel.php | ||
---|---|---|
41 | Should be $user->getPHID()? |