1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 09:18:48 +02:00
phorge-phorge/webroot/rsrc/js/application
epriestley 45c3aaeb26 Attempt to make dropdown item actions more consistent
Summary:
See D17210. Currently, this handler needs to be installed on each menu that doesn't build with the default behavior.

Rather than copy-pasting it to the user menu, try to make it a default behavior. This adds a new rule: don't close the menu if the item is a dynamic item built in JS with PHUIXActionView.

This allows dynamic items to control the menu themselves, while giving static items the desired default behavior.

Test Plan:
  - Opened menus on: dashboards, user menu, timeline comments. Clicked stuff. Menus went away.
  - Other menus still seemed to work right: Diffusion, Favorites, mobile menu.

Reviewers: chad

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D17222
2017-01-18 13:14:54 -08:00
..
aphlict Make documentation items in user menu update as you navigate in Quicksand 2017-01-17 15:55:52 -08:00
calendar Remove obsolete Calendar event date storage fields 2016-11-02 09:49:08 -07:00
config Fix custom field selector control in cases where the user doesn't edit anything 2015-05-25 05:34:23 -07:00
conpherence Wipe textarea immediately when submitting a new message in Conpherence 2016-12-01 10:08:11 -08:00
countdown
daemon Execute Maniphest batch edits in the background with a web UI progress bar 2015-06-23 13:36:16 -07:00
dashboard Improve minor workboard drag behaviors 2016-02-02 06:42:41 -08:00
diff Make "View" links on Differential inline comment previews work again 2017-01-02 13:24:02 -08:00
differential Use EditEngine stacked comments in Diffusion 2017-01-11 14:46:48 -08:00
diffusion Improve "thread" rendering of unusually-shaped graphs 2016-07-01 11:15:24 -07:00
doorkeeper
drydock Show a more reasonable status element for pull requests 2015-10-21 11:28:26 -07:00
files Remove defunt project image choices 2016-01-19 08:50:59 -08:00
herald Fix an initialization issue in Herald rules in Chrome 2016-03-22 09:13:51 -07:00
maniphest Reorganize phui-object-item CSS, add drag ui 2016-12-14 11:53:17 -08:00
owners
passphrase
pholio Allow Pholio mocks to be created and edited without drag-and-drop 2016-06-09 08:43:38 -07:00
phortune
policy De-garbage the horrible garbage project section of the policy selection control 2016-02-05 09:50:06 -08:00
projects Attempt to make dropdown item actions more consistent 2017-01-18 13:14:54 -08:00
releeph
repository Symbol Search: Allow ctrl-click with no hover 2015-08-27 04:17:38 -07:00
search Allow profile menu items to be reordered 2016-01-13 11:45:57 -08:00
slowvote
transactions Straighten out some stacked action removal behaviors 2017-01-04 19:16:58 -08:00
typeahead Implement viewer() and members(project) typeahead functions 2015-04-17 11:06:58 -07:00
uiexample