1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 02:32:42 +01:00

Improve some search behaviors on mobile/devices

Summary:
Ref T2625.

  - Build the mobile menu from the delegating controller.
  - Make the result header look a little better (still a bit funky).

Test Plan:
{F44774}

{F44775}

Reviewers: btrahan, chad

Reviewed By: chad

CC: aran

Maniphest Tasks: T2625

Differential Revision: https://secure.phabricator.com/D6090
This commit is contained in:
epriestley 2013-05-31 10:50:49 -07:00
parent 7b00cea57d
commit a92fc74ef1
3 changed files with 64 additions and 48 deletions

View file

@ -809,7 +809,7 @@ celerity_register_resource_map(array(
), ),
'aphront-list-filter-view-css' => 'aphront-list-filter-view-css' =>
array( array(
'uri' => '/res/f754f4c5/rsrc/css/aphront/list-filter-view.css', 'uri' => '/res/185a194b/rsrc/css/aphront/list-filter-view.css',
'type' => 'css', 'type' => 'css',
'requires' => 'requires' =>
array( array(
@ -3988,7 +3988,7 @@ celerity_register_resource_map(array(
), array( ), array(
'packages' => 'packages' =>
array( array(
'e414a0b5' => '504b6760' =>
array( array(
'name' => 'core.pkg.css', 'name' => 'core.pkg.css',
'symbols' => 'symbols' =>
@ -4037,7 +4037,7 @@ celerity_register_resource_map(array(
41 => 'phabricator-property-list-view-css', 41 => 'phabricator-property-list-view-css',
42 => 'phabricator-tag-view-css', 42 => 'phabricator-tag-view-css',
), ),
'uri' => '/res/pkg/e414a0b5/core.pkg.css', 'uri' => '/res/pkg/504b6760/core.pkg.css',
'type' => 'css', 'type' => 'css',
), ),
'98f60e3f' => '98f60e3f' =>
@ -4231,16 +4231,16 @@ celerity_register_resource_map(array(
'reverse' => 'reverse' =>
array( array(
'aphront-attached-file-view-css' => '6b1fccc6', 'aphront-attached-file-view-css' => '6b1fccc6',
'aphront-dialog-view-css' => 'e414a0b5', 'aphront-dialog-view-css' => '504b6760',
'aphront-error-view-css' => 'e414a0b5', 'aphront-error-view-css' => '504b6760',
'aphront-form-view-css' => 'e414a0b5', 'aphront-form-view-css' => '504b6760',
'aphront-list-filter-view-css' => 'e414a0b5', 'aphront-list-filter-view-css' => '504b6760',
'aphront-pager-view-css' => 'e414a0b5', 'aphront-pager-view-css' => '504b6760',
'aphront-panel-view-css' => 'e414a0b5', 'aphront-panel-view-css' => '504b6760',
'aphront-table-view-css' => 'e414a0b5', 'aphront-table-view-css' => '504b6760',
'aphront-tokenizer-control-css' => 'e414a0b5', 'aphront-tokenizer-control-css' => '504b6760',
'aphront-tooltip-css' => 'e414a0b5', 'aphront-tooltip-css' => '504b6760',
'aphront-typeahead-control-css' => 'e414a0b5', 'aphront-typeahead-control-css' => '504b6760',
'differential-changeset-view-css' => 'dd27a69b', 'differential-changeset-view-css' => 'dd27a69b',
'differential-core-view-css' => 'dd27a69b', 'differential-core-view-css' => 'dd27a69b',
'differential-inline-comment-editor' => '9488bb69', 'differential-inline-comment-editor' => '9488bb69',
@ -4254,7 +4254,7 @@ celerity_register_resource_map(array(
'differential-table-of-contents-css' => 'dd27a69b', 'differential-table-of-contents-css' => 'dd27a69b',
'diffusion-commit-view-css' => 'c8ce2d88', 'diffusion-commit-view-css' => 'c8ce2d88',
'diffusion-icons-css' => 'c8ce2d88', 'diffusion-icons-css' => 'c8ce2d88',
'global-drag-and-drop-css' => 'e414a0b5', 'global-drag-and-drop-css' => '504b6760',
'inline-comment-summary-css' => 'dd27a69b', 'inline-comment-summary-css' => 'dd27a69b',
'javelin-aphlict' => '98f60e3f', 'javelin-aphlict' => '98f60e3f',
'javelin-behavior' => 'a9f14d76', 'javelin-behavior' => 'a9f14d76',
@ -4328,56 +4328,56 @@ celerity_register_resource_map(array(
'javelin-util' => 'a9f14d76', 'javelin-util' => 'a9f14d76',
'javelin-vector' => 'a9f14d76', 'javelin-vector' => 'a9f14d76',
'javelin-workflow' => 'a9f14d76', 'javelin-workflow' => 'a9f14d76',
'lightbox-attachment-css' => 'e414a0b5', 'lightbox-attachment-css' => '504b6760',
'maniphest-task-summary-css' => '6b1fccc6', 'maniphest-task-summary-css' => '6b1fccc6',
'maniphest-transaction-detail-css' => '6b1fccc6', 'maniphest-transaction-detail-css' => '6b1fccc6',
'phabricator-action-list-view-css' => 'e414a0b5', 'phabricator-action-list-view-css' => '504b6760',
'phabricator-application-launch-view-css' => 'e414a0b5', 'phabricator-application-launch-view-css' => '504b6760',
'phabricator-busy' => '98f60e3f', 'phabricator-busy' => '98f60e3f',
'phabricator-content-source-view-css' => 'dd27a69b', 'phabricator-content-source-view-css' => 'dd27a69b',
'phabricator-core-buttons-css' => 'e414a0b5', 'phabricator-core-buttons-css' => '504b6760',
'phabricator-core-css' => 'e414a0b5', 'phabricator-core-css' => '504b6760',
'phabricator-crumbs-view-css' => 'e414a0b5', 'phabricator-crumbs-view-css' => '504b6760',
'phabricator-directory-css' => 'e414a0b5', 'phabricator-directory-css' => '504b6760',
'phabricator-drag-and-drop-file-upload' => '9488bb69', 'phabricator-drag-and-drop-file-upload' => '9488bb69',
'phabricator-dropdown-menu' => '98f60e3f', 'phabricator-dropdown-menu' => '98f60e3f',
'phabricator-file-upload' => '98f60e3f', 'phabricator-file-upload' => '98f60e3f',
'phabricator-filetree-view-css' => 'e414a0b5', 'phabricator-filetree-view-css' => '504b6760',
'phabricator-flag-css' => 'e414a0b5', 'phabricator-flag-css' => '504b6760',
'phabricator-form-view-css' => 'e414a0b5', 'phabricator-form-view-css' => '504b6760',
'phabricator-header-view-css' => 'e414a0b5', 'phabricator-header-view-css' => '504b6760',
'phabricator-hovercard' => '98f60e3f', 'phabricator-hovercard' => '98f60e3f',
'phabricator-jump-nav' => 'e414a0b5', 'phabricator-jump-nav' => '504b6760',
'phabricator-keyboard-shortcut' => '98f60e3f', 'phabricator-keyboard-shortcut' => '98f60e3f',
'phabricator-keyboard-shortcut-manager' => '98f60e3f', 'phabricator-keyboard-shortcut-manager' => '98f60e3f',
'phabricator-main-menu-view' => 'e414a0b5', 'phabricator-main-menu-view' => '504b6760',
'phabricator-menu-item' => '98f60e3f', 'phabricator-menu-item' => '98f60e3f',
'phabricator-nav-view-css' => 'e414a0b5', 'phabricator-nav-view-css' => '504b6760',
'phabricator-notification' => '98f60e3f', 'phabricator-notification' => '98f60e3f',
'phabricator-notification-css' => 'e414a0b5', 'phabricator-notification-css' => '504b6760',
'phabricator-notification-menu-css' => 'e414a0b5', 'phabricator-notification-menu-css' => '504b6760',
'phabricator-object-item-list-view-css' => 'e414a0b5', 'phabricator-object-item-list-view-css' => '504b6760',
'phabricator-object-selector-css' => 'dd27a69b', 'phabricator-object-selector-css' => 'dd27a69b',
'phabricator-phtize' => '98f60e3f', 'phabricator-phtize' => '98f60e3f',
'phabricator-prefab' => '98f60e3f', 'phabricator-prefab' => '98f60e3f',
'phabricator-project-tag-css' => '6b1fccc6', 'phabricator-project-tag-css' => '6b1fccc6',
'phabricator-property-list-view-css' => 'e414a0b5', 'phabricator-property-list-view-css' => '504b6760',
'phabricator-remarkup-css' => 'e414a0b5', 'phabricator-remarkup-css' => '504b6760',
'phabricator-shaped-request' => '9488bb69', 'phabricator-shaped-request' => '9488bb69',
'phabricator-side-menu-view-css' => 'e414a0b5', 'phabricator-side-menu-view-css' => '504b6760',
'phabricator-standard-page-view' => 'e414a0b5', 'phabricator-standard-page-view' => '504b6760',
'phabricator-tag-view-css' => 'e414a0b5', 'phabricator-tag-view-css' => '504b6760',
'phabricator-textareautils' => '98f60e3f', 'phabricator-textareautils' => '98f60e3f',
'phabricator-tooltip' => '98f60e3f', 'phabricator-tooltip' => '98f60e3f',
'phabricator-transaction-view-css' => 'e414a0b5', 'phabricator-transaction-view-css' => '504b6760',
'phabricator-zindex-css' => 'e414a0b5', 'phabricator-zindex-css' => '504b6760',
'phui-form-css' => 'e414a0b5', 'phui-form-css' => '504b6760',
'phui-icon-view-css' => 'e414a0b5', 'phui-icon-view-css' => '504b6760',
'spacing-css' => 'e414a0b5', 'spacing-css' => '504b6760',
'sprite-apps-large-css' => 'e414a0b5', 'sprite-apps-large-css' => '504b6760',
'sprite-gradient-css' => 'e414a0b5', 'sprite-gradient-css' => '504b6760',
'sprite-icons-css' => 'e414a0b5', 'sprite-icons-css' => '504b6760',
'sprite-menu-css' => 'e414a0b5', 'sprite-menu-css' => '504b6760',
'syntax-highlighting-css' => 'e414a0b5', 'syntax-highlighting-css' => '504b6760',
), ),
)); ));

View file

@ -299,4 +299,8 @@ final class PhabricatorApplicationSearchController
unset($unguarded); unset($unguarded);
} }
protected function buildApplicationMenu() {
return $this->getDelegatingController()->buildApplicationMenu();
}
} }

View file

@ -36,8 +36,8 @@
.device-phone .aphront-list-filter-view-content .aphront-form-view .device-phone .aphront-list-filter-view-content .aphront-form-view
.aphront-form-input { .aphront-form-input {
width: 98%; width: 98%;
margin-left: 0%; margin-left: 0;
margin-right: 0%; margin-right: 0;
} }
.aphront-list-filter-view-collapsible .aphront-list-filter-view-content { .aphront-list-filter-view-collapsible .aphront-list-filter-view-content {
@ -52,6 +52,12 @@
text-align: right; text-align: right;
} }
.device .aphront-list-filter-reveal {
width: 98%;
margin-left: 0;
margin-right: 0;
}
.aphront-list-filter-reveal a { .aphront-list-filter-reveal a {
font-weight: bold; font-weight: bold;
} }
@ -61,3 +67,9 @@
color: #666666; color: #666666;
float: left; float: left;
} }
.device .aphront-list-filter-description {
float: none;
text-align: left;
margin-right: 0;
}