1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 17:52:43 +01:00
phorge-phorge/src/applications/calendar
epriestley 7969f66dfe Fully modularize the "Quick Actions" menu
Summary:
Ref T10077. Currently, we issue 6+ queries on every page to build this menu, since the menu is built application-by-application.

Build the menu with dedicated modules instead so a single "EditEngine" module can provide all of them with one query.

I'd like to reduce this to 0 queries but I'm not totally sure what we want to do with this menu.

This change removes these items, because EditEngine can not currently provide them:

  - Calendar: Eventually via EditEngine eventually.
  - Conpherence: Probably via EditEngine, doesn't seem too important.
  - People: Maybe via EditEngine, doesn't seem too important? "Welcome" is likely better?
  - Pholio: Eventually via EditEngine.

It adds a bunch of other items as a side effect:

{F1677151}

This reduces the queries issued on every page by ~5.

This also makes quick create actions visible while logged out (see T7073).

Test Plan:
  - Viewed menu while logged in.
  - Viewed menu while logged out.
  - Viewed standalone version of menu.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10077

Differential Revision: https://secure.phabricator.com/D16045
2016-06-05 10:32:01 -07:00
..
__tests__ Make translation, timezone and pronoun into real settings 2016-06-02 06:29:47 -07:00
application Fully modularize the "Quick Actions" menu 2016-06-05 10:32:01 -07:00
command Users should be able to rsvp to event via email 2015-05-01 19:01:29 -07:00
controller Better wording for cancelling/reinstating recurring events 2016-04-20 10:10:59 -07:00
editor HTML emails for Calendar event description changes should respect remarkup rules 2015-11-07 07:39:52 -08:00
icon Provide a "PHUIFormIconSetControl" 2015-12-16 08:46:51 -08:00
mail phtize all the things 2015-05-22 21:16:39 +10:00
phid Mark PhabricatorPHIDType::getPHIDTypeApplicationClass() as abstract 2015-11-03 06:47:12 +11:00
query Convert some loadPreferences() to getUserSetting() 2016-06-02 06:29:20 -07:00
remarkup Calendar event monograms, part 3. Remarkup for calendar event monograms. 2015-04-27 14:27:34 -07:00
search Convert all "DocumentIndexers" into "FulltextEngines" 2015-12-21 17:25:23 -08:00
storage Remove "days fresh" / "days stale" indictator in Differential revision list 2016-05-16 10:47:19 -07:00
util Linter fixes 2015-12-03 07:44:23 +11:00
view Clicking in day view should create new event 2015-05-24 11:22:33 -07:00