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.
Details
Details
- Reviewers
epriestley btrahan - Commits
- Restricted Diffusion Commit
rP7d4ec48a0ed1: Add SUCCESS state and buttons to PHUIErrorView
UIExamples, mobile and desktop layouts. Have actual use cases coming in next diffs (may tweak design more then)
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
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... |
Comment Actions
Lawful Good - Green
Lawful Neutral - Blue
(True) Neutral - White
Chaotic Neutral - Yellow
Chaotic Evil - Red