mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 12:52:42 +01:00
Add mobile upload button to Conpherence
Summary: Fixes T11622. Moves the remarkup upload button into the text area on mobile/tablet. Test Plan: Mobile/Tablet/Desktop Conpherence Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T11622 Differential Revision: https://secure.phabricator.com/D16626
This commit is contained in:
parent
aa248a6b20
commit
1095347832
3 changed files with 22 additions and 4 deletions
|
@ -7,7 +7,7 @@
|
||||||
*/
|
*/
|
||||||
return array(
|
return array(
|
||||||
'names' => array(
|
'names' => array(
|
||||||
'conpherence.pkg.css' => '4aa80958',
|
'conpherence.pkg.css' => 'd93561e2',
|
||||||
'conpherence.pkg.js' => '11f3e07e',
|
'conpherence.pkg.js' => '11f3e07e',
|
||||||
'core.pkg.css' => '2fd26498',
|
'core.pkg.css' => '2fd26498',
|
||||||
'core.pkg.js' => '1d376fa9',
|
'core.pkg.js' => '1d376fa9',
|
||||||
|
@ -49,7 +49,7 @@ return array(
|
||||||
'rsrc/css/application/conpherence/durable-column.css' => '194ac487',
|
'rsrc/css/application/conpherence/durable-column.css' => '194ac487',
|
||||||
'rsrc/css/application/conpherence/header-pane.css' => '517de9fe',
|
'rsrc/css/application/conpherence/header-pane.css' => '517de9fe',
|
||||||
'rsrc/css/application/conpherence/menu.css' => '78c7b811',
|
'rsrc/css/application/conpherence/menu.css' => '78c7b811',
|
||||||
'rsrc/css/application/conpherence/message-pane.css' => '60e10176',
|
'rsrc/css/application/conpherence/message-pane.css' => 'bbbb8a9b',
|
||||||
'rsrc/css/application/conpherence/notification.css' => '6cdcc253',
|
'rsrc/css/application/conpherence/notification.css' => '6cdcc253',
|
||||||
'rsrc/css/application/conpherence/participant-pane.css' => '7bba0b56',
|
'rsrc/css/application/conpherence/participant-pane.css' => '7bba0b56',
|
||||||
'rsrc/css/application/conpherence/transaction.css' => '46253e19',
|
'rsrc/css/application/conpherence/transaction.css' => '46253e19',
|
||||||
|
@ -621,7 +621,7 @@ return array(
|
||||||
'conpherence-durable-column-view' => '194ac487',
|
'conpherence-durable-column-view' => '194ac487',
|
||||||
'conpherence-header-pane-css' => '517de9fe',
|
'conpherence-header-pane-css' => '517de9fe',
|
||||||
'conpherence-menu-css' => '78c7b811',
|
'conpherence-menu-css' => '78c7b811',
|
||||||
'conpherence-message-pane-css' => '60e10176',
|
'conpherence-message-pane-css' => 'bbbb8a9b',
|
||||||
'conpherence-notification-css' => '6cdcc253',
|
'conpherence-notification-css' => '6cdcc253',
|
||||||
'conpherence-participant-pane-css' => '7bba0b56',
|
'conpherence-participant-pane-css' => '7bba0b56',
|
||||||
'conpherence-thread-manager' => '01774ab2',
|
'conpherence-thread-manager' => '01774ab2',
|
||||||
|
|
|
@ -203,6 +203,10 @@ final class PhabricatorRemarkupControl extends AphrontFormTextAreaControl {
|
||||||
$classes[] = 'remarkup-assist-button';
|
$classes[] = 'remarkup-assist-button';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($action == 'fa-cloud-upload') {
|
||||||
|
$classes[] = 'remarkup-assist-upload';
|
||||||
|
}
|
||||||
|
|
||||||
$href = idx($spec, 'href', '#');
|
$href = idx($spec, 'href', '#');
|
||||||
if ($href == '#') {
|
if ($href == '#') {
|
||||||
$meta = array('action' => $action);
|
$meta = array('action' => $action);
|
||||||
|
|
|
@ -168,9 +168,23 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.device .conpherence-message-pane .remarkup-assist-bar {
|
.device .conpherence-message-pane .remarkup-assist-bar {
|
||||||
|
position: absolute;
|
||||||
|
top: 12px;
|
||||||
|
left: 12px;
|
||||||
|
background: {$bluebackground};
|
||||||
|
border-radius: 3px;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.device .remarkup-assist-button,
|
||||||
|
.device .remarkup-assist-separator {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.device .remarkup-assist-button.remarkup-assist-upload {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.device .conpherence-message-pane .phui-form-view {
|
.device .conpherence-message-pane .phui-form-view {
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
@ -346,7 +360,7 @@
|
||||||
|
|
||||||
.device .conpherence-message-pane .remarkup-assist-textarea {
|
.device .conpherence-message-pane .remarkup-assist-textarea {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 8px 68px 8px 8px;
|
padding: 7px 8px 6px 30px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 34px;
|
height: 34px;
|
||||||
resize: none;
|
resize: none;
|
||||||
|
|
Loading…
Reference in a new issue