Page MenuHomePhabricator

Clean up some PHUI/PHUIX button behaviors
ClosedPublic

Authored by epriestley on Jun 2 2017, 11:12 AM.
Tags
None
Referenced Files
F14754649: D18065.id43454.diff
Tue, Jan 21, 3:36 PM
F14753944: D18065.id43451.diff
Tue, Jan 21, 3:22 PM
Unknown Object (File)
Tue, Jan 21, 12:35 PM
Unknown Object (File)
Tue, Jan 21, 10:26 AM
Unknown Object (File)
Sat, Jan 18, 4:04 PM
Unknown Object (File)
Fri, Jan 17, 6:09 AM
Unknown Object (File)
Sat, Jan 11, 1:34 AM
Unknown Object (File)
Dec 10 2024, 6:54 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