-
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
[HOLD for payment 2024-07-10] [$250] Android - Workspaces - "Workspaces" title is shown in two lines #44210
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @tgolen ( |
@tgolen FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
We think that this bug might be related to #vip-vsp |
ProposalPlease re-state the problem that we are trying to solve in this issue.Android - Workspaces - "Workspaces" title is shown in two lines What is the root cause of that problem?When the screen is small we don't render the button outside of App/src/pages/workspace/WorkspacesListPage.tsx Lines 366 to 379 in 425804a
What changes do you think we should make in order to solve the problem?We need to follow other workspace pages and render the button outside the <HeaderWithBackButton
title={translate('common.workspaces')}
shouldShowBackButton={isSmallScreenWidth}
onBackButtonPress={() => Navigation.goBack()}
icon={Illustrations.BigRocket}
>
{!isSmallScreenWidth && (
<Button
accessibilityLabel={translate('workspace.new.newWorkspace')}
success
medium
text={translate('workspace.new.newWorkspace')}
onPress={() => interceptAnonymousUser(() => App.createWorkspaceWithPolicyDraftAndNavigateToIt())}
/>
)}
</HeaderWithBackButton>
{isSmallScreenWidth && (
<View style={[styles.pl5, styles.pr5]}>
{' '}
<Button
accessibilityLabel={translate('workspace.new.newWorkspace')}
success
medium
text={translate('workspace.new.newWorkspace')}
onPress={() => interceptAnonymousUser(() => App.createWorkspaceWithPolicyDraftAndNavigateToIt())}
style={isSmallScreenWidth && styles.flexGrow1, isSmallScreenWidth && styles.mb3}
/>
</View>
)} Note we also need to do the same when rendering the empty workspace section and we can create a function to return the button like we do in other components. App/src/pages/workspace/WorkspaceMembersPage.tsx Lines 534 to 545 in 425804a
What alternative solutions did you explore? (Optional)Resultworkspace_list_page_title_line_break.mp4 |
Job added to Upwork: https://www.upwork.com/jobs/~01db4b9a25dfd3bca7 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eh2077 ( |
Triggered auto assignment to @johncschuster ( |
Thanks for the proposal @Krishna2323 It looks good to me! Can you please do a PR? |
📣 @Krishna2323 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@tgolen, PR will be ready in a hour. |
@tgolen, the PR is almost ready. I just need to record for Android native. I'm facing build issues and have been trying to resolve them for the last hour. Will update as soon as it get resolved. |
I was also having build issues, Deleting |
We can remove this from the deploy blocker list. It is not really a blocker. @tgolen |
Thanks for the help, @ishpaul777, but it didn't work for me. It would be great if you could record a video for Android native. I moved the project code to an external SSD to free up some space, maybe that's causing the error. |
@tgolen, PR is ready for review, all recordings have been added. @ishpaul777, thanks for the help. |
I agree this does not have to be a blocker given the preconditions of narrow screen and increased base font size |
I was C+ on the PR. Please assign me. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.3-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-07-10. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
Regression Test StepsFor devices with width greater than 800px
For devices with width less than 800px
Do you agree 👍 or 👎 ? |
Issue is ready for payment but no BZ is assigned. @MitchExpensify you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks! |
Payment summary:
|
Paid and contract ended @Krishna2323 |
Payment requested as per #44210 (comment) |
$250 approved for @parasharrajat |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.1-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Precondition:
Expected Result:
"Workspaces" title will not be shown in two lines
Actual Result:
"Workspaces" title is shown in two lines
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @eh2077The text was updated successfully, but these errors were encountered: