@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<?php
2
3final class PhabricatorFactApplication extends PhabricatorApplication {
4
5 public function getShortDescription() {
6 return pht('Chart and Analyze Data');
7 }
8
9 public function getName() {
10 return pht('Facts');
11 }
12
13 public function getBaseURI() {
14 return '/fact/';
15 }
16
17 public function getIcon() {
18 return 'fa-line-chart';
19 }
20
21 public function getApplicationGroup() {
22 return self::GROUP_UTILITIES;
23 }
24
25 public function getRoutes() {
26 return array(
27 '/fact/' => array(
28 '' => 'PhabricatorFactHomeController',
29 'chart/(?P<chartKey>[^/]+)/(?:(?P<mode>draw)/)?' =>
30 'PhabricatorFactChartController',
31 'object/(?<phid>[^/]+)/' => 'PhabricatorFactObjectController',
32 ),
33 );
34 }
35
36}