Skip to content

[HOLD for payment 2024-02-14] [$500] Web - Settings - The same text is also displayed as tooltips #34961

Closed

Description

@kbecciv

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: 1.4.29.0
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Issue found when executing PR #34702

Action Performed:

  1. Navigate to preferences - priority mode
  2. Hover over the text of the options

Expected Result:

It shouldn't show any tooltips.

Actual Result:

The same text is also displayed as tooltips.

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6351741_1706005634650.bandicam_2024-01-19_13-12-11-895.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01938e9b3ecfb536b8
  • Upwork Job ID: 1749778594977869824
  • Last Price Increase: 2024-01-23
  • Automatic offers:
    • tienifr | Contributor | 28130592

Activity

  1. added
    External
    Daily
    Bug
    on Jan 23, 2024
  2. changed the title [-]Web - Settings - The same text is also displayed as tooltips[/-] [+][$500] Web - Settings - The same text is also displayed as tooltips[/+] on Jan 23, 2024
  3. melvin-bot commented on Jan 23, 2024

    @melvin-bot
  4. melvin-bot commented on Jan 23, 2024

    @melvin-bot

    Triggered auto assignment to @sonialiap (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  5. added
    Help Wanted
    on Jan 23, 2024
  6. melvin-bot commented on Jan 23, 2024

    @melvin-bot

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

  7. paultsimura commented on Jan 23, 2024

    @paultsimura
    Contributor

    Proposal

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

    Priority mode selector shows tooltips with the same text as alternameText.

    What is the root cause of that problem?

    We do not disable tooltips for the SelectionList on the PriorityModePage.

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

    We should set shouldShowTooltips={false} here:

                <SelectionList
                    sections={[{data: priorityModes}]}
                    onSelectRow={updateMode}
                    shouldShowTooltips={false}
                    initiallyFocusedOptionKey={_.find(priorityModes, (mode) => mode.isSelected).keyForList}
                />

    <SelectionList
    sections={[{data: priorityModes}]}
    onSelectRow={updateMode}
    initiallyFocusedOptionKey={_.find(priorityModes, (mode) => mode.isSelected).keyForList}
    />

    We should do the same in other places where we do not need the tooltips:

    • CountrySelectionPage
    • StateSelectorModal
    • LanguagePage
    • ThemePage
    • etc.

    There are many such potential places, need to go through them when implementing the PR.

    What alternative solutions did you explore? (Optional)

  8. namhihi237 commented on Jan 23, 2024

    @namhihi237
    Contributor

    Proposal

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

    It shouldn't show any tooltips in PriorityModePage LanguagePage ThemePage,...

    What is the root cause of that problem?

    We do not disable tooltips in some settings configuration pages like:

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

    I think for the setting configuration page, we should use shouldShowTooltips = {false} for them.

    What alternative solutions did you explore? (Optional)

  9. adisher commented on Jan 23, 2024

    @adisher

    Proposal

    Please re-state the problem that we are trying to solve in this issue.
    On hover, tooltip popups as shown in the video.

    What is the root cause of that problem?
    Not writing code for disabling the tooltips.

    What changes do you think we should make in order to solve the problem?
    Write code shouldShowTooltips = {false} here:

     <SelectionList 
         sections={[{data: localesToLanguages}]} 
         onSelectRow={(language) => App.setLocaleAndNavigate(language.value)} 
         initiallyFocusedOptionKey={_.find(localesToLanguages, (locale) => locale.isSelected).keyForList} 
     /> 
    

    Writing this piece of code shouldShowTooltips = {false} should probably fix it.

  10. namhihi237 commented on Jan 23, 2024

    @namhihi237
    Contributor

    @paultsimura Please add the message if you edit proposal

  11. melvin-bot commented on Jan 23, 2024

    @melvin-bot

    📣 @adisher! 📣
    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>
    
  12. 37 remaining items

  13. added
    Daily
    and removed
    Weekly
    on Feb 13, 2024
  14. eVoloshchak commented on Feb 14, 2024

    @eVoloshchak
    Contributor

    Continuing the discussion in #35460 (comment)
    @kavimuru, @tienifr, could you double-check if this was resolved please?

  15. sonialiap commented on Feb 16, 2024

    @sonialiap
    Contributor
  16. sonialiap commented on Feb 16, 2024

    @sonialiap
    Contributor

    melvin, I just commented on this issue, not overdue

  17. sonialiap commented on Feb 20, 2024

    @sonialiap
    Contributor

    @eVoloshchak bumping my question above #34961 (comment)
    is #35460 (comment) a regression?

  18. eVoloshchak commented on Feb 20, 2024

    @eVoloshchak
    Contributor

    @sonialiap, I cannot reproduce this, works fine for me on both Chrome and Safari

    Screen.Recording.2024-02-20.at.16.00.06.mov
  19. sonialiap commented on Feb 21, 2024

    @sonialiap
    Contributor

    Sounds good, making payments

    @eVoloshchak $500 please request in ND and complete the checklist
    @tienifr $500 - paid ✔️

  20. eVoloshchak commented on Feb 21, 2024

    @eVoloshchak
    Contributor
    • The PR that introduced the bug has been identified. Link to the PR: there isn't a PR that caused this, this is a limitation of the original implementation
    • The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: N/A
    • A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: I don't think an additional discussion is needed, the bug is very minor and we've applied a different approach that resolves it throughout the app

    Regression Test Proposal

    1. Navigate to Profile -> Preferences -> Priority mode
    2. Hover over the text of the options
    3. Verify that the tooltip does not appear

    Do we agree 👍 or 👎

  21. JmillsExpensify commented on Feb 27, 2024

    @JmillsExpensify
    Contributor

    $500 approved for @eVoloshchak based on summary above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions