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

Add Room Image to Conpherence header

Summary: This adds the room image to the main header in full Conpherence. It's nice, plus I plan to move the image edit workflow to it to simplify the move to EditEngine. I plan to build some default images for Conpherence which should be better about denoting the room, not just the last person writing.

Test Plan: Click on lots of rooms with and without topics.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

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

+20 -9
+3 -3
resources/celerity/map.php
··· 7 7 */ 8 8 return array( 9 9 'names' => array( 10 - 'conpherence.pkg.css' => 'd2356a2b', 10 + 'conpherence.pkg.css' => '3c08b01f', 11 11 'conpherence.pkg.js' => '11f3e07e', 12 12 'core.pkg.css' => '3fa66cb3', 13 13 'core.pkg.js' => '30185d95', ··· 47 47 'rsrc/css/application/config/setup-issue.css' => 'f794cfc3', 48 48 'rsrc/css/application/config/unhandled-exception.css' => '4c96257a', 49 49 'rsrc/css/application/conpherence/durable-column.css' => '44bcaa19', 50 - 'rsrc/css/application/conpherence/header-pane.css' => '517de9fe', 50 + 'rsrc/css/application/conpherence/header-pane.css' => '6a032d4c', 51 51 'rsrc/css/application/conpherence/menu.css' => '4f51db5a', 52 52 'rsrc/css/application/conpherence/message-pane.css' => '0d7dff02', 53 53 'rsrc/css/application/conpherence/notification.css' => '965db05b', ··· 619 619 'config-options-css' => '0ede4c9b', 620 620 'config-page-css' => '8798e14f', 621 621 'conpherence-durable-column-view' => '44bcaa19', 622 - 'conpherence-header-pane-css' => '517de9fe', 622 + 'conpherence-header-pane-css' => '6a032d4c', 623 623 'conpherence-menu-css' => '4f51db5a', 624 624 'conpherence-message-pane-css' => '0d7dff02', 625 625 'conpherence-notification-css' => '965db05b',
+1 -1
src/applications/conpherence/controller/ConpherenceController.php
··· 59 59 $header = id(new PHUIHeaderView()) 60 60 ->setHeader($data['title']) 61 61 ->setSubheader($data['topic']) 62 - ->addClass((!$data['topic']) ? 'conpherence-no-topic' : null); 62 + ->setImage($data['image']); 63 63 64 64 $can_edit = PhabricatorPolicyFilter::hasCapability( 65 65 $viewer,
+16 -5
webroot/rsrc/css/application/conpherence/header-pane.css
··· 2 2 * @provides conpherence-header-pane-css 3 3 */ 4 4 5 - .conpherence-header-pane { 6 - } 7 - 8 5 .conpherence-header-pane .phui-header-shell { 9 6 padding: 8px 16px 10px; 10 7 min-height: 38px; ··· 23 20 margin: 0; 24 21 } 25 22 26 - .conpherence-header-pane .phui-header-shell.conpherence-no-topic { 27 - padding: 15px 16px 5px; 23 + .conpherence-header-pane .phui-header-col1 { 24 + width: 46px; 25 + height: 35px; 26 + } 27 + 28 + .conpherence-header-pane .phui-header-image { 29 + height: 35px; 30 + width: 35px; 31 + background-size: 35px; 32 + position: absolute; 33 + top: 4px; 34 + left: 0; 35 + } 36 + 37 + .conpherence-header-pane .phui-header-col2 { 38 + height: 40px; 28 39 } 29 40 30 41 .conpherence-header-pane .phui-header-action-list .phui-header-action-item