Page MenuHomePhabricator

Clean up some PHUI/PHUIX button behaviors
ClosedPublic

Authored by epriestley on Jun 2 2017, 11:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 7, 9:42 AM
Unknown Object (File)
Mon, May 6, 8:21 PM
Unknown Object (File)
Mon, May 6, 8:21 PM
Unknown Object (File)
Mon, May 6, 7:39 PM
Unknown Object (File)
Mon, May 6, 6:22 PM
Unknown Object (File)
Fri, Apr 19, 6:34 PM
Unknown Object (File)
Thu, Apr 11, 10:31 AM
Unknown Object (File)
Apr 6 2024, 7:47 AM
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