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
[Simplified Collect][Distance rates] Subcategory is displayed as indented instead of Parent: Child format #38662
👋 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.
@garrettmknight I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.
We think this issue might be related to the #wave-control.
changed the title [-]Distance rates - Subcategory is displayed as indented instead of Parent: Child format[/-][+][Distance rates] Subcategory is displayed as indented instead of Parent: Child format[/+]on Mar 20, 2024
Discussed in the thread. The issue is that we aren't showing the parent category in the push row preview, only the indented child category. Here's the comparison with a category on an expense:
changed the title [-][Distance rates] Subcategory is displayed as indented instead of Parent: Child format[/-][+][Simplified Collect][Distance rates] Subcategory is displayed as indented instead of Parent: Child format[/+]on Mar 20, 2024
Activity
melvin-bot commentedon Mar 20, 2024
Triggered auto assignment to @garrettmknight (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.github-actions commentedon Mar 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 Mar 20, 2024
Triggered auto assignment to @lakchote (
Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.izarutskaya commentedon Mar 20, 2024
@garrettmknight I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.
We think this issue might be related to the #wave-control.
parasharrajat commentedon Mar 20, 2024
@izarutskaya How do we create subcategories?
Krishna2323 commentedon Mar 20, 2024
@parasharrajat, just by adding a colon, eg:
category: subcategorytienifr commentedon Mar 20, 2024
@parasharrajat I think we should use
category.searchTexthere instead ofcategory.text:App/src/pages/workspace/distanceRates/PolicyDistanceRatesSettingsPage.tsx
Line 48 in c1c054d
That's consistent with how we select sub-categories in IOU request:
App/src/pages/iou/request/step/IOURequestStepCategory.js
Lines 90 to 92 in c1c054d
textis for displaying indented space prefix for sub-categories.I can raise PR immediately if assigned.
5 remaining items
[-]Distance rates - Subcategory is displayed as indented instead of Parent: Child format[/-][+][Distance rates] Subcategory is displayed as indented instead of Parent: Child format[/+]MrMuzyk commentedon Mar 20, 2024
I will fix this in the next PR that adds another screen to distance rates feature. Currently its in draft state #38237
trjExpensify commentedon Mar 20, 2024
Discussed in the thread. The issue is that we aren't showing the parent category in the push row preview, only the indented child category. Here's the comparison with a category on an expense:
[-][Distance rates] Subcategory is displayed as indented instead of Parent: Child format[/-][+][Simplified Collect][Distance rates] Subcategory is displayed as indented instead of Parent: Child format[/+]garrettmknight commentedon Mar 27, 2024
Made it to prod today, will test tomo.
melvin-bot commentedon Apr 8, 2024
@garrettmknight, @lakchote, @MrMuzyk 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
garrettmknight commentedon Apr 10, 2024
This is fixed, closing.