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)
Sun, Nov 24, 7:15 PM
Unknown Object (File)
Sun, Nov 24, 11:50 AM
Unknown Object (File)
Sun, Nov 24, 11:25 AM
Unknown Object (File)
Sat, Nov 23, 2:08 PM
Unknown Object (File)
Sat, Nov 16, 9:46 PM
Unknown Object (File)
Thu, Nov 14, 4:42 AM
Unknown Object (File)
Sun, Nov 10, 9:06 PM
Unknown Object (File)
Oct 19 2024, 2:42 AM
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 17319
Build 23208: Run Core Tests
Build 23207: 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.