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/applications/differential/controller
epriestley e81637a6c6 Fix some issues with the "Explain Why" dialog
Summary:
Ref T11051. This is still not as clear as it should be, but is at least working as intended now.

I believe this part of the code just never worked. The test plan on D10489 didn't specifically cover it.

Test Plan:
Did this sort of thing in a repository:

```
$ git checkout -b featurex
$ echo x >> y
$ git commit -am wip
$ arc diff
```

Then I simulated just pushing it (this flow is a little more involved than necessary):

```
$ arc land --hold
$ git commit --amend
$ # remove all metadata -- particularly, "Differential Revision"!
$ git push HEAD:master
```

I got a not-great but more-useful dialog:

{F1667318}

Prior to this change, the hash match was incorrectly not reported at all.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11051

Differential Revision: https://secure.phabricator.com/D15989
2016-05-30 09:52:35 -07:00
..
DifferentialChangesetViewController.php Update Differential edit pages to new UI 2016-03-30 12:45:59 -07:00
DifferentialCommentPreviewController.php Update Differential for handleRequest 2015-10-11 08:18:42 -07:00
DifferentialCommentSaveController.php Update Differential for handleRequest 2015-10-11 08:18:42 -07:00
DifferentialController.php Convert Differential to new layout 2016-03-12 13:04:21 -08:00
DifferentialDiffCreateController.php Update Differential edit pages to new UI 2016-03-30 12:45:59 -07:00
DifferentialDiffViewController.php Update Diff view page to new layout 2016-03-13 16:04:38 -07:00
DifferentialInlineCommentEditController.php Correctly clear draft markers when deleting an inline comment 2015-07-21 11:36:46 -07:00
DifferentialInlineCommentPreviewController.php Allow inline comments to be individually hidden 2015-05-27 10:28:38 -07:00
DifferentialRevisionCloseDetailsController.php Fix some issues with the "Explain Why" dialog 2016-05-30 09:52:35 -07:00
DifferentialRevisionEditController.php Bump font size on property headers 2016-04-06 23:08:20 +00:00
DifferentialRevisionLandController.php Convert diffusion.looksoon to use repository identifiers instead of callsigns 2016-01-04 06:54:20 -08:00
DifferentialRevisionListController.php Update Differential for handleRequest 2015-10-11 08:18:42 -07:00
DifferentialRevisionOperationController.php Improve UX and messaging for certain errors when landing revisions 2015-12-27 08:01:20 -08:00
DifferentialRevisionViewController.php Normalize case on active operations 2016-04-06 17:33:59 -07:00