Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15461377
D13046.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
5 KB
Referenced Files
None
Subscribers
None
D13046.diff
View Options
diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -7,7 +7,7 @@
*/
return array(
'names' => array(
- 'core.pkg.css' => '651054ed',
+ 'core.pkg.css' => '0df8c6bf',
'core.pkg.js' => 'e4f47dfd',
'darkconsole.pkg.js' => 'e7393ebb',
'differential.pkg.css' => 'bb338e4b',
@@ -39,7 +39,7 @@
'rsrc/css/application/base/phabricator-application-launch-view.css' => '214e2510',
'rsrc/css/application/base/standard-page-view.css' => '43045fb4',
'rsrc/css/application/calendar/calendar-icon.css' => '98ce946d',
- 'rsrc/css/application/chatlog/chatlog.css' => '852140ff',
+ 'rsrc/css/application/chatlog/chatlog.css' => 'f1971c1c',
'rsrc/css/application/conduit/conduit-api.css' => '7bc725c4',
'rsrc/css/application/config/config-options.css' => '7fedf08b',
'rsrc/css/application/config/config-template.css' => '8e6c6fcd',
@@ -140,7 +140,7 @@
'rsrc/css/phui/phui-info-panel.css' => '27ea50a1',
'rsrc/css/phui/phui-info-view.css' => '33e54618',
'rsrc/css/phui/phui-list.css' => 'e448b6ba',
- 'rsrc/css/phui/phui-object-box.css' => '57b5b612',
+ 'rsrc/css/phui/phui-object-box.css' => '8eacbeed',
'rsrc/css/phui/phui-object-item-list-view.css' => '24ed8d94',
'rsrc/css/phui/phui-pinboard-view.css' => '55b27bc3',
'rsrc/css/phui/phui-property-list-view.css' => '1baf23eb',
@@ -697,7 +697,7 @@
'phabricator-action-list-view-css' => '32c388b3',
'phabricator-application-launch-view-css' => '214e2510',
'phabricator-busy' => '59a7976a',
- 'phabricator-chatlog-css' => '852140ff',
+ 'phabricator-chatlog-css' => 'f1971c1c',
'phabricator-content-source-view-css' => '4b8b05d4',
'phabricator-core-css' => 'bbc7187b',
'phabricator-countdown-css' => '86b7b0a0',
@@ -774,7 +774,7 @@
'phui-info-view-css' => '33e54618',
'phui-inline-comment-view-css' => '2174771a',
'phui-list-view-css' => 'e448b6ba',
- 'phui-object-box-css' => '57b5b612',
+ 'phui-object-box-css' => '8eacbeed',
'phui-object-item-list-view-css' => '24ed8d94',
'phui-pinboard-view-css' => '55b27bc3',
'phui-property-list-view-css' => '1baf23eb',
diff --git a/src/applications/chatlog/controller/PhabricatorChatLogChannelLogController.php b/src/applications/chatlog/controller/PhabricatorChatLogChannelLogController.php
--- a/src/applications/chatlog/controller/PhabricatorChatLogChannelLogController.php
+++ b/src/applications/chatlog/controller/PhabricatorChatLogChannelLogController.php
@@ -179,11 +179,6 @@
pht('Older')." \xE2\x80\xBA");
}
- $pager_top = phutil_tag(
- 'div',
- array('class' => 'phabricator-chat-log-pager-top'),
- $links);
-
$pager_bottom = phutil_tag(
'div',
array('class' => 'phabricator-chat-log-pager-bottom'),
@@ -206,9 +201,6 @@
id(new AphrontFormSubmitControl())
->setValue(pht('Jump')));
- $filter = new AphrontListFilterView();
- $filter->appendChild($form);
-
$table = phutil_tag(
'table',
array(
@@ -223,19 +215,11 @@
),
$table);
- $jump_link = phutil_tag(
- 'a',
- array(
- 'href' => '#latest',
- ),
- pht('Jump to Bottom')." \xE2\x96\xBE");
-
- $jump = phutil_tag(
- 'div',
- array(
- 'class' => 'phabricator-chat-log-jump',
- ),
- $jump_link);
+ $jump_link = id(new PHUIButtonView())
+ ->setTag('a')
+ ->setHref('#latest')
+ ->setText(pht('Jump to Bottom'))
+ ->setIconFont('fa-arrow-circle-down');
$jump_target = phutil_tag(
'div',
@@ -249,18 +233,31 @@
'class' => 'phabricator-chat-log-wrap',
),
array(
- $jump,
- $pager_top,
$log,
$jump_target,
$pager_bottom,
));
+ $header = id(new PHUIHeaderView())
+ ->setHeader($channel->getChannelName())
+ ->setSubHeader($channel->getServiceName())
+ ->addActionLink($jump_link);
+
+ $box = id(new PHUIObjectBoxView())
+ ->setHeader($header)
+ ->setCollapsed(true)
+ ->appendChild($content);
+
+ $box->setShowHide(
+ pht('Search Dates'),
+ pht('Hide Dates'),
+ $form,
+ '#');
+
return $this->buildApplicationPage(
array(
$crumbs,
- $filter,
- $content,
+ $box,
),
array(
'title' => pht('Channel Log'),
diff --git a/webroot/rsrc/css/application/chatlog/chatlog.css b/webroot/rsrc/css/application/chatlog/chatlog.css
--- a/webroot/rsrc/css/application/chatlog/chatlog.css
+++ b/webroot/rsrc/css/application/chatlog/chatlog.css
@@ -2,40 +2,22 @@
* @provides phabricator-chatlog-css
*/
-.phabricator-chat-log-wrap {
- padding: 0 16px;
-}
-
.device-phone .phabricator-chat-log-wrap {
padding: 0;
}
-.phabricator-chat-log-pager-top {
- padding: 16px 4px 8px;
- font-weight: bold;
- float: right;
-}
-
.phabricator-chat-log-pager-bottom {
padding: 8px 4px 16px;
font-weight: bold;
float: right;
}
-.phabricator-chat-log-pager-top a, .phabricator-chat-log-pager-bottom a {
+.phabricator-chat-log-pager-bottom a {
padding: 2px 3px;
}
-.phabricator-chat-log-jump {
- padding: 16px 4px 8px;
- font-weight: bold;
- float: left;
-}
-
.phabricator-chat-log-panel {
clear: both;
- border: 1px solid {$lightblueborder};
- border-bottom: 1px solid {$blueborder};
}
.phabricator-chat-log {
diff --git a/webroot/rsrc/css/phui/phui-object-box.css b/webroot/rsrc/css/phui/phui-object-box.css
--- a/webroot/rsrc/css/phui/phui-object-box.css
+++ b/webroot/rsrc/css/phui/phui-object-box.css
@@ -96,6 +96,10 @@
margin-bottom: 4px;
}
+.phui-object-box.phui-object-box-collapsed .phui-object-box-hidden-content {
+ margin: 0;
+}
+
/* - Double Object Box Override --------------------------------------------- */
.phui-object-box .phui-object-box {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 2, 7:54 AM (6 d, 12 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7462017
Default Alt Text
D13046.diff (5 KB)
Attached To
Mode
D13046: [Redesign] Rebuild Chatlog
Attached
Detach File
Event Timeline
Log In to Comment