Page MenuHomePhabricator

Make "simple" a "button type", not a "color"
ClosedPublic

Authored by epriestley on May 30 2017, 9:41 PM.
Tags
None
Referenced Files
F15431461: D18048.id43419.diff
Mon, Mar 24, 12:28 PM
F15428820: D18048.id.diff
Sun, Mar 23, 10:35 PM
F15428281: D18048.id43407.diff
Sun, Mar 23, 6:52 PM
F15423968: D18048.id43406.diff
Sat, Mar 22, 7:42 PM
F15423312: D18048.diff
Sat, Mar 22, 2:41 PM
F15385683: D18048.id43406.diff
Fri, Mar 14, 11:10 PM
F15384788: D18048.id43419.diff
Fri, Mar 14, 8:50 PM
F15378569: D18048.id43407.diff
Thu, Mar 13, 3:21 PM
Subscribers
None

Details

Summary

Ref M1476. Currently, setColor('simple') is meaningful. Instead, setButtonType('simple').

Depends on D18047.

Test Plan

Looked at UI examples, Phame, Auth. Notifications mooted by D18047.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Open to other word choice here, but setStyle() sounds like HTML style="..." attributes.

This revision is now accepted and ready to land.May 30 2017, 9:45 PM

I think we usually do "setType" but I hate not being able to easily grep that.

Alternative: setButtonType

epriestley retitled this revision from Make "simple" a "design", not a "color" to Make "simple" a "button type", not a "color".
epriestley edited the summary of this revision. (Show Details)
  • "Design" -> "Button Type"
This revision was automatically updated to reflect the committed changes.