Page MenuHomePhabricator

Add SUCCESS state and buttons to PHUIErrorView
ClosedPublic

Authored by chad on Feb 21 2015, 5:17 PM.
Tags
None
Referenced Files
F13086316: D11849.diff
Thu, Apr 25, 12:09 AM
Unknown Object (File)
Tue, Apr 23, 8:41 AM
Unknown Object (File)
Wed, Apr 17, 8:26 PM
Unknown Object (File)
Wed, Apr 17, 8:26 PM
Unknown Object (File)
Wed, Apr 17, 8:21 PM
Unknown Object (File)
Wed, Apr 17, 8:00 PM
Unknown Object (File)
Thu, Apr 11, 8:26 AM
Unknown Object (File)
Tue, Apr 2, 11:42 AM
Subscribers

Details

Summary

I'm looking at beefing up PHUIErrorView for additional use cases as I remove some older AphrontViews. This will likely morph into PHUIInfoView and be a more lightweight version of PHUIObjectBox.

Test Plan

UIExamples, mobile and desktop layouts. Have actual use cases coming in next diffs (may tweak design more then)

pasted_file (296×525 px, 44 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

chad retitled this revision from to Add SUCCESS state and buttons to PHUIErrorView.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added reviewers: epriestley, btrahan.
chad edited the test plan for this revision. (Show Details)

This may push me to revisit our color palette as well. Will see in actual use.

btrahan edited edge metadata.

Inline musing... I'm wondering how SEVERITY_NOTICE ends up getting used now that we have the new SUCCESS severity? Maybe as this new stuff gets deployed it makes sense to turn all / most of the NOTICE into SUCCESS? Time will tell I guess.

src/view/form/PHUIErrorView.php
5–10

I think before this diff every time I've used SEVERITY_NOTICE I should have used SEVERITY_SUCCESS...

This revision is now accepted and ready to land.Feb 23 2015, 5:36 PM

Lawful Good - Green
Lawful Neutral - Blue
(True) Neutral - White
Chaotic Neutral - Yellow
Chaotic Evil - Red

In D11849#115206, @chad wrote:

Lawful Good - Green
Lawful Neutral - Blue
(True) Neutral - White
Chaotic Neutral - Yellow
Chaotic Evil - Red

awesometown

This revision was automatically updated to reflect the committed changes.