1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 11:22:40 +01:00
phorge-phorge/src/view
epriestley d8713f6f0b Make dialogs a little easier to use
Summary:
  - Dialog pages currently have no titles or crumbs, and look shoddy. Add titles and crumbs.
  - Dialog titles aren't always great for crumbs, add an optional "short title" for crumbs.
  - `AphrontDialogResponse` is pure boilerplate. Allow controllers to just return a `DialogView` instead and get the same effect.
  - Building dialogs requires a bit of boilerplate, and we generally construct them with no explicit `"action"`, which has some issues with T4593. Provide a convenience method to set the viewer and get a reasonable, explict submit URI.

Test Plan:
  - Viewed dialog on its own.
  - Viewed dialog as a dialog.

{F132353}

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D8577
2014-03-21 14:40:05 -07:00
..
__tests__ Added some additional assertion methods. 2014-03-08 19:16:21 -08:00
control Use standard UI kit on project member page 2014-03-19 19:30:27 -07:00
form Modernize documentation links 2014-03-17 15:01:31 -07:00
layout Added some additional assertion methods. 2014-03-08 19:16:21 -08:00
page Include Source Sans on-demand with Celerity 2014-03-06 11:39:48 -08:00
phui Allow ObjectItemListView to show profile images 2014-03-19 19:26:24 -07:00
widget Hovercard - add project images 2014-03-10 17:10:32 -07:00
AphrontDialogView.php Make dialogs a little easier to use 2014-03-21 14:40:05 -07:00
AphrontJavelinView.php Partial fix for Javelin View Example 2013-07-16 13:31:43 -07:00
AphrontNullView.php Provide hasChildren() to replace isEmptyContent() 2013-08-12 07:51:01 -07:00
AphrontTagView.php Remove all the container node stuff from AphrontTagView 2013-06-05 16:21:55 -07:00
AphrontView.php Allow CelerityResourceResponse to hold resources from multiple maps 2014-01-02 11:59:35 -08:00
viewutils.php Various linter fixes. 2014-02-26 12:44:58 -08:00