Skip to content
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

PR - Tooltip - The educational tooltip for a new account is wrong #54701

Open
1 of 8 tasks
mitarachim opened this issue Jan 1, 2025 · 5 comments
Open
1 of 8 tasks

PR - Tooltip - The educational tooltip for a new account is wrong #54701

mitarachim opened this issue Jan 1, 2025 · 5 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Overdue

Comments

@mitarachim
Copy link

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: v9.0.80-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: #54344
Email or phone of affected tester (no customers): n/a
Issue reported by: Applause Internal Team
Device used: Mac 14.6.1
App Component: Other

Action Performed:

1.Log in as User A, an account that owns a workspace
2.Create a new account B
3.On A, Invite B to the workspace
4.On B, open the workspace chat

Expected Result:

The tooltip shows over the composer's Create button saying "Get started! Submit your first expense"

Actual Result:

The educational tooltip for a new account over the composer's Create button says "Submit your expense" instead of "Get started! Submit your first 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

Bug6704693_1735686882683.Recording__322.mp4

View all open jobs on GitHub

@mitarachim mitarachim added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jan 1, 2025
Copy link

melvin-bot bot commented Jan 1, 2025

Triggered auto assignment to @mallenexpensify (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.

@huult
Copy link
Contributor

huult commented Jan 1, 2025

Proposal

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

The educational tooltip for a new account is wrong

What is the root cause of that problem?

We are using the WORKSPACE_CHAT_CREATE name to render the composer

const {renderProductTrainingTooltip, hideProductTrainingTooltip, shouldShowProductTrainingTooltip} = useProductTrainingContext(
CONST.PRODUCT_TRAINING_TOOLTIP_NAMES.WORKSAPCE_CHAT_CREATE,
shouldShowEducationalTooltip,
);

[WORKSAPCE_CHAT_CREATE]: {
content: [
{text: 'productTrainingTooltip.workspaceChatCreate.part1', isBold: true},
{text: 'productTrainingTooltip.workspaceChatCreate.part2', isBold: false},
],
onHideTooltip: () => dismissProductTraining(WORKSAPCE_CHAT_CREATE),
name: WORKSAPCE_CHAT_CREATE,
priority: 1100,
shouldShow: () => true,
},

and value text is Submit your and expenses

App/src/languages/en.ts

Lines 5593 to 5597 in e5108a1

workspaceChatCreate: {
part1: 'Submit your',
part2: ' expenses',
part3: ' here!',
},

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

To resolve this issue, we just need to update the translation as expected in this ticket.

App/src/languages/en.ts

Lines 5593 to 5597 in e5108a1

workspaceChatCreate: {
part1: 'Submit your',
part2: ' expenses',
part3: ' here!',
},

        workspaceChatCreate: {
            part1: 'Get started! Submit your',
            part2: ' first expense',
            part3: ' here!',
        },
Screenshot 2025-01-01 at 13 24 10

What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

This is a translation issue; no unit test is needed

What alternative solutions did you explore? (Optional)

Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

@parasharrajat
Copy link
Member

Looks like a regression from #54263 cc: @ishpaul777

@ishpaul777
Copy link
Contributor

@rayane-djouah fixed this in this PR #54710

@rayane-djouah
Copy link
Contributor

Fixed in b7d5186

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Overdue
Projects
None yet
Development

No branches or pull requests

6 participants