You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$500] IOU - The selected category moves to the top of the list when <8 categories active #36912
EngineeringExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsReviewingHas a PR in reviewWeeklyKSv2
Version Number: 1.4.43-0 Reproducible in staging?: y Reproducible in production?: n If this was caught during regression testing, add the test name, ID and link from TestRail:https://expensify.testrail.io/index.php?/tests/view/4327825 Issue reported by: Applause - Internal Team
changed the title [-] IOU - The selected category moves to the top of the list when <8 categories active[/-][+][$500] IOU - The selected category moves to the top of the list when <8 categories active[/+]on Feb 20, 2024
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
@Julesssss While implementing PR to fix this issue, we faced a new bug as mentioned here. It is caused by the position of the selected option change when we increase the number of categories from 7 to 8.
Note that, if we always keep the selected option at the first of the list, this bug won't happen.
Note that, if we always keep the selected option at the first of the list, this bug won't happen
Choosing behavior to avoid bugs isn't a good reason. but I'm also a bit unsure where we aligned based on the above comments. @Expensify/design & @trjExpensify, did we align on this?
FWIW I like always displaying the selected option at the first of the list (option 1).
It's a consistent UX in all cases
It makes the code less complex (which helps with technical debt, maintenance, and yes, preventing bugs)
I feel that having the UX change based on the number of items in the list just feels like we are getting more clever than we need to. Let's go with the most simple solution first, and if we get significant customer feedback that this isn't ideal, we can change it later.
Personally I tend to agree with Tim. But I think this behavior is something that has been talked about widely and decided upon by the larger team. I'm hesitant to let my opinion override a widely agreed upon and documented behavior. 🤷♂️
I don't feel too strongly. I think the idea behind not changing the order on the smaller amounts of list items (less than 9) was that you can see all of the items in your viewport, and thus it might feel weird if you have the list jumping when you can see the entire screen at once?
That being said, definitely down to go with consistency here.
EngineeringExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsReviewingHas a PR in reviewWeeklyKSv2
Activity
[-] IOU - The selected category moves to the top of the list when <8 categories active[/-][+][$500] IOU - The selected category moves to the top of the list when <8 categories active[/+]melvin-bot commentedon Feb 20, 2024
Job added to Upwork: https://www.upwork.com/jobs/~014ddec0e527151c87
melvin-bot commentedon Feb 20, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak (
External)github-actions commentedon Feb 20, 2024
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
melvin-bot commentedon Feb 20, 2024
Triggered auto assignment to @tgolen (
Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.kbecciv commentedon Feb 20, 2024
We think that this bug might be related to #wave6-collect-submitters
CC @greg-schroeder
21 remaining items
DylanDylann commentedon Feb 23, 2024
@Julesssss While implementing PR to fix this issue, we faced a new bug as mentioned here. It is caused by the position of the selected option change when we increase the number of categories from 7 to 8.
Note that, if we always keep the selected option at the first of the list, this bug won't happen.
cc @trjExpensify
DylanDylann commentedon Feb 23, 2024
Currently, I see 2 options:
Julesssss commentedon Feb 23, 2024
Choosing behavior to avoid bugs isn't a good reason. but I'm also a bit unsure where we aligned based on the above comments. @Expensify/design & @trjExpensify, did we align on this?
trjExpensify commentedon Feb 23, 2024
The behaviour came from the categories doc in wave6. Latest ref here.
Julesssss commentedon Feb 23, 2024
Thanks. So keeping the option in place aligns with 2 here:
DylanDylann commentedon Feb 23, 2024
Yes, I am reviewing this PR
tgolen commentedon Feb 23, 2024
FWIW I like always displaying the selected option at the first of the list (option 1).
I feel that having the UX change based on the number of items in the list just feels like we are getting more clever than we need to. Let's go with the most simple solution first, and if we get significant customer feedback that this isn't ideal, we can change it later.
DylanDylann commentedon Feb 23, 2024
@Expensify/design Could you help to check this comment and help to give your viewpoint? (should go with 1 or 2 in here)
dannymcclain commentedon Feb 23, 2024
Personally I tend to agree with Tim. But I think this behavior is something that has been talked about widely and decided upon by the larger team. I'm hesitant to let my opinion override a widely agreed upon and documented behavior. 🤷♂️
shawnborton commentedon Feb 23, 2024
I don't feel too strongly. I think the idea behind not changing the order on the smaller amounts of list items (less than 9) was that you can see all of the items in your viewport, and thus it might feel weird if you have the list jumping when you can see the entire screen at once?
That being said, definitely down to go with consistency here.
DylanDylann commentedon Feb 26, 2024
@tgolen @Julesssss What is the final confirmation?
Julesssss commentedon Feb 26, 2024
Alright, thanks everyone. So we all agree on the consistent component behaviour for now... which is this option:
@DylanDylann you may want hold for a few hours just in case of any final objections
DylanDylann commentedon Feb 27, 2024
@Julesssss If there aren't any objections, let's close this issue. @tienifr Also close this PR
Julesssss commentedon Feb 27, 2024
Closing based on this comment