@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.

Moderize Daemons a little

Summary: Swaps out to modern UI components, update for mobile, fix some phts.

Test Plan: Test each Daemon page on desktop and mobile. Verify modern layout.

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T7427

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

+15 -12
+5 -5
src/applications/daemon/controller/PhabricatorDaemonConsoleController.php
··· 253 253 ->setNoDataString(pht('There are no upcoming event triggers.')) 254 254 ->setHeaders( 255 255 array( 256 - 'ID', 257 - 'Clock', 258 - 'Action', 259 - 'Last', 260 - 'Next', 256 + pht('ID'), 257 + pht('Clock'), 258 + pht('Action'), 259 + pht('Last'), 260 + pht('Next'), 261 261 )) 262 262 ->setColumnClasses( 263 263 array(
+2 -3
src/applications/daemon/controller/PhabricatorDaemonLogEventViewController.php
··· 23 23 ->setCombinedLog(true) 24 24 ->setShowFullMessage(true); 25 25 26 - $log_panel = new AphrontPanelView(); 26 + $log_panel = new PHUIObjectBoxView(); 27 + $log_panel->setHeaderText(pht('Combined Log')); 27 28 $log_panel->appendChild($event_view); 28 - $log_panel->setNoBackground(); 29 29 30 30 $daemon_id = $event->getLogID(); 31 31 ··· 43 43 ), 44 44 array( 45 45 'title' => pht('Combined Daemon Log'), 46 - 'device' => false, 47 46 )); 48 47 } 49 48
+5 -1
src/applications/daemon/controller/PhabricatorDaemonLogListController.php
··· 19 19 $daemon_table->setUser($request->getUser()); 20 20 $daemon_table->setDaemonLogs($logs); 21 21 22 + $box = id(new PHUIObjectBoxView()) 23 + ->setHeaderText(pht('All Daemons')) 24 + ->appendChild($daemon_table); 25 + 22 26 $crumbs = $this->buildApplicationCrumbs(); 23 27 $crumbs->addTextCrumb(pht('All Daemons')); 24 28 25 29 $nav = $this->buildSideNavView(); 26 30 $nav->selectFilter('log'); 27 31 $nav->setCrumbs($crumbs); 28 - $nav->appendChild($daemon_table); 32 + $nav->appendChild($box); 29 33 $nav->appendChild($pager); 30 34 31 35 return $this->buildApplicationPage(
+2 -3
src/applications/daemon/controller/PhabricatorDaemonLogViewController.php
··· 79 79 ->setUser($user) 80 80 ->setEvents($events); 81 81 82 - $event_panel = new AphrontPanelView(); 83 - $event_panel->setNoBackground(); 82 + $event_panel = new PHUIObjectBoxView(); 83 + $event_panel->setHeaderText(pht('Events')); 84 84 $event_panel->appendChild($event_view); 85 85 86 86 $object_box = id(new PHUIObjectBoxView()) ··· 95 95 ), 96 96 array( 97 97 'title' => pht('Daemon Log'), 98 - 'device' => false, 99 98 )); 100 99 } 101 100
+1
src/applications/daemon/view/PhabricatorDaemonLogListView.php
··· 19 19 20 20 $env_hash = PhabricatorEnv::calculateEnvironmentHash(); 21 21 $list = new PHUIObjectItemListView(); 22 + $list->setFlush(true); 22 23 foreach ($this->daemonLogs as $log) { 23 24 $id = $log->getID(); 24 25 $epoch = $log->getDateCreated();