Skip to content

[HOLD for #21696]Tooltip not shown in workspace invite page #21726

Closed

Description

@kavimuru

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


Action Performed:

  1. Create a new workspace and go to members (can be of existing workspace)
  2. Hove on person in the list

Expected Result:

Tooltip should be shown as it's shown on other lists

Actual Result:

Tooltip not shown

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.33-4
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
Notes/Photos/Videos: Any additional supporting documentation

Tooltip.Workspace.invite.page.-.Made.with.Clipchamp.mp4
Recording.1121.mp4

Expensify/Expensify Issue URL:
Issue reported by: @BhuvaneshPatil
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1687628052221969

View all open jobs on GitHub

Activity

  1. added
    Daily
    Bug
    on Jun 27, 2023
  2. melvin-bot commented on Jun 27, 2023

    @melvin-bot

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

  3. melvin-bot commented on Jun 27, 2023

    @melvin-bot

    Bug0 Triage Checklist (Main S/O)

    • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
    • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
      • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
    • This bug is reproducible using the reproduction steps in the OP. S/O
      • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
      • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
    • This issue is filled out as thoroughly and clearly as possible
      • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
    • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync
  4. StevenKKC commented on Jun 27, 2023

    @StevenKKC
    Contributor

    Proposal

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

    Tooltip not shown in workspace invite page.

    What is the root cause of that problem?

    In workspace invite page, account is displayed using below code.

    <OptionsSelector
    contentContainerStyles={[styles.flexGrow1, styles.flexShrink0, styles.flexBasisAuto]}
    listContainerStyles={[styles.flexGrow1, styles.flexShrink1, styles.flexBasis0]}
    canSelectMultipleOptions
    sections={sections}
    selectedOptions={this.state.selectedOptions}
    value={this.state.searchTerm}
    shouldShowOptions={OptionsListUtils.isPersonalDetailsReady(this.props.personalDetails)}
    onSelectRow={this.toggleOption}
    onChangeText={this.updateOptionsWithSearchTerm}
    onConfirmSelection={this.inviteUser}
    headerMessage={headerMessage}
    hideSectionHeaders
    boldStyle
    shouldFocusOnSelectRow={!Browser.isMobile()}
    textInputLabel={this.props.translate('optionsSelector.nameEmailOrPhoneNumber')}
    />

    There is not showTitleTooltip props, so tooltip is not shown.

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

    We can add showTitleTooltip props.

        <OptionsSelector
            contentContainerStyles={[styles.flexGrow1, styles.flexShrink0, styles.flexBasisAuto]}
            listContainerStyles={[styles.flexGrow1, styles.flexShrink1, styles.flexBasis0]}
            canSelectMultipleOptions
            sections={sections}
            selectedOptions={this.state.selectedOptions}
            value={this.state.searchTerm}
            shouldShowOptions={OptionsListUtils.isPersonalDetailsReady(this.props.personalDetails)}
            onSelectRow={this.toggleOption}
            onChangeText={this.updateOptionsWithSearchTerm}
            onConfirmSelection={this.inviteUser}
            headerMessage={headerMessage}
            hideSectionHeaders
            boldStyle
    +       showTitleTooltip
            shouldFocusOnSelectRow={!Browser.isMobile()}
            textInputLabel={this.props.translate('optionsSelector.nameEmailOrPhoneNumber')}
        />

    What alternative solutions did you explore? (Optional)

    None.

  5. BhuvaneshPatil commented on Jun 27, 2023

    @BhuvaneshPatil
    Contributor

    I checked with this PR #21696 - The issue will be fixed.
    The bug was reported 3 days ago on slack.

  6. changed the title [-]Tooltip not shown in workspace invite page[/-] [+][HOLD for #21696]Tooltip not shown in workspace invite page[/+] on Jun 28, 2023
  7. kadiealexander commented on Jun 28, 2023

    @kadiealexander
    Contributor
  8. BhuvaneshPatil commented on Jun 30, 2023

    @BhuvaneshPatil
    Contributor

    @kadiealexander PR mentioned above got merged, I verified with pulling main branch. It's solved the bug.
    Will there be compensation for reporting the bug?

  9. kadiealexander commented on Jul 3, 2023

    @kadiealexander
    Contributor

    I think technically the original bug reporter gets paid for this one, since they reported it back on June 13th :)

    Closing this since the bug is solved!

  10. BhuvaneshPatil commented on Jul 3, 2023

    @BhuvaneshPatil
    Contributor

    @kadiealexander
    The root cause was same, bug was different, for the one that you have mentioned, the tooltip wasn't present on few users. But in this case it was for all the users.
    The places at which the bug was reported is different.

  11. BhuvaneshPatil commented on Jul 7, 2023

    @BhuvaneshPatil
    Contributor

    @kadiealexander Friendly bump.

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

Metadata

Metadata

Labels

BugDaily

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions