1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 10:22:42 +01:00
phorge-phorge/src/applications/differential/view
Nick Harper 6039ca6fb5 Create option for differential custom fields to display warning on accept
Summary:
This adds support to differential fields to display warnings before a revision
gets accepted. Since lint and unit are differential fields, the code for their
warnings was moved into their respective field specification classes, so there
is only one code path for warnings (lint, unit, or custom).

Test Plan:
Select 'Accept' on a revision with lint/unit warnings and see messages appear
like they used to. Change it back to 'Comment' and they go away. Repeat with
a revision without lint/unit warnings and see no warnings appear. Checked
darkconsole to see no errors due to this.

Reviewers: jungejason, epriestley, vrana

Reviewed By: epriestley

CC: aran, Koolvin

Differential Revision: https://secure.phabricator.com/D2363
2012-05-02 14:30:21 -07:00
..
addcomment Create option for differential custom fields to display warning on accept 2012-05-02 14:30:21 -07:00
changesetdetailview Display cursor hand on line number in revision but not in standalone view 2012-04-10 15:05:54 -07:00
changesetlistview Display cursor hand on line number in revision but not in standalone view 2012-04-10 15:05:54 -07:00
difftableofcontents Display Browse in Diffusion and Open in Editor links in commit detail 2012-04-10 09:54:38 -07:00
inlinecomment Don't display inline comment's Reply in standalone view 2012-04-18 10:44:24 -07:00
inlinecommentedit Allow selecting text when creating inline comment 2012-03-15 11:02:25 -07:00
localcommits Display local commit information in Differential 2011-08-31 13:49:50 -07:00
primarypane Return $this from shortcuts 2012-04-04 15:12:20 -07:00
resultstableview Further improve unit/lint rendering 2012-05-01 10:15:56 -07:00
revisioncomment Link to "large" view from inline comment for previous revision 2012-04-17 20:16:01 -07:00
revisioncommentlist Replace elseif by else if 2012-04-04 15:24:47 -07:00
revisiondetail Further improve unit/lint rendering 2012-05-01 10:15:56 -07:00
revisionlist Use assert_instances_of() in Differential 2012-04-04 15:11:30 -07:00
revisionstats Use assert_instances_of() in Differential 2012-04-04 15:11:30 -07:00
revisionupdatehistory Jump to TOC after Show Diff 2012-04-06 09:56:28 -07:00