-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$1000] Settings - Share code - The text goes beyond the borders + error in console #18970
Comments
Triggered auto assignment to @sonialiap ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.In this issue, we can notice 2 problems:
What is the root cause of that problem?The RCA behind the 1st issue is that when we navigate to the page, the default value of Further, when we navigate away from the QR code page using the back button, a whole bunch of errors are shown in the console. This is because when we navigate away from the page, the value of the Next, the reason behind the value being extended beyond the borders is because we do not use the For the third issue, the issue is with the svg file itself. It was not generated/exported via the Adobe Illustrator, causing it to not render properly. What changes do you think we should make in order to solve the problem?We should set the default value of App/src/components/QRShare/index.js Line 25 in 2266274
Next, we need to set the function setting the state to not go less than 1. We can use the App/src/components/QRShare/index.js Line 34 in 2266274
Now, to fix the too long name issue, we need to pass
If we desire the design to be something else, I'd like @shawnborton to share his opinion. As for the third issue, we will need to generate the svg using adobe illustrator, which I think should solve the alignment issue. What alternative solutions did you explore? (Optional) |
I think that makes sense. Though if it was two names, I think we it would be okay to break the line in between the first and last name. Can you show an example like that? |
The text ellipsizing is already implemented here: #18946 You're proposal on changing the |
@sonialiap Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Job added to Upwork: https://www.upwork.com/jobs/~01a529909438a3942d |
Current assignee @sonialiap is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
Triggered auto assignment to @NikkiWines ( |
Reproducible |
Can't reproduce on staging |
We can close this issue as this is dupe |
Thanks @gadhiyamanan - this does indeed appear to be a dupe. Closing! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Issue found when executing PR #18636
Action Performed:
Expected Result:
The text should be within the border
Actual Result:
The text goes beyond the borders + error in console
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.14.4
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: