When creating a Dashboard Text Panel, from example from here:
http://phorge.localhost/dashboard/panel/edit/?panelType=text
When you change its Description, you see this internal transaction (but you must have Developer Mode):
foo.bar edited this object (transaction type "text.text").
Screenshot:
Instead, we should show something else.
Troubleshooting
It seems a default phrase generated by PhabricatorApplicationTransaction:
I'm quite sure that any edit should not touch that file, but should create something inside this directory:
https://we.phorge.it/source/phorge/browse/master/src/applications/dashboard/xaction/panel/
Probably there is a missing method getTitle() in PhabricatorDashboardTextPanelTextTransaction:
Proposal n. 1
diff --git a/src/applications/dashboard/xaction/panel/PhabricatorDashboardTextPanelTextTransaction.php b/src/applications/dashboard/xaction/panel/PhabricatorDashboardTextPanelTextTransaction.php index 1822810c05..0dd417e0f5 100644 --- a/src/applications/dashboard/xaction/panel/PhabricatorDashboardTextPanelTextTransaction.php +++ b/src/applications/dashboard/xaction/panel/PhabricatorDashboardTextPanelTextTransaction.php @@ -9,6 +9,12 @@ final class PhabricatorDashboardTextPanelTextTransaction return 'text'; } + public function getTitle() { + return pht( + '%s updated the panel text.', + $this->renderAuthor()); + } + public function newRemarkupChanges() { $changes = array();
Proposal n. 2
...