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 2023-01-16] Workspace name is truncated even though there is enough space to fill #14007

Closed
6 tasks
kavimuru opened this issue Jan 5, 2023 · 16 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review

Comments

@kavimuru
Copy link

kavimuru commented Jan 5, 2023

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. Create a new long name workspace if you don't have one
  2. Go to Settings > Workspaces
  3. Observe the long workspace name is truncated

Expected Result:

Workspace name should not be truncated when there is still enough space

Actual Result:

Workspace name is truncated

Workaround:

unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari (resizing the browser)
  • MacOS / Desktop (resizing the browser)

Version Number: v1.2.48-2
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
image (2)
Untitled1

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

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~017bc707bc39462f98
  • Upwork Job ID: 1611127456696561664
  • Last Price Increase: 2023-01-05
@kavimuru kavimuru added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jan 5, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jan 5, 2023

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

@melvin-bot melvin-bot bot locked and limited conversation to collaborators Jan 5, 2023
@luacmartins luacmartins self-assigned this Jan 5, 2023
@luacmartins luacmartins added the Internal Requires API changes or must be handled by Expensify staff label Jan 5, 2023
@melvin-bot melvin-bot bot unlocked this conversation Jan 5, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jan 5, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jan 5, 2023

Triggered auto assignment to Contributor Plus for review of internal employee PR - @mananjadhav (Internal)

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Jan 5, 2023
@luacmartins
Copy link
Contributor

PR up!

@Pujan92
Copy link
Contributor

Pujan92 commented Jan 6, 2023

Have doubt, is this needs to consider for the general MenuItems or only for Workspace List?
IMO it should apply to all and 1 more usecase is here

Screenshot 2023-01-06 at 8 54 43 AM

diff --git a/src/styles/styles.js b/src/styles/styles.js
index 82e9ca8f2..46964ec1d 100644
--- a/src/styles/styles.js
+++ b/src/styles/styles.js
@@ -1119,7 +1119,6 @@ const styles = {
     popoverMenuText: {
         fontSize: variables.fontSizeNormal,
         color: themeColors.heading,
-        maxWidth: 240,
     },

@mananjadhav
Copy link
Collaborator

Thanks for raising this @Pujan92. I think this can be worked as a separate issue. While the change looks small enough, the MenuItem component is used at several places. We will have test all those components for an unrelated change.

But if @luacmartins thinks we can add in this PR, I am fine with that too.

@luacmartins
Copy link
Contributor

luacmartins commented Jan 6, 2023

I considered that, but dismissed it for the same reasons @mananjadhav mentioned. However, it seems like the PR that introduced the fixed width did so to truncate long workspace names. So it might be safe to remove this. I'll come back to test this after the deploy is done!

@mananjadhav
Copy link
Collaborator

@miljakljajic Can you help me with the payout here? This has crossed the regression period. Been on production for 7 days.

cc - @luacmartins

@luacmartins luacmartins changed the title Workspace name is truncated even though there is enough space to fill [HOLD for payment 2023-01-16] Workspace name is truncated even though there is enough space to fill Jan 16, 2023
@mananjadhav
Copy link
Collaborator

@miljakljajic Quick bump.

@miljakljajic
Copy link
Contributor

Paying immediately!

@miljakljajic
Copy link
Contributor

Please accept the offer when you have a chance.

@mananjadhav
Copy link
Collaborator

Thank you so much @miljakljajic. Accepted

@bernhardoj
Copy link
Contributor

May I have your help too for the reporting bonus? @miljakljajic

@miljakljajic
Copy link
Contributor

Of course! I paid you your bonus @bernhardoj and sent payment to you, @mananjadhav. Thank you for your patience and apologies for the delay.

@mananjadhav
Copy link
Collaborator

Thanks @miljakljajic for the help here

@bernhardoj
Copy link
Contributor

@miljakljajic Thank you!

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 Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

6 participants