1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 15:52:41 +01:00
phorge-phorge/src/applications/auth
epriestley 08de131da5 Begin modularizing main menu items
Summary:
Ref T10077. Ref T8918. The way the main menu is built is not very modular and fairly hacky.

It assumes menus are provided by applications, but this isn't exactly true. Notably, the "Quick Create" menu is not per-application.

The current method of building this menu is very inefficient (see T10077). Particularly, we have to build it //twice// because we need to build it once to render the item and then again to render the dropdown options.

Start cleaning this up. This diff doesn't actually have any behavioral changes, since I can't swap the menu over until we get rid of all the other items and I haven't extended this to Notifications/Conpherence yet so it doesn't actually fix T8918.

Test Plan: Viewed menus while logged in, logged out, in different applications, in desktop/mobile. Nothing appeared different.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T8918, T10077

Differential Revision: https://secure.phabricator.com/D14922
2016-01-04 06:57:09 -08:00
..
action Rate limit multi-factor actions 2014-04-30 14:30:31 -07:00
application Begin modularizing main menu items 2016-01-04 06:57:09 -08:00
capability Auth - add "manage providers" capability 2015-01-12 14:37:58 -08:00
conduit Provide a more straightforward way to revoke SSH keys by finding and destroying the objects 2015-12-19 11:52:26 -08:00
constants Support invites in the registration and login flow 2015-02-11 06:06:28 -08:00
controller Improve handling of multiple edit forms when logged out 2015-12-17 08:30:54 -08:00
data Extend from Phobject 2015-06-15 18:02:27 +10:00
editor Allow login to be disabled for authentication providers 2015-12-15 15:03:06 -08:00
engine Use phutil_hashes_are_identical() when comparing hashes in Phabricator 2015-09-01 15:52:44 -07:00
exception Add email invites to Phabricator (logic only) 2015-02-09 16:12:36 -08:00
extension Begin modularizing main menu items 2016-01-04 06:57:09 -08:00
factor Add bin/auth unlimit and clean up a TODO 2015-09-14 07:03:39 -07:00
garbagecollector Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
handler Modularize generation of supplemental login messages 2015-09-04 10:34:39 -07:00
management Various translation improvements 2015-11-03 07:02:46 +11:00
phid Provide a more straightforward way to revoke SSH keys by finding and destroying the objects 2015-12-19 11:52:26 -08:00
provider Allow login to be disabled for authentication providers 2015-12-15 15:03:06 -08:00
query Provide a more straightforward way to revoke SSH keys by finding and destroying the objects 2015-12-19 11:52:26 -08:00
sshkey phtize all the things 2015-05-22 21:16:39 +10:00
storage Provide a more straightforward way to revoke SSH keys by finding and destroying the objects 2015-12-19 11:52:26 -08:00
view Make CSS agnostic to underlying profile image size 2015-05-13 11:38:46 -07:00
worker Send emails for email invites 2015-02-11 06:06:09 -08:00