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, Dec 10, 6:54 PM
Unknown Object (File)
Fri, Dec 6, 2:43 PM
Unknown Object (File)
Wed, Nov 27, 12:29 PM
Unknown Object (File)
Nov 19 2024, 8:03 AM
Unknown Object (File)
Oct 23 2024, 5:04 PM
Unknown Object (File)
Oct 17 2024, 3:40 AM
Unknown Object (File)
Oct 16 2024, 6:18 AM
Unknown Object (File)
Oct 15 2024, 11:08 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