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, Aug 25, 12:30 PM
Unknown Object (File)
Jul 9 2026, 1:12 PM
Unknown Object (File)
Apr 14 2026, 9:15 AM
Unknown Object (File)
Mar 11 2026, 3:06 PM
Unknown Object (File)
Mar 11 2026, 11:06 AM
Unknown Object (File)
Mar 9 2026, 5:50 PM
Unknown Object (File)
Mar 4 2026, 2:14 AM
Unknown Object (File)
Jan 7 2026, 11:17 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