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

[Pay 9/6] Long Workspace Name gets Cut #4747

Closed
akshayasalvi opened this issue Aug 18, 2021 · 24 comments
Closed

[Pay 9/6] Long Workspace Name gets Cut #4747

akshayasalvi opened this issue Aug 18, 2021 · 24 comments
Assignees
Labels
Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@akshayasalvi
Copy link
Contributor

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


Action Performed:

  1. Enter a very long email address for the signin
  2. Go to FAB and click on New Workspace
  3. You'll see that the workspace name has no margin and it gets cut from the screen.

Expected Result:

Should have a margin with the text having ellipses. It should then on hover show the full name.

Actual Result:

Text gets cut and no way to see the full workspace name.
image

Workaround:

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

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:

View all open jobs on GitHub

@akshayasalvi akshayasalvi added AutoAssignerTriage Auto assign issues for triage to an available triage team member Daily KSv2 labels Aug 18, 2021
@MelvinBot
Copy link

Triggered auto assignment to @mateocole (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

@MelvinBot MelvinBot removed the AutoAssignerTriage Auto assign issues for triage to an available triage team member label Aug 18, 2021
@akshayasalvi
Copy link
Contributor Author

akshayasalvi commented Aug 18, 2021

Proposed Solution

In WorkspaceSidebar change the policy.name Pressable as:

<Pressable
    style={[
        styles.alignSelfCenter,
        styles.mt4,
        styles.mb6,
        styles.w100,
    ]}
    onPress={openEditor}
>
    <Tooltip text={policy.name}>
        <Text
            numberOfLines={1}
            style={[
                styles.displayName,
            ]}
        >
            {policy.name}
        </Text>
    </Tooltip>
</Pressable>


After applying the above fix this is how it'll look:

image

@MelvinBot
Copy link

@mateocole Eep! 4 days overdue now. Issues have feelings too...

@MelvinBot
Copy link

Triggered auto assignment to @mountiny (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@mountiny
Copy link
Contributor

This can be worked on by external contributor for sure, assigning the label.

@MelvinBot MelvinBot removed the Overdue label Aug 25, 2021
@mountiny mountiny added the External Added to denote the issue can be worked on by a contributor label Aug 25, 2021
@MelvinBot
Copy link

Triggered auto assignment to @mallenexpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@mountiny mountiny removed their assignment Aug 25, 2021
@MelvinBot MelvinBot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 25, 2021
@MelvinBot
Copy link

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

@mallenexpensify
Copy link
Contributor

Job posted to Upwork https://www.upwork.com/jobs/~01907c7fb70ee8f131
@Julesssss can you review @akshayasalvi 's proposal above? #4747 (comment)

@Julesssss
Copy link
Contributor

Looks good to me. Please go ahead and hire @akshayasalvi

@MelvinBot MelvinBot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 25, 2021
@mallenexpensify
Copy link
Contributor

Hired @akshayasalvi in Upwork!

@akshayasalvi
Copy link
Contributor Author

@Julesssss PR Raised. I found the same issue in the sidebar as well. I've fixed that as well.

@Julesssss
Copy link
Contributor

Hi @akshayasalvi I see the ellipsis in the sidebar, but not the tooltip. My guess is that this isn't possible as it's a different Component type, is that the case?

@akshayasalvi
Copy link
Contributor Author

@Julesssss I didn't add Tooltip there because it was more like a MenuItem component. We are reusing the same component for the other menus like Preferences, etc. Also, I feel the Tooltip there will look a little weird. Let me know your thoughts.

@Julesssss
Copy link
Contributor

Julesssss commented Aug 26, 2021

It's not a huge problem and I think we would still want to ellipsis, but it would be better to have the ToolTip show in both places.

@akshayasalvi
Copy link
Contributor Author

Let me see what I can do. Will send an update by tomorrow. Will that be okay?

@Julesssss
Copy link
Contributor

If we don't show the Tooltip in any other menu option then I think we can merge as is, just taking a look.

@akshayasalvi
Copy link
Contributor Author

IIRC, we don't at the moment. I had checked it earlier.

@Julesssss
Copy link
Contributor

Yep, I don't see it either. We may introduce further issues by modifying the menu Component, so let's merge as is 👍

@akshayasalvi
Copy link
Contributor Author

Okay. Thank you for the confirmation.

@Julesssss
Copy link
Contributor

I didn't even notice that this had been merged already 😄

FYI @aldo-expensify we should await the contributor manager engineer review so that the next steps in the process aren't missed.

@Julesssss Julesssss added Weekly KSv2 and removed Daily KSv2 labels Aug 26, 2021
@Julesssss Julesssss changed the title Long Workspace Name gets Cut [Hold for payment on Wed, 1st September] Long Workspace Name gets Cut Aug 26, 2021
@aldo-expensify
Copy link
Contributor

aldo-expensify commented Aug 26, 2021

I didn't even notice that this had been merged already 😄

FYI @aldo-expensify we should await the contributor manager engineer review so that the next steps in the process aren't missed.

Sorry about that @Julesssss ! next time I'll just review, approve and comment :)

@Julesssss
Copy link
Contributor

For reference, it looks like this regression was introduced by this issue, and has been fixed already.

@mallenexpensify
Copy link
Contributor

mallenexpensify commented Aug 31, 2021

Updating payment til 9/6, due to regression.

@mallenexpensify mallenexpensify changed the title [Hold for payment on Wed, 1st September] Long Workspace Name gets Cut [Pay 9/6] Long Workspace Name gets Cut Aug 31, 2021
@mallenexpensify
Copy link
Contributor

Paid in Upwork, included bonus for reporting the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
None yet
Development

No branches or pull requests

7 participants