GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix create account title not showing up (and cleanup strings) by SUPERCILEX · Pull Request #484 · firebase/FirebaseUI-Android

Conversation

@SUPERCILEX

@SUPERCILEX SUPERCILEX commented Dec 31, 2016

Copy link
Copy Markdown
Contributor

The original purpose of this PR was to fix this still saying "Sign in", but the strings.xml file drove me crazy so I did a ton of cleanup there.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
SUPERCILEX added 6 commits December 31, 2016 12:48
@SUPERCILEX
Initial refactor
b7924ed
Signed-off-by: Alex Saveau <[email protected]>
@SUPERCILEX
Change password error text
54f3754
Signed-off-by: Alex Saveau <[email protected]>
@SUPERCILEX
Bug fix
c4298a1
Signed-off-by: Alex Saveau <[email protected]>
@SUPERCILEX
Fix title not displaying in activity and change to "Sign up"
a7c5e52
Signed-off-by: Alex Saveau <[email protected]>
@SUPERCILEX
Cleanup
5d47b1e
Signed-off-by: Alex Saveau <[email protected]>
@SUPERCILEX
Cleanup
65773a1
Signed-off-by: Alex Saveau <[email protected]>
SUPERCILEX
SUPERCILEX commented Dec 31, 2016
View reviewed changes
Comment thread auth/src/main/res/values/strings.xml
<string name="name_hint">First &amp; last name</string>
<string name="password_recovery_body">Get instructions sent to this email that explain how to
reset your password.</string>
<string name="create_account_title">Create account</string>

@SUPERCILEX SUPERCILEX Dec 31, 2016

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I changed this to "Sign up" to be more consistent with our progress dialog.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread auth/src/main/res/values/strings.xml
</plurals>
<string name="invalid_email_address">That email address isn\'t correct</string>
<string name="missing_email_address">Enter your email address to continue</string>
<string name="error_weak_password">Password not strong enough. Use at least 6 characters and a mix of letters and numbers.</string>

@SUPERCILEX SUPERCILEX Dec 31, 2016

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Got rid of this; using the plural instead.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
SUPERCILEX added 4 commits December 31, 2016 13:36
@SUPERCILEX
Completely disable mockito version checks
61ace85
Signed-off-by: Alex Saveau <[email protected]>
@SUPERCILEX
And GradleDynamicVersion
97bc867
Signed-off-by: Alex Saveau <[email protected]>
@SUPERCILEX
Fix gradle stuff
acab715
Signed-off-by: Alex Saveau <[email protected]>
@SUPERCILEX
Merge branch 'gradle' into change-title
94d6a03
samtstern
samtstern reviewed Jan 3, 2017
View reviewed changes
Comment thread auth/src/main/res/values/strings.xml
<string name="title_check_email">@string/sign_in_default</string>
<string name="title_register_email_activity">@string/create_account_title</string>
<string name="title_recover_password_activity">@string/recover_password_title</string>
<string name="title_confirm_recover_password_activity">@string/check_your_email</string>

@samtstern samtstern Jan 3, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

While these title_ strings are not part of the public API, I know there are some devs that do override them. We seem to have changed title_confirm_recover_password_activity to title_confirm_recover_password here, can we undo that just to keep the resource name as long as we can? Or is there a reason for the change?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@SUPERCILEX SUPERCILEX Jan 3, 2017

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I meant to change it to title_confirm_recover_password_dialog because it's used in the dialog:

return new AlertDialog.Builder(getContext(), R.style.FirebaseUI_Dialog)
                .setTitle(R.string.title_confirm_recover_password)

@samtstern Would you like me to change it back to title_confirm_recover_password_activity or to title_confirm_recover_password_dialog?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@samtstern samtstern Jan 3, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Ah if was never used as an Activity title it's fine as-is.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@SUPERCILEX SUPERCILEX Jan 3, 2017

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

It was an activity in the dark ages before #357 (comment). I just never changed the string name...

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
SUPERCILEX added 2 commits January 3, 2017 12:39
@SUPERCILEX
Merge remote-tracking branch 'firebase/version-1.1.0-dev' into cleanu…
202cded
…p-strings

# Conflicts:
#	auth/src/main/java/com/firebase/ui/auth/ui/accountlink/WelcomeBackIdpPrompt.java
#	auth/src/main/java/com/firebase/ui/auth/ui/accountlink/WelcomeBackPasswordPrompt.java
#	auth/src/main/java/com/firebase/ui/auth/ui/email/RecoveryEmailSentDialog.java
#	auth/src/main/java/com/firebase/ui/auth/ui/email/fieldvalidators/PasswordFieldValidator.java
@SUPERCILEX
Cleanup
7f340b4
Signed-off-by: Alex Saveau <[email protected]>
@samtstern
samtstern merged commit 48e138f into firebase:version-1.1.0-dev Jan 3, 2017
@SUPERCILEX
SUPERCILEX deleted the cleanup-strings branch January 3, 2017 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@samtstern samtstern samtstern left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@SUPERCILEX @samtstern
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.