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 2022-02-09] Room - Settings - The room name has unlimited characters #7181

Closed
kbecciv opened this issue Jan 12, 2022 · 29 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@kbecciv
Copy link

kbecciv commented Jan 12, 2022

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. Go to https://staging.new.expensify.com
  2. log in expensifail account
  3. Click FAB + > New room
    3.You need to enter long room name
  4. Select any Workspace
  5. Tap Create

Expected Result:

The room name should have limited characters

Actual Result:

The room name has unlimited characters

Workaround:

Unknown

Platform:

Where is this issue occurring?

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

Version Number: 1.1.29.1

Reproducible in staging?: Yes

Reproducible in production?: No

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:

Issue reported by: Applause

Slack conversation:

View all open jobs on GitHub

@MelvinBot
Copy link

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

@flodnv flodnv added the DeployBlockerCash This issue or pull request should block deployment label Jan 13, 2022
@flodnv
Copy link
Contributor

flodnv commented Jan 13, 2022

Labelled DeployBlocker due to Reproducible in production?: No

@flodnv flodnv removed their assignment Jan 13, 2022
@flodnv flodnv added the External Added to denote the issue can be worked on by a contributor label Jan 13, 2022
@MelvinBot
Copy link

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

@OSBotify
Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@github-actions github-actions bot added Hourly KSv2 and removed Daily KSv2 labels Jan 13, 2022
@mvtglobally
Copy link

@flodnv feature is not available in Prod yet, so we are not able to check.that's why teat didn't add Blocker label

@flodnv
Copy link
Contributor

flodnv commented Jan 13, 2022

Ahhh ok 👍 I asked internally to check if it should be a blocker or not, I am not sure, but I think yes.

@parasharrajat
Copy link
Member

parasharrajat commented Jan 13, 2022

Proposal

I can think of multiple tasks to do here.

  1. First we need to restrict the length of chars.
  2. Second we need to Trim the name on the Settings page with an ellipsis.

Can someone confirm what is the scope of this issue?

Second we need to Trim the name on the Settings page with an ellipsis.
  1. For this, we need to add a wrapper View to
    <DisplayNames
    .

with Styles.w100 and styles.alignSelfCenter.
2. Add Styles.w100 to

<View style={styles.reportDetailsRoomInfo}>

First we need to restrict the length of chars.

This is already done in

.
.substring(0, CONST.REPORT.MAX_ROOM_NAME_LENGTH)

@stephanieelliott
Copy link
Contributor

Posted to Upwork: https://www.upwork.com/jobs/~01eecb1a8f50499aab

@MelvinBot
Copy link

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

@MelvinBot MelvinBot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jan 13, 2022
@MelvinBot
Copy link

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

@stephanieelliott stephanieelliott added Hourly KSv2 and removed Weekly KSv2 Help Wanted Apply this label when an issue is open to proposals by contributors labels Jan 13, 2022
@flodnv flodnv removed the DeployBlockerCash This issue or pull request should block deployment label Jan 13, 2022
@flodnv flodnv added Daily KSv2 and removed Hourly KSv2 labels Jan 13, 2022
@iwiznia
Copy link
Contributor

iwiznia commented Jan 13, 2022

Can someone confirm what is the scope of this issue?

Both of those sound reasonable to me.

First we need to restrict the length of chars.
This is already done in

I don't see anything related to max chars there

@parasharrajat
Copy link
Member

Oops, tagged the wrong line.

.substring(0, CONST.REPORT.MAX_ROOM_NAME_LENGTH)

@iwiznia
Copy link
Contributor

iwiznia commented Jan 13, 2022

Oh, if we have that, why is this bug present? 😕

@parasharrajat
Copy link
Member

Length is set to 80 char which is pretty big and thus we need to clip the text in the UI with ellipsis in the Side-modal so that it does not overflow.

@iwiznia
Copy link
Contributor

iwiznia commented Jan 13, 2022

oh ok. Proposal looks good then 👍

@parasharrajat
Copy link
Member

Do we want to reduce the number of chars from the Room name?

@stephanieelliott
Copy link
Contributor

I invited you to the job on Upwork @parasharrajat, please accept when you get a chance.

@iwiznia
Copy link
Contributor

iwiznia commented Jan 14, 2022

Do we want to reduce the number of chars from the Room name?

To what number?

@parasharrajat
Copy link
Member

parasharrajat commented Jan 15, 2022

May be 50 from 80...

@iwiznia
Copy link
Contributor

iwiznia commented Jan 17, 2022

I am fine with 50 honestly, but not sure what's best... maybe let's ask in the open source channel what people think?

@parasharrajat
Copy link
Member

@parasharrajat
Copy link
Member

parasharrajat commented Jan 18, 2022

Update: Facing a strange issue. Trying to see what has changed.

@parasharrajat
Copy link
Member

Didn't find any solution that works on each platform yet. I am looking to find a universal design approach.

@parasharrajat
Copy link
Member

I will get back to it today.

@parasharrajat
Copy link
Member

PR is ready for review.

@stephanieelliott
Copy link
Contributor

PR is undergoing QA

@MelvinBot MelvinBot removed the Overdue label Jan 31, 2022
@botify botify added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Feb 2, 2022
@botify botify changed the title Room - Settings - The room name has unlimited characters [HOLD for payment 2022-02-09] Room - Settings - The room name has unlimited characters Feb 2, 2022
@botify
Copy link

botify commented Feb 2, 2022

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.34-0 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2022-02-09. 🎊

@mvtglobally
Copy link

Issue not reproducible during KI retests. (First week)

@stephanieelliott
Copy link
Contributor

Paid up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production 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

9 participants