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

[HOLD for payment 2025-02-24][$250] Unmask tooltip copy for Fullstory #55425

Open
flaviadefaria opened this issue Jan 17, 2025 · 22 comments
Open
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2

Comments

@flaviadefaria
Copy link
Contributor

flaviadefaria commented Jan 17, 2025

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

Problem

We don't want tooltips copy to be masked

Solution

Unmask all tooltips

The contributor who works on this will need to add the fsClass="fs-unmask" property in the elements to be unmasked.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021880350559975789433
  • Upwork Job ID: 1880350559975789433
  • Last Price Increase: 2025-01-17
  • Automatic offers:
    • twilight2294 | Contributor | 105774913
Issue OwnerCurrent Issue Owner: @slafortune
@flaviadefaria flaviadefaria added Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 labels Jan 17, 2025
Copy link

melvin-bot bot commented Jan 17, 2025

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

@twilight2294
Copy link
Contributor

Proposal

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

Unmask tooltip copy for Fullstory

What is the root cause of that problem?

Feature request, we should add fsClass="fs-unmask to unmask the tooltip text.

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

We need to update any of the following View element:

<Text style={[styles.productTrainingTooltipText, styles.textWrap, styles.mw100]}>

<View style={[styles.alignItemsCenter, styles.flexRow, styles.justifyContentCenter, styles.flexWrap, styles.textAlignCenter, styles.gap3, styles.p2]}>

We will add fsClass="fs-unmask" to the View element, like we did for the display names:

<View
fsClass="fs-unmask"

if we want to unmask all the tooltips, then we need to also update the base tooltip component to include this one, but i guess here we are updating only the tooltips we get at the start of a new user

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

No tests, this is fullstory related.

What alternative solutions did you explore? (Optional)

N/A

@anmurali anmurali added the External Added to denote the issue can be worked on by a contributor label Jan 17, 2025
@melvin-bot melvin-bot bot changed the title Unmask tooltip copy for Fullstory [$250] Unmask tooltip copy for Fullstory Jan 17, 2025
Copy link

melvin-bot bot commented Jan 17, 2025

Job added to Upwork: https://www.upwork.com/jobs/~021880350559975789433

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jan 17, 2025
Copy link

melvin-bot bot commented Jan 17, 2025

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

@ranjan-purbey
Copy link

Proposal

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

Allow capturing tooltip text/copy using Fullstory by making all tooltips unmasked.

What is the root cause of that problem?

Tooltip components do not have a fs-unmask class, which is required to capture text contents of a component according to Fullstory docs.

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

The issue can be resolved by adding a fs-unmask class to tooltip components. Since all tooltips extend BaseGenericTooltip, the class can be added to this component by default.

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

We can test that BaseGenericTooltip on render has the fs-unmask class. Since other tooltips extend this component, we probably don't need to write tests for every type of tooltip.

What alternative solutions did you explore? (Optional)

Fullstory has convenience functions to programmatically unmask elements. That approach will be beneficial if we needed to conditionally unmask some components. But in this case since we want to unmask all tooltips, using a class is a simpler and recommended solution.
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.

Copy link

melvin-bot bot commented Jan 18, 2025

📣 @ranjan-purbey! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

  1. Make sure you've read and understood the contributing guidelines.
  2. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
  3. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
  4. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
    Screen Shot 2022-11-16 at 4 42 54 PM
    Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

@ranjan-purbey
Copy link

Contributor details
Your Expensify account email: [email protected]
Upwork Profile Link: https://www.upwork.com/freelancers/~017b42573fd7c0f12b

Copy link

melvin-bot bot commented Jan 18, 2025

✅ Contributor details stored successfully. Thank you for contributing to Expensify!

@jjcoffee
Copy link
Contributor

jjcoffee commented Jan 20, 2025

@twilight2294 was first so let's go with their proposal.

@flaviadefaria Could you confirm if literally all tooltips should be unmasked, or is it just the "product training" ones? In the former case we'd modify the base component so that all future tooltips are unmasked too.

🎀👀🎀 C+ reviewed

Copy link

melvin-bot bot commented Jan 20, 2025

Triggered auto assignment to @puneetlath, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Jan 20, 2025
Copy link

melvin-bot bot commented Jan 20, 2025

📣 @twilight2294 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@puneetlath
Copy link
Contributor

I'd think we want all tooltips unmasked. Can we also unmask the "nudge migration" modal that we show to users in the migration flow?

@flaviadefaria
Copy link
Contributor Author

@flaviadefaria Could you confirm if literally all tooltips should be unmasked, or is it just the "product training" ones? In the former case we'd modify the base component so that all future tooltips are unmasked too.

Yes, all tooltips should be unmasked, and as Puneet mentioned above also the "nudge migration" modal. Thanks!

@twilight2294
Copy link
Contributor

Can we also unmask the "nudge migration" modal that we show to users in the migration flow?

To understand better, which part of the migration text gets masked, can you attach a screenshot ?

@puneetlath
Copy link
Contributor

Image

@twilight2294
Copy link
Contributor

Thanks, I will raise the PR today

Copy link

melvin-bot bot commented Jan 24, 2025

@puneetlath, @slafortune, @jjcoffee, @twilight2294 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@melvin-bot melvin-bot bot added the Overdue label Jan 24, 2025
@twilight2294
Copy link
Contributor

Working on it here

@jjcoffee
Copy link
Contributor

PR under development.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Overdue Daily KSv2 labels Jan 24, 2025
@twilight2294
Copy link
Contributor

twilight2294 commented Feb 18, 2025

Can someone put a pending payment label here ? The PR is in production from yesterday

@puneetlath puneetlath changed the title [$250] Unmask tooltip copy for Fullstory [HOLD for payment 2025-02-24][$250] Unmask tooltip copy for Fullstory Feb 18, 2025
@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels Feb 20, 2025
Copy link

melvin-bot bot commented Feb 20, 2025

This issue has not been updated in over 15 days. @puneetlath, @slafortune, @jjcoffee, @twilight2294 eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@jjcoffee
Copy link
Contributor

@puneetlath Would you mind switching back to weekly so this doesn't get missed for payment 🙇

@puneetlath puneetlath added Weekly KSv2 and removed Monthly KSv2 labels Feb 20, 2025
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. External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2
Projects
Status: Second Cohort - MEDIUM or LOW
Development

No branches or pull requests

7 participants