Skip to content

Commit d38e957

Browse files
authored
Merge pull request #1266 from firebase/@invertase/screen-sign-in-tracking
2 parents c36a352 + 7b3450c commit d38e957

File tree

91 files changed

+2280
-443
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+2280
-443
lines changed

examples/angular/src/app/screens/email-link-auth-screen-w-oauth/email-link-auth-screen-w-oauth.component.ts renamed to examples/angular/src/app/screens/email-link-auth-screen-w-oauth.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,14 @@
1717
import { Component, inject } from "@angular/core";
1818
import { CommonModule } from "@angular/common";
1919
import { EmailLinkAuthScreenComponent, GoogleSignInButtonComponent } from "@invertase/firebaseui-angular";
20-
import type { UserCredential } from "firebase/auth";
2120
import { Router } from "@angular/router";
2221

2322
@Component({
2423
selector: "app-email-link-auth-screen-w-oauth",
2524
standalone: true,
2625
imports: [CommonModule, EmailLinkAuthScreenComponent, GoogleSignInButtonComponent],
2726
template: `
28-
<fui-email-link-auth-screen (emailSent)="onEmailSent()" (signIn)="onSignIn($event)">
27+
<fui-email-link-auth-screen (emailSent)="onEmailSent()" (signIn)="onSignIn()">
2928
<fui-google-sign-in-button></fui-google-sign-in-button>
3029
</fui-email-link-auth-screen>
3130
`,
@@ -38,8 +37,7 @@ export class EmailLinkAuthScreenWithOAuthComponent {
3837
alert("email sent - please check your email");
3938
}
4039

41-
onSignIn(credential: UserCredential) {
42-
console.log("sign in", credential);
40+
onSignIn() {
4341
this.router.navigate(["/"]);
4442
}
4543
}

examples/angular/src/app/screens/email-link-auth-screen-w-oauth/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/angular/src/app/screens/email-link-auth-screen/email-link-auth-screen.component.ts renamed to examples/angular/src/app/screens/email-link-auth-screen.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,13 @@
1717
import { Component, inject } from "@angular/core";
1818
import { CommonModule } from "@angular/common";
1919
import { EmailLinkAuthScreenComponent } from "@invertase/firebaseui-angular";
20-
import type { UserCredential } from "firebase/auth";
2120
import { Router } from "@angular/router";
2221

2322
@Component({
2423
selector: "app-email-link-auth-screen",
2524
standalone: true,
2625
imports: [CommonModule, EmailLinkAuthScreenComponent],
27-
template: ` <fui-email-link-auth-screen (emailSent)="onEmailSent()" (signIn)="onSignIn($event)" />`,
26+
template: ` <fui-email-link-auth-screen (emailSent)="onEmailSent()" (signIn)="onSignIn()" />`,
2827
styles: [],
2928
})
3029
export class EmailLinkAuthScreenWrapperComponent {
@@ -34,8 +33,7 @@ export class EmailLinkAuthScreenWrapperComponent {
3433
alert("email sent - please check your email");
3534
}
3635

37-
onSignIn(credential: UserCredential) {
38-
console.log("sign in", credential);
36+
onSignIn() {
3937
this.router.navigate(["/"]);
4038
}
4139
}

examples/angular/src/app/screens/email-link-auth-screen/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/angular/src/app/screens/forgot-password-auth-screen-w-handlers/forgot-password-auth-screen-w-handlers.component.ts renamed to examples/angular/src/app/screens/forgot-password-auth-screen-w-handlers.ts

File renamed without changes.

examples/angular/src/app/screens/forgot-password-auth-screen-w-handlers/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/angular/src/app/screens/forgot-password-auth-screen/forgot-password-auth-screen.component.ts renamed to examples/angular/src/app/screens/forgot-password-auth-screen.ts

File renamed without changes.

examples/angular/src/app/screens/forgot-password-auth-screen/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/angular/src/app/screens/mfa-enrollment-screen/mfa-enrollment-screen.component.ts renamed to examples/angular/src/app/screens/mfa-enrollment-screen.ts

File renamed without changes.

examples/angular/src/app/screens/mfa-enrollment-screen/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)