-
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
[$250] [Guided Setup] Fix subject lines in emails sent upon onboarding modal completion #39966
Comments
Triggered auto assignment to @jliexpensify ( |
Hi! I am Filip from SWM an expert agency and I'd like to work on this issue! |
ProposalPlease re-state the problem that we are trying to solve in this issue.Single quotes and some special characters are not escaped from report comment text (which goes in the email) What is the root cause of that problem?
Object
What changes do you think we should make in order to solve the problem?
Used ExpensiMark parser here for formatting along with lodash for escaping. What alternative solutions did you explore? (Optional)Another alternative is to update |
📣 @brkdavis! 📣
|
|
|
Hi @brkdavis - I believe that this issue is now assigned to @filip-solecki to work on! |
@jliexpensify : Sorry. I didnt see a proposal on this. Out of curiosity investigated and submitted my findings in the proposal. |
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
No update yet |
Job added to Upwork: https://www.upwork.com/jobs/~01697f68b79fde14d3 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
Looking for a quicker movement on this one as the onboarding flow is nearing completion |
📣 @rayane-djouah 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@rayane-djouah : can you please confirm the changes? |
@brkdavis, please ensure that your proposal results in a correctly formatted email and does not break the message received in Expensify Concierge. Here is a screenshot showing the Concierge message with your previous proposal: Here is a screenshot showing the Concierge message with your updated proposal (1 is result of current code, and 2 is result of your updated proposal): Note that we need to use the I tested your proposal but did not receive the email with your changes. Please test using dev.new.expensify.com/onboarding url and review the Concierge chat message in addition to email. I'm now unsure whether this bug can be fixed from the frontend or need to be fixed from the backend. |
In my opinion it should be handled on BE |
Proposal |
@rayane-djouah : thank you for detailed look into this. I have updated the proposal. In case backend is not handling these correctly, might need a fix there as well. |
@brkdavis, I tested and the email subject and body are broken with the proposal changes. |
📣 @sumitskj! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Thanks for the proposal, @sumitskj. Can you ensure that your proposed changes will not affect other app functionalities? I'm asking in Slack if we should fix this bug in front-end or back-end. |
@rayane-djouah You are correct that it might affect other app functionalities as To handle this we can add an extra parameter Another option can be to create a new method similar to To make email subjects reusable, we can create a common method which will take the message text as input and can return the messageSubject and messageBody. Something like this
|
Current assignee @rayane-djouah is eligible for the Internal assigner, not assigning anyone new. |
Looking at this, this is an existing issue for all flows that may have |
@Gonals can this be closed now? |
The PR hasn't deployed yet, so let's wait for a bit |
It looks like the PR was deployed so can we close this one now? |
Yep! |
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: v1.4.60-13
Reproducible in staging?: yes
Reproducible in production?: no
If this was caught during regression testing, add the test name, ID and link from TestRail: na
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: [email protected]
Slack conversation: Internal: https://expensify.slack.com/archives/C036QM0SLJK/p1712608278412419
Action Performed:
Expected Result:
The custom subject line should not contain "'" wherever a "'" should be.
e.g:
Actual Result:
Custom subject lines contain erroneous characters wherever a "'" should be:
Workaround:
Ignore
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: