Page MenuHomePhabricator

Clean up some PHUI/PHUIX button behaviors
ClosedPublic

Authored by epriestley on Jun 2 2017, 11:12 AM.
Tags
None
Referenced Files
F18292563: D18065.id43454.diff
Sat, Aug 23, 12:21 PM
F18098203: D18065.id43451.diff
Fri, Aug 8, 7:11 PM
F18094716: D18065.id43454.diff
Thu, Aug 7, 10:18 PM
F18094715: D18065.id43451.diff
Thu, Aug 7, 10:18 PM
F18094714: D18065.id.diff
Thu, Aug 7, 10:18 PM
F18092363: D18065.id.diff
Thu, Aug 7, 9:49 AM
F18090791: D18065.diff
Wed, Aug 6, 5:34 PM
F17948427: D18065.id.diff
Thu, Jul 31, 9:06 PM
Subscribers
None

Details

Summary

Ref T12733. Some minor issues:

  • The strlen(...) test against $this->text fails if a caller does something like setText(array(...)). This is rare, but used in DiffusionBrowseController, from D15487.
  • Add PHUIX examples for icon-only buttons.
  • Remove unused SIMPLE constant now that no callsites remain.
Test Plan
  • Viewed a directory in Diffusion's "Browse" view in a Git repository, no longer saw a warning / error log.
  • Viewed PHUIX Components UI examples.
  • Grepped for ::SIMPLE.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable