@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Rename `PhabricatorDashboardPanelType` subclasses for consistency

Summary: Ref T5655.

Test Plan: `grep`

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T5655

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

+10 -13
+6 -6
src/__phutil_library_map__.php
··· 1625 1625 'PhabricatorDashboardPanelTransactionEditor' => 'applications/dashboard/editor/PhabricatorDashboardPanelTransactionEditor.php', 1626 1626 'PhabricatorDashboardPanelTransactionQuery' => 'applications/dashboard/query/PhabricatorDashboardPanelTransactionQuery.php', 1627 1627 'PhabricatorDashboardPanelType' => 'applications/dashboard/paneltype/PhabricatorDashboardPanelType.php', 1628 - 'PhabricatorDashboardPanelTypeQuery' => 'applications/dashboard/paneltype/PhabricatorDashboardPanelTypeQuery.php', 1629 - 'PhabricatorDashboardPanelTypeTabs' => 'applications/dashboard/paneltype/PhabricatorDashboardPanelTypeTabs.php', 1630 - 'PhabricatorDashboardPanelTypeText' => 'applications/dashboard/paneltype/PhabricatorDashboardPanelTypeText.php', 1631 1628 'PhabricatorDashboardPanelViewController' => 'applications/dashboard/controller/PhabricatorDashboardPanelViewController.php', 1632 1629 'PhabricatorDashboardQuery' => 'applications/dashboard/query/PhabricatorDashboardQuery.php', 1630 + 'PhabricatorDashboardQueryPanelType' => 'applications/dashboard/paneltype/PhabricatorDashboardQueryPanelType.php', 1633 1631 'PhabricatorDashboardRemarkupRule' => 'applications/dashboard/remarkup/PhabricatorDashboardRemarkupRule.php', 1634 1632 'PhabricatorDashboardRemovePanelController' => 'applications/dashboard/controller/PhabricatorDashboardRemovePanelController.php', 1635 1633 'PhabricatorDashboardRenderingEngine' => 'applications/dashboard/engine/PhabricatorDashboardRenderingEngine.php', 1636 1634 'PhabricatorDashboardSchemaSpec' => 'applications/dashboard/storage/PhabricatorDashboardSchemaSpec.php', 1637 1635 'PhabricatorDashboardSearchEngine' => 'applications/dashboard/query/PhabricatorDashboardSearchEngine.php', 1636 + 'PhabricatorDashboardTabsPanelType' => 'applications/dashboard/paneltype/PhabricatorDashboardTabsPanelType.php', 1637 + 'PhabricatorDashboardTextPanelType' => 'applications/dashboard/paneltype/PhabricatorDashboardTextPanelType.php', 1638 1638 'PhabricatorDashboardTransaction' => 'applications/dashboard/storage/PhabricatorDashboardTransaction.php', 1639 1639 'PhabricatorDashboardTransactionEditor' => 'applications/dashboard/editor/PhabricatorDashboardTransactionEditor.php', 1640 1640 'PhabricatorDashboardTransactionQuery' => 'applications/dashboard/query/PhabricatorDashboardTransactionQuery.php', ··· 4815 4815 'PhabricatorDashboardPanelTransactionEditor' => 'PhabricatorApplicationTransactionEditor', 4816 4816 'PhabricatorDashboardPanelTransactionQuery' => 'PhabricatorApplicationTransactionQuery', 4817 4817 'PhabricatorDashboardPanelType' => 'Phobject', 4818 - 'PhabricatorDashboardPanelTypeQuery' => 'PhabricatorDashboardPanelType', 4819 - 'PhabricatorDashboardPanelTypeTabs' => 'PhabricatorDashboardPanelType', 4820 - 'PhabricatorDashboardPanelTypeText' => 'PhabricatorDashboardPanelType', 4821 4818 'PhabricatorDashboardPanelViewController' => 'PhabricatorDashboardController', 4822 4819 'PhabricatorDashboardQuery' => 'PhabricatorCursorPagedPolicyAwareQuery', 4820 + 'PhabricatorDashboardQueryPanelType' => 'PhabricatorDashboardPanelType', 4823 4821 'PhabricatorDashboardRemarkupRule' => 'PhabricatorObjectRemarkupRule', 4824 4822 'PhabricatorDashboardRemovePanelController' => 'PhabricatorDashboardController', 4825 4823 'PhabricatorDashboardRenderingEngine' => 'Phobject', 4826 4824 'PhabricatorDashboardSchemaSpec' => 'PhabricatorConfigSchemaSpec', 4827 4825 'PhabricatorDashboardSearchEngine' => 'PhabricatorApplicationSearchEngine', 4826 + 'PhabricatorDashboardTabsPanelType' => 'PhabricatorDashboardPanelType', 4827 + 'PhabricatorDashboardTextPanelType' => 'PhabricatorDashboardPanelType', 4828 4828 'PhabricatorDashboardTransaction' => 'PhabricatorApplicationTransaction', 4829 4829 'PhabricatorDashboardTransactionEditor' => 'PhabricatorApplicationTransactionEditor', 4830 4830 'PhabricatorDashboardTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
+1 -3
src/applications/dashboard/paneltype/PhabricatorDashboardPanelTypeQuery.php src/applications/dashboard/paneltype/PhabricatorDashboardQueryPanelType.php
··· 1 1 <?php 2 2 3 - final class PhabricatorDashboardPanelTypeQuery 3 + final class PhabricatorDashboardQueryPanelType 4 4 extends PhabricatorDashboardPanelType { 5 5 6 6 public function getPanelTypeKey() { ··· 63 63 } 64 64 } 65 65 66 - 67 66 public function renderPanelContent( 68 67 PhabricatorUser $viewer, 69 68 PhabricatorDashboardPanel $panel, ··· 107 106 108 107 return $engine->renderResults($results, $saved); 109 108 } 110 - 111 109 112 110 public function adjustPanelHeader( 113 111 PhabricatorUser $viewer,
+2 -3
src/applications/dashboard/paneltype/PhabricatorDashboardPanelTypeTabs.php src/applications/dashboard/paneltype/PhabricatorDashboardTabsPanelType.php
··· 1 1 <?php 2 2 3 - final class PhabricatorDashboardPanelTypeTabs 3 + final class PhabricatorDashboardTabsPanelType 4 4 extends PhabricatorDashboardPanelType { 5 5 6 6 public function getPanelTypeKey() { ··· 12 12 } 13 13 14 14 public function getPanelTypeDescription() { 15 - return pht( 16 - 'Use tabs to switch between several other panels.'); 15 + return pht('Use tabs to switch between several other panels.'); 17 16 } 18 17 19 18 public function getFieldSpecifications() {
+1 -1
src/applications/dashboard/paneltype/PhabricatorDashboardPanelTypeText.php src/applications/dashboard/paneltype/PhabricatorDashboardTextPanelType.php
··· 1 1 <?php 2 2 3 - final class PhabricatorDashboardPanelTypeText 3 + final class PhabricatorDashboardTextPanelType 4 4 extends PhabricatorDashboardPanelType { 5 5 6 6 public function getPanelTypeKey() {