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
Unknown Object (File)
Fri, Dec 20, 9:11 PM
Unknown Object (File)
Sat, Dec 14, 7:18 AM
Unknown Object (File)
Fri, Dec 13, 12:34 AM
Unknown Object (File)
Tue, Dec 10, 1:45 PM
Unknown Object (File)
Fri, Dec 6, 10:20 PM
Unknown Object (File)
Wed, Dec 4, 12:27 AM
Unknown Object (File)
Fri, Nov 29, 12:00 PM
Unknown Object (File)
Nov 24 2024, 7:15 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
Branch
head4
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 17320
Build 23210: Run Core Tests
Build 23209: arc lint + arc unit

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.