E.Cash [Edit Message] - Edited status is stretched if the message is multilined
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Expected Result:
Edited status of the message should not be stretched in several lines
Actual Result:
Edited status is stretched if the message is multilined
Action Performed:
- Log in to e.cash
- Navigate to a conversation
- Send a multilined message
- Edit the message, be sure to leave it long enough so it's multilined
Workaround:
No need, visual issue.
Platform:
Where is this issue occurring?
Web ✔️ iOS Android Desktop App Mobile Web
Version Number: 1.0.50-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

Expensify/Expensify Issue URL:
From @puneetlath https://expensify.slack.com/archives/C01GTK53T8Q/p1621529335051300
I feel like we should pop the (edited) at the end of the last line, rather than having it stretch cross all the lines
Triggered auto assignment to @strepanier03 (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.
Unique — Looks unique, unable to find another GH related. Issue hygiene — Looks good, nice job. Updated title with a small tweak, otherwise the template was used and filled out. Clarity of problem — Pretty clear here as well. It looks like you can only use Edit if you load locally and I can't do that (or don't know how to set that up) to test the recreation steps. The images are pretty clear though. Value — The change would improve the look of the Edited status and the stretch and make E.cash more polished.
Triggered auto assignment to @alex-mechler (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.
Issue reproducible today during KI retests
Looks like a good one to handle externally! This is handled all by the front end.
Triggered auto assignment to @marklouisdeshaun (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.
Triggered auto assignment to @puneetlath (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Expected Result:
Edited status of the message should not be stretched in several lines
Actual Result:
Edited status is stretched if the message is multilined
Action Performed:
- Log in to e.cash
- Navigate to a conversation
- Send a multilined message
- Edit the message, be sure to leave it long enough so it's multilined
Workaround:
No need, visual issue.
Platform:
Where is this issue occurring?
Web iOS Android Desktop App Mobile Web
Version Number: 1.0.50-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Expensify/Expensify Issue URL:
From @puneetlath https://expensify.slack.com/archives/C01GTK53T8Q/p1621529335051300
I feel like we should pop the (edited) at the end of the last line, rather than having it stretch cross all the lines
I am fully confident to resolve this issue but I can share my inputs on the initial chat via Upwork (Bid proposal:- Gaurav Sethi)
Proposal
- It can be easily fixed by adding
flex-wrappinghere. https://github.com/Expensify/Expensify.cash/blob/03d777e389daded106350a7004a6078d13e084f6/src/pages/home/report/ReportActionItemFragment.js#L53
AS
<View style={[styles.flexRow, styles.flexWrap]}>
It gives us the following result.

Let me know if this is the desired behavior?
I think that might be the best bet Rajat. My only feedback is that I would prefer that when the (edited) is on the line below the text above it, that we can remove the margin on the left of (edited).
@shawnborton you mean for the last message (edited) should be in the next line?
Sorry, I mean for this screenshot here:

The (edited) text should have have a margin to the left of it.
@parasharrajat can you please submit your proposal in Upwork?