Skip to content

[$250] Track expense-In self DM, create expense is shown instead track expense #52897

Closed

Description

@IuliiaHerets

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: v9.0.65-1
Reproducible in staging?: Y
Reproducible in production?: Y
Isuue was found when executing this PR: #52786
Issue reported by: Applause Internal Team

Action Performed:

  1. Go to https://staging.new.expensify.com/home
  2. Login with new gmail account
  3. Open self DM
  4. Tap plus icon next to chat input

Expected Result:

In self DM, track expense must be shown .

Actual Result:

In self DM, create expense is shown instead track expense.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6671460_1732161962885.Screenrecorder-2024-11-21-09-31-54-5.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021861530490609565618
  • Upwork Job ID: 1861530490609565618
  • Last Price Increase: 2024-12-10
Issue OwnerCurrent Issue Owner: @ahmedGaber93

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Nov 21, 2024
  2. melvin-bot commented on Nov 21, 2024

    @melvin-bot

    Triggered auto assignment to @abekkala (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  3. mkzie2 commented on Nov 21, 2024

    @mkzie2
    Contributor

    Edited by proposal-police: This proposal was edited at 2024-11-21 13:15:52 UTC.

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    In self DM, create expense is shown instead track expense.

    What is the root cause of that problem?

    We display Create expense if canUseCombinedTrackSubmit is true.

    icon: canUseCombinedTrackSubmit ? getIconForAction(CONST.IOU.TYPE.CREATE) : getIconForAction(CONST.IOU.TYPE.TRACK),
    text: canUseCombinedTrackSubmit ? translate('iou.createExpense') : translate('iou.trackExpense'),

    What changes do you think we should make in order to solve the problem?

    I think we should display Track expense for all case in the plus icon of SelfDM

    icon:  getIconForAction(CONST.IOU.TYPE.TRACK),
    text: translate('iou.trackExpense'),
    

    icon: canUseCombinedTrackSubmit ? getIconForAction(CONST.IOU.TYPE.CREATE) : getIconForAction(CONST.IOU.TYPE.TRACK),
    text: canUseCombinedTrackSubmit ? translate('iou.createExpense') : translate('iou.trackExpense'),

    OPTIONAL: We can also change this to always display Track expense

    [CONST.IOU.TYPE.TRACK]: canUseCombinedTrackSubmit ? translate('iou.createExpense') : translate('iou.trackExpense'),

    What alternative solutions did you explore? (Optional)

    NA

  4. melvin-bot commented on Nov 25, 2024

    @melvin-bot

    @abekkala Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  5. abekkala commented on Nov 26, 2024

    @abekkala
    Contributor

    confirmed in slack that it should be track

  6. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Nov 26, 2024
  7. melvin-bot commented on Nov 26, 2024

    @melvin-bot
  8. changed the title [-]Track expense-In self DM, create expense is shown instead track expense[/-] [+][$250] Track expense-In self DM, create expense is shown instead track expense[/+] on Nov 26, 2024
  9. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Nov 26, 2024
  10. melvin-bot commented on Nov 26, 2024

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @ahmedGaber93 (External)

  11. 13 remaining items

  12. ahmedGaber93 commented on Dec 5, 2024

    @ahmedGaber93
    Contributor
  13. abekkala commented on Dec 6, 2024

    @abekkala
    Contributor

    @grgia since you're familiar with this can you confirm #52897 (comment)

  14. mvtglobally commented on Dec 7, 2024

    @mvtglobally

    Issue not reproducible during KI retests. (First week)

  15. melvin-bot commented on Dec 10, 2024

    @melvin-bot

    @abekkala, @ahmedGaber93 Eep! 4 days overdue now. Issues have feelings too...

  16. ahmedGaber93 commented on Dec 10, 2024

    @ahmedGaber93
    Contributor

    WDYT @grgia ^?

  17. melvin-bot commented on Dec 10, 2024

    @melvin-bot

    📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

  18. ahmedGaber93 commented on Dec 11, 2024

    @ahmedGaber93
    Contributor

    Bumped @grgia on slack

  19. self-assigned this
    on Dec 12, 2024
  20. grgia commented on Dec 12, 2024

    @grgia
    Contributor

    Closing for #53656

  21. moved this from Bugs and Follow Up Issues to Done in #expensify-bugson Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributors

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions