Skip to content

[$250] Chat - Invalid welcome text when opening a conversation with a new user #51247

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: 9.0.52-1
Reproducible in staging?: Y
Reproducible in production?: Y
Issue was found when executing this PR: #49592
Issue reported by: Applause Internal Team

Action Performed:

  1. Navigate to https://staging.new.expensify.com/
  2. Log in with a Gmail account
  3. Navigate to FAB - Start chat
  4. Input and enter 1:1 DM with a Gmail account that you never had contact with

Expected Result:

Welcome should be "Say hello! This is the beginning of your chat with username. You can also use the + button to slip an expense, submin an expense, pay expenses, or assign a task!"

Actual Result:

Welcome text is "Say hello! This chat is with username. Use the + button to split, submit, or pay an 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

Bug6641983_1729597990838.bandicam_2024-10-22_13-47-38-490.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021849547431797589961
  • Upwork Job ID: 1849547431797589961
  • Last Price Increase: 2024-11-07
Issue OwnerCurrent Issue Owner: @ZhenjaHorbach

Activity

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

    @melvin-bot

    Triggered auto assignment to @zanyrenney (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. IuliiaHerets commented on Oct 22, 2024

    @IuliiaHerets
    Author

    @zanyrenney FYI 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

  4. nyomanjyotisa commented on Oct 22, 2024

    @nyomanjyotisa
    Member

    Edited by proposal-police: This proposal was edited at 2024-10-25 00:25:20 UTC.

    Proposal

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

    Chat - Invalid welcome text when opening a conversation with a new user

    What is the root cause of that problem?

    Changes Request

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

    We need to update the reportActionsView on here and here

        reportActionsView: {
            ....
            beginningOfChatHistory: 'This is the beginning of your chat with ',
            ...
            usePlusButton: ({additionalText}: UsePlusButtonParams) => `\nYou can also use the + button to ${additionalText}!`,
            askConcierge: '\nAsk questions and get 24/7 realtime support.',
            iouTypes: {
                pay: 'pay',
                split: 'split',
                submit: 'submit',
                track: 'track',
                invoice: 'invoice',
            },
            anExpense: 'an expense',
            assignTask: 'assign a task',
        },
    

    and update the additionalText on here

        const additionalText = `${filteredOptions.map((item) => `${translate(`reportActionsView.iouTypes.${item}`)} ${translate('reportActionsView.anExpense')}`).join(', ')} ${translate(
            'common.or',
        )} ${translate('reportActionsView.assignTask')}`;
        },
    

    RESULT

    image

    What alternative solutions did you explore? (Optional)

    Or just update the reportActionsView to

        reportActionsView: {
            ...
            beginningOfChatHistory: 'This is the beginning of your chat with ',
            ...
            usePlusButton: ({additionalText}: UsePlusButtonParams) => `\nYou can also use the + button to ${additionalText}, or assign a task!`,        
            askConcierge: '\nAsk questions and get 24/7 realtime support.',
            iouTypes: {
                pay: 'pay expenses',
                split: 'split an expense',
                submit: 'submit an expense',
                track: 'track an expense',
                invoice: 'invoice an expense',
            },
        },
    

    and update the additionalText

    const additionalText = filteredOptions.map((item) => translate(`reportActionsView.iouTypes.${item}`)).join(', ');
    
  5. nkdengineer commented on Oct 22, 2024

    @nkdengineer
    Contributor

    The welcome text is expected here

  6. zanyrenney commented on Oct 24, 2024

    @zanyrenney
    Contributor

    Well done for forgetting the expected welcome text.

  7. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Oct 24, 2024
  8. changed the title [-]Chat - Invalid welcome text when opening a conversation with a new user[/-] [+][$250] Chat - Invalid welcome text when opening a conversation with a new user[/+] on Oct 24, 2024
  9. melvin-bot commented on Oct 24, 2024

    @melvin-bot
  10. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Oct 24, 2024
  11. 7 remaining items

  12. melvin-bot commented on Oct 31, 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? 💸

  13. ZhenjaHorbach commented on Oct 31, 2024

    @ZhenjaHorbach
    Contributor

    #49592

    Hmmm Yes Looks like this text is expected

    @zanyrenney Could you please check this issue ?

    And we can close this issue or update the text otherwise

    @zanyrenney
    Friendly bump !

  14. melvin-bot commented on Nov 5, 2024

    @melvin-bot

    @zanyrenney @ZhenjaHorbach this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

  15. melvin-bot commented on Nov 5, 2024

    @melvin-bot

    @zanyrenney, @ZhenjaHorbach Huh... This is 4 days overdue. Who can take care of this?

  16. melvin-bot commented on Nov 7, 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? 💸

  17. melvin-bot commented on Nov 12, 2024

    @melvin-bot

    @zanyrenney, @ZhenjaHorbach 10 days overdue. I'm getting more depressed than Marvin.

  18. zanyrenney commented on Nov 13, 2024

    @zanyrenney
    Contributor

    Ooh sorry @ZhenjaHorbach

  19. zanyrenney commented on Nov 13, 2024

    @zanyrenney
    Contributor

    Checked in on the issue here I agree this looks like it is expected behaviour as per James' table of copy updates, I agree we can close this out.

  20. ZhenjaHorbach commented on Nov 13, 2024

    @ZhenjaHorbach
    Contributor

    Ooh sorry @ZhenjaHorbach

    No problem 😅
    And thanks for checking !

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

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions