Page MenuHomePhabricator

Clean up some PHUI/PHUIX button behaviors
ClosedPublic

Authored by epriestley on Jun 2 2017, 11:12 AM.
Tags
None
Referenced Files
F19481143: D18065.diff
Wed, Jan 7, 11:17 PM
F19470081: D18065.diff
Mon, Jan 5, 8:56 AM
F19446143: D18065.diff
Mon, Dec 29, 2:52 PM
F19017168: D18065.id.diff
Nov 23 2025, 6:54 AM
F19013408: D18065.diff
Nov 22 2025, 3:22 PM
F18817536: D18065.diff
Oct 21 2025, 4:21 PM
F18812563: D18065.id.diff
Oct 20 2025, 10:24 AM
F18809568: D18065.diff
Oct 19 2025, 3:09 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