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

One intermediate screen is present in dev after login, which is not present in figma (present in all the login and sign-up options) #2385 #126

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

0mahendra
Copy link
Contributor

One intermediate screen is present in dev after login, which is not present in figma (present in all the login and sign-up options)
#2385

1.Click on continue with google
2.Select account and click on continue
(check for all login methods)
(For sign up, welcome text should be present)
Expected-
Welcome back screen should present once user click on continue button
Implement wrap if name is to long in size
Implement first name only
image

Actual-
One intermediate screen is present as shown below
First name and last name is present on screen

https://techdome-my.sharepoint.com/:v:/g/personal/shreyas_pharande_techdome_net_in/EfPTntgMo_FKnXo0un1qEWkBQQBcHol8ZZGsMKPF7KdTiQ?e=d3fxsZ

after solving
image

… not present in figma (present in all the login and sign-up options)
@0mahendra 0mahendra added the bug Something isn't working label Jan 15, 2025
@0mahendra 0mahendra self-assigned this Jan 15, 2025
Comment on lines +32 to +36
let data = JSON.parse(window.atob(accessToken?.split('.')[1]));
let firstName = data.name;
firstName = firstName.split(' ')[0];
firstName = firstName.length > 11 ? firstName.substring(0, 5) + "..." : firstName;
redirectRules.title = `Welcome Back ${firstName}`;
Copy link
Member

Choose a reason for hiding this comment

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

place this code inside settimeout, not outside it, like it was before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants