Page MenuHomePhabricator

Add SUCCESS state and buttons to PHUIErrorView
ClosedPublic

Authored by chad on Feb 21 2015, 5:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 8:09 PM
Unknown Object (File)
Sat, Nov 16, 11:45 AM
Unknown Object (File)
Mon, Nov 11, 10:03 PM
Unknown Object (File)
Fri, Nov 8, 5:00 AM
Unknown Object (File)
Sun, Nov 3, 10:46 AM
Unknown Object (File)
Thu, Oct 31, 3:24 PM
Unknown Object (File)
Tue, Oct 29, 7:23 AM
Unknown Object (File)
Oct 26 2024, 3:52 PM
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
Branch
error-view-expanded
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 4599
Build 4613: [Placeholder Plan] Wait for 30 Seconds

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–9

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.