Page MenuHomePhabricator

Allow Portals to be edited, and improve empty/blank states
ClosedPublic

Authored by epriestley on Mar 29 2019, 10:13 PM.
Tags
None
Referenced Files
F19247347: D20349.diff
Mon, Dec 22, 3:42 AM
F19062448: D20349.diff
Sat, Nov 29, 3:54 PM
F19030628: D20349.id.diff
Mon, Nov 24, 9:59 PM
F19030181: D20349.id.diff
Mon, Nov 24, 8:21 PM
F19019528: D20349.diff
Nov 23 2025, 2:56 PM
F18886667: D20349.id.diff
Nov 7 2025, 4:39 AM
F18868000: D20349.id48565.diff
Nov 4 2025, 4:02 AM
F18852868: D20349.id48603.diff
Oct 31 2025, 12:37 PM
Subscribers
None

Details

Summary

Depends on D20348. Ref T13275. Portals are mostly just a "ProfileMenuEngine" menu, and that code is already relatively modular/flexible, so set that up to start with.

The stuff it gets wrong right now is mostly around empty/no-permission states, since the original use cases (project menus) didn't have any of these states: it's not possible to have a project menu with no content.

Let the engine render an "empty" state (when there are no items that can render a content page) and try to make some of the empty behavior a little more user-friendly.

This mostly makes portals work, more or less.

Test Plan

Screen Shot 2019-03-29 at 3.03.39 PM.png (910×1 px, 288 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable