Page MenuHomePhabricator

In PHUIInfoView, only show list UI if more than 1 item
ClosedPublic

Authored by chad on Oct 19 2015, 11:24 PM.

Details

Summary

We often just setError as an array even if it's only one error. This just makes the UI a little cleaner in these cases.

Test Plan

Remove all reviewers from a diff, see status error without list styling.

Diff Detail

Repository
rP Phabricator
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

chad updated this revision to Diff 34537.Oct 19 2015, 11:24 PM
chad retitled this revision from to In PHUIInfoView, only show list UI if more than 1 item.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added a reviewer: epriestley.
epriestley accepted this revision.Oct 20 2015, 2:12 AM
epriestley edited edge metadata.
This revision is now accepted and ready to land.Oct 20 2015, 2:12 AM
This revision was automatically updated to reflect the committed changes.