Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15452935
D20338.id48543.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D20338.id48543.diff
View Options
diff --git a/src/applications/search/engine/PhabricatorProfileMenuEngine.php b/src/applications/search/engine/PhabricatorProfileMenuEngine.php
--- a/src/applications/search/engine/PhabricatorProfileMenuEngine.php
+++ b/src/applications/search/engine/PhabricatorProfileMenuEngine.php
@@ -917,15 +917,16 @@
$list->addItem($view);
}
- $action_view = id(new PhabricatorActionListView())
- ->setUser($viewer);
-
$item_types = PhabricatorProfileMenuItem::getAllMenuItems();
$object = $this->getProfileObject();
$action_list = id(new PhabricatorActionListView())
->setViewer($viewer);
+ // See T12167. This makes the "Actions" dropdown button show up in the
+ // page header.
+ $action_list->setID(celerity_generate_unique_node_id());
+
$action_list->addAction(
id(new PhabricatorActionView())
->setLabel(true)
@@ -970,9 +971,6 @@
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
->setObjectList($list);
- $panel = id(new PHUICurtainPanelView())
- ->appendChild($action_view);
-
$curtain = id(new PHUICurtainView())
->setViewer($viewer)
->setActionList($action_list);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 30, 8:14 AM (3 d, 13 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7655609
Default Alt Text
D20338.id48543.diff (1 KB)
Attached To
Mode
D20338: Allow users to add "ProfileMenu" items on mobile
Attached
Detach File
Event Timeline
Log In to Comment