Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14011897
D8104.id18331.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
8 KB
Referenced Files
None
Subscribers
None
D8104.id18331.diff
View Options
Index: resources/celerity/map.php
===================================================================
--- resources/celerity/map.php
+++ resources/celerity/map.php
@@ -7,7 +7,7 @@
return array(
'names' =>
array(
- 'core.pkg.css' => 'a2b5fd6a',
+ 'core.pkg.css' => '9ed733e4',
'core.pkg.js' => 'c7854cc5',
'darkconsole.pkg.js' => 'ca8671ce',
'differential.pkg.css' => '5a65a762',
@@ -41,7 +41,7 @@
'rsrc/css/application/auth/auth.css' => '1e655982',
'rsrc/css/application/base/main-menu-view.css' => 'aa18107a',
'rsrc/css/application/base/notification-menu.css' => 'fc9a363c',
- 'rsrc/css/application/base/phabricator-application-launch-view.css' => '6f8453d9',
+ 'rsrc/css/application/base/phabricator-application-launch-view.css' => 'd2b2916f',
'rsrc/css/application/base/standard-page-view.css' => '517cdfb1',
'rsrc/css/application/chatlog/chatlog.css' => '0cd2bc78',
'rsrc/css/application/config/config-options.css' => '7fedf08b',
@@ -670,7 +670,7 @@
'people-profile-css' => 'd0bababe',
'phabricator-action-header-view-css' => 'cc654b91',
'phabricator-action-list-view-css' => '81383e25',
- 'phabricator-application-launch-view-css' => '6f8453d9',
+ 'phabricator-application-launch-view-css' => 'd2b2916f',
'phabricator-busy' => '6453c869',
'phabricator-chatlog-css' => '0cd2bc78',
'phabricator-content-source-view-css' => '4b8b05d4',
Index: src/applications/base/PhabricatorApplication.php
===================================================================
--- src/applications/base/PhabricatorApplication.php
+++ src/applications/base/PhabricatorApplication.php
@@ -276,18 +276,6 @@
/**
- * On the Phabricator homepage sidebar, this function returns the URL for
- * a quick create X link which is displayed in the wide button only.
- *
- * @return string
- * @task ui
- */
- public function getQuickCreateURI() {
- return null;
- }
-
-
- /**
* Build items for the "quick create" menu.
*
* @param PhabricatorUser The viewing user.
Index: src/applications/calendar/application/PhabricatorApplicationCalendar.php
===================================================================
--- src/applications/calendar/application/PhabricatorApplicationCalendar.php
+++ src/applications/calendar/application/PhabricatorApplicationCalendar.php
@@ -32,10 +32,6 @@
return true;
}
- public function getQuickCreateURI() {
- return $this->getBaseURI().'status/create/';
- }
-
public function getRoutes() {
return array(
'/calendar/' => array(
Index: src/applications/conpherence/application/PhabricatorApplicationConpherence.php
===================================================================
--- src/applications/conpherence/application/PhabricatorApplicationConpherence.php
+++ src/applications/conpherence/application/PhabricatorApplicationConpherence.php
@@ -9,10 +9,6 @@
return '/conpherence/';
}
- public function getQuickCreateURI() {
- return $this->getBaseURI().'new/';
- }
-
public function getShortDescription() {
return pht('Messaging');
}
Index: src/applications/files/application/PhabricatorApplicationFiles.php
===================================================================
--- src/applications/files/application/PhabricatorApplicationFiles.php
+++ src/applications/files/application/PhabricatorApplicationFiles.php
@@ -29,10 +29,6 @@
return self::GROUP_UTILITIES;
}
- public function getQuickCreateURI() {
- return $this->getBaseURI().'upload/';
- }
-
public function canUninstall() {
return false;
}
Index: src/applications/legalpad/application/PhabricatorApplicationLegalpad.php
===================================================================
--- src/applications/legalpad/application/PhabricatorApplicationLegalpad.php
+++ src/applications/legalpad/application/PhabricatorApplicationLegalpad.php
@@ -29,11 +29,6 @@
return self::GROUP_COMMUNICATION;
}
- public function getQuickCreateURI() {
- return $this->getBaseURI().'create/';
- }
-
-
public function isBeta() {
return true;
}
Index: src/applications/macro/application/PhabricatorApplicationMacro.php
===================================================================
--- src/applications/macro/application/PhabricatorApplicationMacro.php
+++ src/applications/macro/application/PhabricatorApplicationMacro.php
@@ -22,10 +22,6 @@
return self::GROUP_UTILITIES;
}
- public function getQuickCreateURI() {
- return $this->getBaseURI().'create/';
- }
-
public function getRoutes() {
return array(
'/macro/' => array(
Index: src/applications/maniphest/application/PhabricatorApplicationManiphest.php
===================================================================
--- src/applications/maniphest/application/PhabricatorApplicationManiphest.php
+++ src/applications/maniphest/application/PhabricatorApplicationManiphest.php
@@ -28,10 +28,6 @@
);
}
- public function getQuickCreateURI() {
- return $this->getBaseURI().'task/create/';
- }
-
public function getEventListeners() {
return array(
new ManiphestNameIndexEventListener(),
Index: src/applications/meta/view/PhabricatorApplicationLaunchView.php
===================================================================
--- src/applications/meta/view/PhabricatorApplicationLaunchView.php
+++ src/applications/meta/view/PhabricatorApplicationLaunchView.php
@@ -125,31 +125,9 @@
'style' => nonempty(implode('; ', $styles), null),
),
'');
-
- $classes = array();
- if ($application->getQuickCreateURI()) {
- $classes[] = 'phabricator-application-create-icon';
- $classes[] = 'sprite-icons';
- $classes[] = 'icons-new-white';
- $plus_icon = phutil_tag(
- 'span',
- array(
- 'class' => implode(' ', $classes),
- ),
- '');
-
- $create_button = phutil_tag(
- 'a',
- array(
- 'href' => $application->getQuickCreateURI(),
- 'class' => 'phabricator-application-launch-create',
- ),
- $plus_icon);
- $classes = array();
- $classes[] = 'application-tile-create';
- }
}
+ $classes = array();
$classes[] = 'phabricator-application-launch-container';
if ($this->fullWidth) {
$classes[] = 'application-tile-full';
Index: src/applications/paste/application/PhabricatorApplicationPaste.php
===================================================================
--- src/applications/paste/application/PhabricatorApplicationPaste.php
+++ src/applications/paste/application/PhabricatorApplicationPaste.php
@@ -18,10 +18,6 @@
return self::GROUP_UTILITIES;
}
- public function getQuickCreateURI() {
- return $this->getBaseURI().'create/';
- }
-
public function getRemarkupRules() {
return array(
new PhabricatorPasteRemarkupRule(),
Index: webroot/rsrc/css/application/base/phabricator-application-launch-view.css
===================================================================
--- webroot/rsrc/css/application/base/phabricator-application-launch-view.css
+++ webroot/rsrc/css/application/base/phabricator-application-launch-view.css
@@ -51,28 +51,6 @@
border-right: none;
}
-.application-tile-full + .phabricator-application-launch-create {
- float: right;
- width: 12%;
- height: 52px;
- position: relative;
- border-top: 1px solid #000;
- border-bottom: none;
- display: inline-block;
- text-align: center;
-}
-
-.device-desktop a.phabricator-application-launch-create:hover {
- background-color: #1e2225;
- color: #fff;
- text-decoration: none;
-}
-
-.device-desktop a.phabricator-application-launch-container:hover {
- background-color: #1e2225;
- text-decoration: none;
-}
-
.phabricator-application-launch-icon {
display: block;
position: absolute;
@@ -82,13 +60,6 @@
height: 28px;
}
-.phabricator-application-create-icon {
- display: inline-block;
- margin: 20px auto;
- width: 14px;
- height: 14px;
-}
-
.application-tile-full .phabricator-application-launch-icon {
top: 12px;
left: 10px;
@@ -175,20 +146,3 @@
top: 16px;
right: 8px;
}
-
-.application-tile-full .phabricator-application-launch-create {
- display: inline-block;
- float: right;
- background: rgb(0, 122, 255);
- border-radius: 5px;
- color: white;
- font-weight: bold;
- padding: 1px 6px 2px;
- border: 2px solid #333;
- font-size: 11px;
- box-shadow: 0 0px 2px #000;
-}
-
-.phabricator-application-launch-create {
- display: none;
-}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 2, 5:41 AM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6715736
Default Alt Text
D8104.id18331.diff (8 KB)
Attached To
Mode
D8104: Remove quick create buttons from application launcher
Attached
Detach File
Event Timeline
Log In to Comment