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 — Add new user information by SUPERCILEX · Pull Request #1355 · firebase/FirebaseUI-Android

Conversation

@SUPERCILEX

@SUPERCILEX SUPERCILEX commented Jun 13, 2018

Copy link
Copy Markdown
Contributor

Fixes #1242

Sorry, something went wrong.

Uh oh!

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

All reactions
@SUPERCILEX
Add new user information
eee14c9
Signed-off-by: Alex Saveau <[email protected]>
@SUPERCILEX
SUPERCILEX requested a review from samtstern as a code owner June 13, 2018 02:23
@SUPERCILEX
Fix tests
c604b67
Signed-off-by: Alex Saveau <[email protected]>
@samtstern samtstern added this to the 4.1.0 milestone Jun 13, 2018
@samtstern

samtstern commented Jun 13, 2018

Copy link
Copy Markdown
Contributor

@SUPERCILEX thanks for doing this! Code LGTM.

Just wondering: what criteria did you use to find all the places where you care about the AuthResult? Is there any way we can generalize some of what you did so that we don't forget to pass through information from the AuthResult in future additions / refactors?

All reactions

Sorry, something went wrong.

Uh oh!

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

@SUPERCILEX
Address review feedback
bb8edad
Signed-off-by: Alex Saveau <[email protected]>
@SUPERCILEX

SUPERCILEX commented Jun 13, 2018

Copy link
Copy Markdown
Contributor Author

@samtstern Yeah, I did a find on all calls to Resource#setResult and then looked for ones in a Firebase auth callback. I agree that we should generalize this so I added a base class with a helper method, but I don't see a way of enforcing that it's called instead of setResult directly. 🤷‍♂️

All reactions

Sorry, something went wrong.

Uh oh!

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

@samtstern

samtstern commented Jun 13, 2018

Copy link
Copy Markdown
Contributor

@SUPERCILEX this looks better to me, thanks for the refactor!

All reactions

Sorry, something went wrong.

Uh oh!

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

@samtstern
samtstern merged commit 915846d into firebase:version-4.1.0-dev Jun 13, 2018
@SUPERCILEX
SUPERCILEX deleted the new-user branch June 13, 2018 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@samtstern samtstern Awaiting requested review from samtstern

Uh oh!

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

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

4.1.0

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.