-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[HOLD for payment 2023-08-01] [$1000] dev: Inconsistency in showing task description when the number of rows increases #22493
Comments
Triggered auto assignment to @laurenreidexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Proposed solutionPlease re-state the problem that we are trying to solve in this issue.Inconsistency in showing task description when the number of rows increases What is the root cause of that problem? The problem is that So whenever a numeric value is added it doesn't show ellipsis but text area is scrollable. What changes do you think we should make in order to solve the problem? I dont think there is any need to do anything otherwise alternative solution is there What alternative solutions did you explore? (Optional)Option 1: Option 2
<MenuItemWithTopDescription
description={props.translate('task.description')}
title={props.report.description || ''}
onPress={() => Navigation.navigate(ROUTES.getTaskReportDescriptionRoute(props.report.reportID))}
shouldShowRightIcon={isOpen}
disabled={!isOpen}
titleStyle={styles.preWrap}
wrapperStyle={[styles.pv2]}
shouldGreyOutWhenDisabled={false}
/> |
@laurenreidexpensify 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/~0116467439890d0404 |
Current assignee @laurenreidexpensify is eligible for the External assigner, not assigning anyone new. |
Not overdue |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
Looping in @shawnborton. I don't see this as a real value issue as I don't see we'll be adding numeric list only for the description. But one minor thing that's off is if we have a large description, we show |
Hmm this seems very strange. cc @jasperhuangg @thienlnam I forget where we landed with truncating the description row, but now I am wondering if we should never truncate description at all. |
I think not just numbers only @mananjadhav @shawnborton Screen.Recording.2023-07-13.at.00.35.32.mov |
I my view I think we should not cut the description because in case the user wants to read the details of a task |
I don't remember either, but I thought we standardized on like 3 rows or something. I agree we could not truncate so that you could view the entire description without having to push to page to edit |
ProposalPlease re-state the problem that we are trying to solve in this issue.There must be consistency in showing description, we will not truncate the description What is the root cause of that problem?Currently, we limit 3 rows of descriptions here: App/src/components/ReportActionItem/TaskView.js Lines 101 to 110 in aa53543
What changes do you think we should make in order to solve the problem?I think we should not restrict truncated descriptions, this will make it difficult for users to see task details. They have to add 1 click to edit to see. In case the task is completed, the user cannot edit it and they will not be able to see the details of this task. What alternative solutions did you explore? (Optional)N/A |
Since we are heading to this direction i.e. not truncating the description then I'll update it in my alternative solution. Proposed solution does not require anything but close the issue :) |
Yes there is no value to fixing this issue just for the case of numbers. |
I have captured different screenshot from mobile web with large task description ( honesty I am not sure what's would be the ideal length in the best) If large description is less likely then we can remove max no. of lines condition or may be go with the upper bound something like X lines max which will show ellipsis on mobile (no scroll) and web is scrollable along with ellipsis. Screenshots for different cases:
|
I'm not really sure where the scrollable thing came from, that was certainly not intended. Either way, let's just make it so that the read-only description field is not truncated. I don't know that we want that pattern everywhere, but let's make sure we do it for Tasks where it's important to read the whole description. |
@shawnborton Below are two screenshots took from mobile where one with no limit and another one is with maximum 10 lines |
So it acceptable that C++ assume things you will do. That's strange and weird. Then why we asked to put up a proposal. You have clearly mentioned that you will make following change:
It doesn't make proposal complete in my opinion. We go on assumptions basis then my proposal does say I'll fix the issue with obvious changes. Well enjoy if this is the way. |
There were two changes you just mentioned removal part only. Since C++ and internal reviewer understand that you make sure things will work and assigned it. Then nothing can be done mate. Cheers. |
Hi @mananjadhav @stitesExpensify The PR is already for review. Thanks |
@spcheema Apologies for not responding sooner. For me the most important change was to remove the
I am not keen on modifying the cc - @stitesExpensify |
@mananjadhav Please don't apologise. All good. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.44-2 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 2023-08-01. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
This is more like a feature request, hence we don't have a tagged PR. But I think we should a regression test here, so that we don't end up adding length restriction on the description.
@laurenreidexpensify Please note this PR had a regression, hence the payout will be deducted and there is no timeline bonus. |
Payment Summary:
|
@laurenreidexpensify There would be a deduction of 500 in this PR. The actual payout for me and @namhihi237 is $500. |
Yes agreed. Mind updating your summary @laurenreidexpensify? |
Updated Payment Summary:
|
Reviewed details for @mananjadhav. These details are accurate based on summary from Business Reviewer and are now approved for payment in NewDot. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
There must be consistency in showing description when the number of rows increases
Actual Result:
How to show description is different when the number of rows increases
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: DEV
Reproducible in staging?: dev only
Reproducible in production?: dev only
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
Screen.Recording.2023-07-08.at.14.19.35.mov
Expensify/Expensify Issue URL:
Issue reported by: @namhihi237
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688800884991609
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: