Page MenuHomePhabricator

Allow users to add "ProfileMenu" items on mobile
ClosedPublic

Authored by epriestley on Mar 27 2019, 9:12 PM.
Tags
None
Referenced Files
F14086746: D20338.id48543.diff
Sat, Nov 23, 4:33 PM
Unknown Object (File)
Thu, Nov 14, 2:28 AM
Unknown Object (File)
Thu, Nov 14, 1:50 AM
Unknown Object (File)
Thu, Nov 14, 1:45 AM
Unknown Object (File)
Thu, Nov 14, 1:30 AM
Unknown Object (File)
Wed, Nov 13, 10:41 PM
Unknown Object (File)
Mon, Nov 4, 6:48 PM
Unknown Object (File)
Mon, Nov 4, 6:47 PM
Subscribers
None

Details

Summary

Depends on D20337. Fixes T12167. Ref T13272. On this page ("Favorites > Edit Favorites > Personal", for example) the curtain actions aren't available on mobile.

Normally, curtains are built with Controller->newCurtainView(), which sets an ID on the action list, which populates the header button. This curtain is built directly because there's no Controller handy.

To fix the issue, just set an ID. This could probably be cleaner, but that's likely a much more involved change.

Test Plan

Edited my favorites, narrowed the window, saw an "Actions" button.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

src/applications/search/engine/PhabricatorProfileMenuEngine.php
920–921

(This and the other thing below are unused.)

This revision is now accepted and ready to land.Mar 27 2019, 9:34 PM
This revision was automatically updated to reflect the committed changes.