Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-5163] Creating Ti.Facebook.BUTTON_STYLE_WIDE/NORMAL constants and replacing the 'wide' and 'normal' strings #734

Merged
merged 3 commits into from Nov 23, 2011

Conversation

srahim
Copy link
Contributor

@srahim srahim commented Nov 18, 2011

Replacing the old styling string "wide" and "normal " with constants Ti.Facebook.BUTTON_STYLE_WIDE and Ti.Facebook.BUTTON_STYLE_NORMAL

Testing

Test KitchenSink > Mashups > Facebook > Login/Logout
Check to see if you can see the button there.

additional test file included in Jira.

…and replacing the 'wide' and 'normal' strings
@@ -6,6 +6,6 @@ since: "0.8"
platforms: [android, iphone, ipad]
properties:
- name: style
description: set to "wide" to show a wider version of the button that displays "Connect with Facebook" instead of just "Connect".
description: set to "Ti.Facebook.BUTTON_STYLE_WIDE" to show a wider version of the button that displays "Connect with Facebook" and "Ti.Facebook.BUTTON_STYLE_NORMAL" shows just "Connect".
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this won't get fixed for Android in 1.8 description should probably say use the constants for iOS and the old strings for Android?

@srahim
Copy link
Contributor Author

srahim commented Nov 22, 2011

Ready for review.

@sptramer
Copy link
Contributor

Code reviewed. APPROVED.

@sptramer
Copy link
Contributor

All facebook tests only display STYLE_WIDE; we need at least one which displays STYLE_NORMAL. It's also worth noting that STYLE_WIDE is apparently the default on iOS, even before this pull request; maybe we should rename these constants to reflect that (STYLE_NORMAL and STYLE_SMALL?)

@sptramer
Copy link
Contributor

Passes functional testing. APPROVED, but...

@sptramer
Copy link
Contributor

We should address the issue of the functional test only testing STYLE_WIDE - at least one facebook test needs to use STYLE_NORMAL to ensure we render it correctly. QE will need to be informed of this change as well. Pull request REJECTED until a test can be updated.

@sptramer
Copy link
Contributor

Functional retest, iOS Sim 4.3 / iPod 3GT 5.0. APPROVED, and ACCEPTED.

sptramer pushed a commit that referenced this pull request Nov 23, 2011
[TIMOB-5163] Creating Ti.Facebook.BUTTON_STYLE_WIDE/NORMAL constants and replacing the 'wide' and 'normal' strings
@sptramer sptramer merged commit fd056ae into tidev:master Nov 23, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants