-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix login page urls #15731
Fix login page urls #15731
Conversation
@Santhosh-Sellavel @amyevans One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
@luacmartins When I can signup or login inside the app, why a web page is loaded browser for native platforms? |
@Santhosh-Sellavel that's a good point. Thinking more about it, that section doesn't make much sense since we only display the footer on the sign in page and those links point to the same page. @shawnborton am I missing something here? Is there a reason to have the |
It makes more sense because we are already on the sign-in/sign-up page, |
I think the main reason was so that the Get Started section is consistent across every single footer in our universe: NewDot, OldDot, WeAre, UseDot, CommunityDot, HelpDot, etc. |
Updated! |
LGTM tests well mostly. But will continue and get it done with the checklist tomorrow! |
Reviewer Checklist
Screenshots/VideosWeb & DesktopScreen.Recording.2023-03-14.at.8.29.41.PM.movMobile Web - Chrome & Mobile Web - SafariScreen.Recording.2023-03-14.at.8.30.39.PM.moviOS &AndroidScreen.Recording.2023-03-14.at.8.34.04.PM.mov |
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.
LGTM, test well!
All you @amyevans
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/amyevans in version: 1.2.88-0 🚀
|
🚀 Deployed to staging by https://github.com/amyevans in version: 1.2.88-0 🚀
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.2.88-2 🚀
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.2.88-2 🚀
|
translationPath: 'footer.createAccount', | ||
}, | ||
{ | ||
link: CONST.NEW_EXPENSIFY_URL, | ||
onPress: navigateHome, | ||
translationPath: 'footer.logIn', |
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.
Hi! Coming from #16981 (A small UX polish)
We shouldn't call navigateHome
if we're on the same page, because it'll trigger a navigation animation to the same page which looks weird.
230212633-7e1dd419-8b17-47fe-a60a-407b8e3d315e.mp4
We should have just scrolled to the top instead.
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.
Good point, thank you for sharing!
We caused this #16357, we should have just scrolled up. |
@Santhosh-Sellavel can you clarify which issue you're coming from? Your link is just to this PR |
Sorry for the mixup updated now. #16357 |
Details
The
Create a new account
andLogin
urls in the Sign in page should redirect to the specific environment we are on, i.e. dev, staging, prod.Fixed Issues
$ #15694
Tests
Create a new account
link in the footerContinue
Log in
Offline tests
N/A
QA Steps
Same as test steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
web.mov
Mobile Web - Chrome
chrome.mov
Mobile Web - Safari
safari.mov
Desktop
desktop.mov
iOS
ios.mov
Android
android.mov