1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 13:30:55 +01:00

Fix some Quicksand bugs

Summary: Packages AppSearch, fixes body color, moves Differential filetree into differential package.

Test Plan: Enable quicksand. Navigate home -> differential -> diff.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D16641
This commit is contained in:
Chad Little 2016-09-30 14:55:04 -07:00
parent a3dd1eab3d
commit e498d4476d
3 changed files with 9 additions and 7 deletions
resources/celerity
src/applications/search/controller

View file

@ -9,10 +9,10 @@ return array(
'names' => array( 'names' => array(
'conpherence.pkg.css' => 'b1547973', 'conpherence.pkg.css' => 'b1547973',
'conpherence.pkg.js' => '11f3e07e', 'conpherence.pkg.js' => '11f3e07e',
'core.pkg.css' => 'b6cbe7ca', 'core.pkg.css' => 'cfc3eabe',
'core.pkg.js' => '975d6a27', 'core.pkg.js' => '975d6a27',
'darkconsole.pkg.js' => 'e7393ebb', 'darkconsole.pkg.js' => 'e7393ebb',
'differential.pkg.css' => '3fb7f532', 'differential.pkg.css' => 'e1d704ce',
'differential.pkg.js' => '634399e9', 'differential.pkg.js' => '634399e9',
'diffusion.pkg.css' => '91c5d3a6', 'diffusion.pkg.css' => '91c5d3a6',
'diffusion.pkg.js' => '84c8f8fd', 'diffusion.pkg.js' => '84c8f8fd',
@ -2332,6 +2332,7 @@ return array(
'aphront-tokenizer-control-css', 'aphront-tokenizer-control-css',
'aphront-typeahead-control-css', 'aphront-typeahead-control-css',
'aphront-list-filter-view-css', 'aphront-list-filter-view-css',
'application-search-view-css',
'phabricator-remarkup-css', 'phabricator-remarkup-css',
'syntax-highlighting-css', 'syntax-highlighting-css',
'syntax-default-css', 'syntax-default-css',
@ -2344,7 +2345,6 @@ return array(
'phabricator-notification-menu-css', 'phabricator-notification-menu-css',
'lightbox-attachment-css', 'lightbox-attachment-css',
'phui-header-view-css', 'phui-header-view-css',
'phabricator-filetree-view-css',
'phabricator-nav-view-css', 'phabricator-nav-view-css',
'phui-basic-nav-view-css', 'phui-basic-nav-view-css',
'phui-crumbs-view-css', 'phui-crumbs-view-css',
@ -2479,6 +2479,7 @@ return array(
'phabricator-content-source-view-css', 'phabricator-content-source-view-css',
'inline-comment-summary-css', 'inline-comment-summary-css',
'phui-inline-comment-view-css', 'phui-inline-comment-view-css',
'phabricator-filetree-view-css',
), ),
'differential.pkg.js' => array( 'differential.pkg.js' => array(
'phabricator-drag-and-drop-file-upload', 'phabricator-drag-and-drop-file-upload',

View file

@ -98,6 +98,7 @@ return array(
'aphront-tokenizer-control-css', 'aphront-tokenizer-control-css',
'aphront-typeahead-control-css', 'aphront-typeahead-control-css',
'aphront-list-filter-view-css', 'aphront-list-filter-view-css',
'application-search-view-css',
'phabricator-remarkup-css', 'phabricator-remarkup-css',
'syntax-highlighting-css', 'syntax-highlighting-css',
@ -112,7 +113,6 @@ return array(
'phabricator-notification-menu-css', 'phabricator-notification-menu-css',
'lightbox-attachment-css', 'lightbox-attachment-css',
'phui-header-view-css', 'phui-header-view-css',
'phabricator-filetree-view-css',
'phabricator-nav-view-css', 'phabricator-nav-view-css',
'phui-basic-nav-view-css', 'phui-basic-nav-view-css',
'phui-crumbs-view-css', 'phui-crumbs-view-css',
@ -180,6 +180,7 @@ return array(
'phabricator-content-source-view-css', 'phabricator-content-source-view-css',
'inline-comment-summary-css', 'inline-comment-summary-css',
'phui-inline-comment-view-css', 'phui-inline-comment-view-css',
'phabricator-filetree-view-css',
), ),
'differential.pkg.js' => array( 'differential.pkg.js' => array(
'phabricator-drag-and-drop-file-upload', 'phabricator-drag-and-drop-file-upload',

View file

@ -320,6 +320,7 @@ final class PhabricatorApplicationSearchController
$crumbs->addTextCrumb($title); $crumbs->addTextCrumb($title);
} }
$nav->addClass('application-search-view');
require_celerity_resource('application-search-view-css'); require_celerity_resource('application-search-view-css');
return $this->newPage() return $this->newPage()
@ -327,8 +328,7 @@ final class PhabricatorApplicationSearchController
->setTitle(pht('Query: %s', $title)) ->setTitle(pht('Query: %s', $title))
->setCrumbs($crumbs) ->setCrumbs($crumbs)
->setNavigation($nav) ->setNavigation($nav)
->appendChild($body) ->appendChild($body);
->addClass('application-search-view');
} }
private function processEditRequest() { private function processEditRequest() {
@ -419,6 +419,7 @@ final class PhabricatorApplicationSearchController
->setObjectList($list) ->setObjectList($list)
->addClass('application-search-results'); ->addClass('application-search-results');
$nav->addClass('application-search-view');
require_celerity_resource('application-search-view-css'); require_celerity_resource('application-search-view-css');
return $this->newPage() return $this->newPage()
@ -426,7 +427,6 @@ final class PhabricatorApplicationSearchController
->setTitle(pht('Saved Queries')) ->setTitle(pht('Saved Queries'))
->setCrumbs($crumbs) ->setCrumbs($crumbs)
->setNavigation($nav) ->setNavigation($nav)
->addClass('application-search-view')
->appendChild($box); ->appendChild($box);
} }