You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Regression test steps needed][$1000] BUG: Add attachment send button is too large #13193
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in review
Open a chat and click the plus button to add an attachment, select a file to upload
Expected Result:
The send button is centered and has a normal width
Actual Result:
The send button stretches across the whole modal
Workaround:
Ignore the visual oddity
Platform:
All? Needs testing.
Web
iOS
Android
Desktop App
Mobile Web
Version Number: v1.2.34-0 Reproducible in staging?: Yes Reproducible in production?: Yes Email or phone of affected tester (no customers): Logs:https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos:
As for the button, we want it to be full width on mobile but for desktop, maybe we just give it a larger min-width (like 300?) and center it like it's shown above?
Looks like we need to update the background color behind the PDF as well.
We need to passkey={this.props.isSmallScreenWidth}. If we want the button size to change when decreasing screen size. Because of it the button will re render when screen size changes and the needed styles will be applied
Paid @thesahindia and @Puneet-here $1500, inc. the 50% bonus for expediency.
Thanks!
I think we still need to add regression steps to TestRail, assigned myself to hopefully help with those next week.
changed the title [-][HOLD for payment 2022-12-15] [$1000] BUG: Add attachment send button is too large[/-][+][Regression test steps needed][$1000] BUG: Add attachment send button is too large[/+]on Jan 3, 2023
Didn't get feedback in Slack, thinking of adding the below, will do tomorrow after leaving here for a day
Recommendation: Update to add a regression step to Compose box - Attachments (images) as new step #4 `Verify the width of the send button doesn't extend to the far edges of the screen on desktop, web and wide devices.
Compose box - Attachments (PDF) as new step #4 `Verify the width of the send button doesn't extend to the far edges of the screen on desktop, web and wide devices.
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in review
Activity
melvin-bot commentedon Nov 30, 2022
Triggered auto assignment to @kevinksullivan (
AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.allroundexperts commentedon Nov 30, 2022
What is the required width @neil-marcellini?
neil-marcellini commentedon Nov 30, 2022
cc @Expensify/design
Pujan92 commentedon Nov 30, 2022
Proposal
To make it normal at center postion we can update the style for the button.
App/src/styles/styles.js
Lines 472 to 474 in 2881f18
alignItems: 'center',shawnborton commentedon Nov 30, 2022
As for the button, we want it to be full width on mobile but for desktop, maybe we just give it a larger min-width (like 300?) and center it like it's shown above?
Looks like we need to update the background color behind the PDF as well.
Puneet-here commentedon Nov 30, 2022
Proposal
Add
attachmentButtonBigScreento styles.jsPass
{[styles.buttonConfirm, this.props.isSmallScreenWidth ? {} : styles.attachmentButtonBigScreen]}at styleApp/src/components/AttachmentModal.js
Line 281 in 1f71832
small screen

big screen

We need to pass
key={this.props.isSmallScreenWidth}. If we want the button size to change when decreasing screen size. Because of it the button will re render when screen size changes and the needed styles will be appliedakshayasalvi commentedon Nov 30, 2022
Proposal
In the
styles.jsupdate thebuttonConfirmwith the following styles:Web Version

iOS version

shawnborton commentedon Nov 30, 2022
For mobile/small devices, we should have the button extend to full width. Only desktop/wide devices should get the min-width.
Puneet-here commentedon Nov 30, 2022
@shawnborton, can you please check my proposal
shawnborton commentedon Nov 30, 2022
Yup that works for me, but let's have our contributor team file and review first.
45 remaining items
thesahindia commentedon Dec 21, 2022
Accepted, thanks!
thesahindia commentedon Dec 21, 2022
It wasn't a regression ( just an improvement) so we are good here.
mallenexpensify commentedon Dec 24, 2022
Paid @thesahindia and @Puneet-here $1500, inc. the 50% bonus for expediency.
Thanks!
I think we still need to add regression steps to TestRail, assigned myself to hopefully help with those next week.
melvin-bot commentedon Jan 2, 2023
@kevinksullivan, @mallenexpensify, @grgia, @thesahindia, @Puneet-here Huh... This is 4 days overdue. Who can take care of this?
thesahindia commentedon Jan 2, 2023
No actions are needed from me, so unassigning.
[-][HOLD for payment 2022-12-15] [$1000] BUG: Add attachment send button is too large[/-][+][Regression test steps needed][$1000] BUG: Add attachment send button is too large[/+]mallenexpensify commentedon Jan 3, 2023
Confirming regression test steps here
mallenexpensify commentedon Jan 3, 2023
Didn't get feedback in Slack, thinking of adding the below, will do tomorrow after leaving here for a day
Recommendation: Update to add a regression step to
Compose box - Attachments (images) as new step #4 `Verify the width of the send button doesn't extend to the far edges of the screen on desktop, web and wide devices.
Compose box - Attachments (PDF) as new step #4 `Verify the width of the send button doesn't extend to the far edges of the screen on desktop, web and wide devices.
melvin-bot commentedon Jan 11, 2023
@kevinksullivan, @mallenexpensify, @grgia, @Puneet-here Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
mallenexpensify commentedon Jan 11, 2023
Regression test steps added https://github.com/Expensify/Expensify/issues/254500
@thesahindia @grgia , can you check off the other three boxes here then close this?
#13193 (comment)
thesahindia commentedon Jan 11, 2023
It was an improvement and not a bug so I think we can skip them.
mallenexpensify commentedon Jan 12, 2023
K, closing then. @grgia plz reopen if you disagree