Page MenuHomePhabricator

Add an ApplicationProfilePanel
ClosedPublic

Authored by chad on Dec 9 2016, 7:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 20, 9:04 PM
Unknown Object (File)
Wed, Dec 18, 12:36 PM
Unknown Object (File)
Wed, Dec 18, 12:36 PM
Unknown Object (File)
Wed, Dec 18, 12:36 PM
Unknown Object (File)
Wed, Dec 18, 12:35 PM
Unknown Object (File)
Thu, Dec 12, 11:53 AM
Unknown Object (File)
Mon, Dec 9, 6:54 AM
Unknown Object (File)
Mon, Dec 9, 6:54 AM
Subscribers

Details

Summary

Allows applications to be added as profile menu items

Test Plan

Add an application to a project, see menu item, click on menu. Uninstall application, see menu without application.

Diff Detail

Repository
rP Phabricator
Branch
application-panel (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 14830
Build 19404: Run Core Tests
Build 19403: arc lint + arc unit

Event Timeline

chad retitled this revision from to Add an ApplicationProfilePanel.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added a reviewer: epriestley.
epriestley edited edge metadata.
  • If I uninstall the application, then click "Edit Menu", do I still see something sensible?
  • You could optionally let users rename these by adding another field to buildEditEngineFields(), so they can call "Maniphest" something like "Tasks" if they want.
src/applications/search/profilepanel/PhabricatorApplicationProfilePanel.php
40–49

I think it would be slightly better to use PhabricatorApplicationQuery with withPHIDs(...) here. In practice, it does the same thing, but we could optimize that more easily in the future if it ever shows up on a profile.

This revision is now accepted and ready to land.Dec 9 2016, 7:45 PM
chad edited edge metadata.
  • use PhabricatorApplicationQuery
  • Fake a name when uninstalled
This revision was automatically updated to reflect the committed changes.