-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 sign in banner still showing for a moment after login #37584
Fix sign in banner still showing for a moment after login #37584
Conversation
I can't seem to open a public room on Android mWeb. |
}; | ||
|
||
function ReportFooter(props) { | ||
const styles = useThemeStyles(); | ||
const {isOffline} = useNetwork(); | ||
const chatFooterStyles = {...styles.chatFooter, minHeight: !isOffline ? CONST.CHAT_FOOTER_MIN_HEIGHT : 0}; | ||
const isArchivedRoom = ReportUtils.isArchivedRoom(props.report); | ||
const isAnonymousUser = Session.isAnonymousUser(); | ||
const isAnonymousUser = props.session.authTokenType === 'anonymousAccount'; |
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.
We can move string anonymousAccount
to const file as it is used in multiple places.
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.
Done
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid1.mp4Android: mWeb Chromeandroid2.mp4iOS: NativeSimulator.Screen.Recording.-.iPhone.15.Pro.-.2024-03-01.at.18.52.58.mp4iOS: mWeb SafariSimulator.Screen.Recording.-.iPhone.15.Pro.-.2024-03-01.at.18.51.05.mp4MacOS: Chrome / SafariScreen.Recording.2024-03-01.at.17.59.38.movMacOS: DesktopScreen.Recording.2024-03-01.at.18.59.42.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!
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, thanks guys!
✋ 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/marcochavezf in version: 1.4.47-0 🚀
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.4.47-10 🚀
|
Details
There is a sign in banner at the report screen footer when logged in as anon user. After login to a real account, the sign in banner doesn't immediately disappear.
Fixed Issues
$ #36976
PROPOSAL: #36976 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
Android mWeb
I can't open a public room
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.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
Android: Native
Screen.Recording.2024-03-01.at.14.36.30.mov
Android: mWeb Chrome
iOS: Native
Screen.Recording.2024-03-01.at.14.32.18.mov
iOS: mWeb Safari
Screen.Recording.2024-03-01.at.14.30.16.mov
MacOS: Chrome / Safari
Screen.Recording.2024-03-01.at.14.27.46.mov
MacOS: Desktop
Screen.Recording.2024-03-01.at.14.29.39.mov