-
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] mWeb - Compose box- Selected text isn't applied format #53145
Comments
Triggered auto assignment to @kadiealexander ( |
Job added to Upwork: https://www.upwork.com/jobs/~021861616540479439769 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Selected text isn't formatted when selecting format option from the context menu. What is the root cause of that problem?When we have an element with What changes do you think we should make in order to solve the problem?There are 3 "Format" options, Bold, Italic, and Underline. Currently, we don't have a markdown for Underline. To handle the Bold and Italic format, we need to add new cases for bold and italic format command here.
The way the format logic work is by "wrapping" the selected text with the markdown (* for bold, _ for italic). The new selection will be added by 2 because we add 2 * or _. But the Underline format still won't do anything because we don't have a markdown for that, and because the live markdown also handles the styling manually, so the alternative is to disable the "Format" option. We can do that by setting the
Based on the doc, "plaintext-only" is available on most browsers except Firefox, but this Format context menu is only available on Safari, so I think it's not a problem. |
Reviewing. |
@mananjadhav, @kadiealexander Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Bumped @mananjadhav for review here. |
I checked @bernhardoj's proposal. I think we can go ahead with this. But before we finalize I want to understand if we could remove the Underline option from the Format menu? (Atleast on Whatsapp I don't see it), whereas Slack removes the format option for me. Nevertheless we can use @bernhardoj's proposal as they've mentioned the alternative for removing the Tagging @Expensify/design for the input as well. 🎀 👀 🎀 C+ reviewed. |
Triggered auto assignment to @blimpich, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Triggered auto assignment to @dubielzyk-expensify ( |
Oh interesting, I didn't even know you could do this from iOS. I suppose we could make it so that whatever style you picked from the native menu (bold, italic, etc) was applied via our markdown styles, as in we'd prepend and append a * if you picked bold. Is something like that possible? |
That'd be great if that's possible. If not, I wonder if we could hide or turn off that formatting menu altogether. |
It's possible which is my main solution, however, the Format option includes Underline, but we don't have an underline markdown. I don't see a way to select which format to show, but we can hide entirely with my alternative solution. |
I think it's fine if we don't have an underline markdown for now, at least we'll get the benefit of bold and italic working. |
I'm fine with making just bold and italic work or hiding that format menu item altogether. I also didn't even realize it was there haha. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.84-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 2025-01-21. 🎊 For reference, here are some details about the assignees on this issue:
|
@mananjadhav @kadiealexander @mananjadhav The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
Payment Summary
BugZero Checklist (@kadiealexander)
|
@mananjadhav could you please complete the checklist? |
@kadiealexander the PR ended up being reverted and this issue is now on hold, waiting for another issue to be completed first, so we need to wait to re-merge the PR before going through the bugzero checklist. |
Thanks for that context! |
@mananjadhav, @blimpich, @bernhardoj, @kadiealexander, @dubielzyk-expensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Still waiting on #55115 |
PR is in production. Can you retest this issue? Since we added the changes reverted back. |
Asked for QA to retest here. |
underline is not fixed yet. Bold and Itallic are fixed ScreenRecording_01-31-2025.15-38-39_1.MP4 |
I think we can track underline as a follow up. This was discussed earlier that for now we have only Bold and Italic support. |
Sounds good. @mananjadhav we still need to pay out this issue correct? |
Yes, need a payout summary, @kadiealexander. While I'll work on the checklist. |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test Proposal Template
Regression Test ProposalPrecondition:Test:Only for iOS mWeb Safari and Web Safari
Do we agree 👍 or 👎 |
@kadiealexander This is all set to be paid out. |
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.67-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y
**If this was caught during regression testing, add the test name, ID and link from TestRail:**N/A
Email or phone of affected tester (no customers): [email protected]
Action Performed:
Expected Result:
Selected texts should apply choosing format
Actual Result:
Selected texts isn't applied choosing format
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6658637_1731058296145.Qotm2966_1_.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: