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

Room name doesn't register special characters instead of throwing error #12678

Closed
puneetlath opened this issue Nov 11, 2022 · 28 comments
Closed
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 Waiting for copy User facing verbiage needs polishing

Comments

@puneetlath
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:

Break down in numbered steps

  1. Choose New Room from the create menu
  2. Type in a special character (e.g. ! or . in the room title

Expected Result:

Describe what you think should've happened
The special character that was typed is shown, along with a validation error saying that character is not allowed.

Actual Result:

Describe what actually happened
The character is not shown at all.

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: v1.2.26-0
Reproducible in staging?: y
Reproducible in production?: y
Issue reported by: @puneetlath
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1668173276175579?thread_ts=1668112427.854869&cid=C049HHMV9SM

View all open jobs on GitHub

@puneetlath puneetlath added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Nov 11, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 11, 2022

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

@puneetlath puneetlath self-assigned this Nov 11, 2022
@puneetlath puneetlath added the Internal Requires API changes or must be handled by Expensify staff label Nov 11, 2022
@puneetlath
Copy link
Contributor Author

@lschurr I'll fix this.

@melvin-bot melvin-bot bot added the Overdue label Nov 14, 2022
@puneetlath
Copy link
Contributor Author

Will start on this today.

@melvin-bot melvin-bot bot removed the Overdue label Nov 14, 2022
@lschurr
Copy link
Contributor

lschurr commented Nov 14, 2022

Cool @puneetlath - do I need to do anything? Should I be trying to reproduce?

@puneetlath
Copy link
Contributor Author

Nope, it's reproducible.

@lschurr lschurr removed their assignment Nov 15, 2022
@melvin-bot melvin-bot bot added the Overdue label Nov 16, 2022
@lschurr
Copy link
Contributor

lschurr commented Nov 16, 2022

Heyooooo any updates on this one @puneetlath?

@melvin-bot melvin-bot bot removed the Overdue label Nov 16, 2022
@puneetlath
Copy link
Contributor Author

I realized I need to refactor this page to use the new Forms component, so it's a little bit more involved then I initially thought. Hope to have a PR up today.

@melvin-bot melvin-bot bot added the Overdue label Nov 21, 2022
@puneetlath
Copy link
Contributor Author

Still working on this, should be done soon.

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Nov 21, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 25, 2022

@puneetlath, @lschurr Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@lschurr
Copy link
Contributor

lschurr commented Nov 28, 2022

@puneetlath - you're OOO this week right?

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Nov 28, 2022
@lschurr
Copy link
Contributor

lschurr commented Dec 1, 2022

Gonna move to Weekly since Puneet is OOO.

@melvin-bot melvin-bot bot removed the Overdue label Dec 1, 2022
@lschurr lschurr added Weekly KSv2 and removed Daily KSv2 labels Dec 1, 2022
@muttmuure
Copy link
Contributor

Also assigning myself since I'm managing the tracking issue here

@melvin-bot melvin-bot bot added the Overdue label Dec 29, 2022
@puneetlath puneetlath changed the title [HOLD #13524] Room name doesn't register special characters instead of throwing error [HOLD #13915] Room name doesn't register special characters instead of throwing error Dec 31, 2022
@puneetlath
Copy link
Contributor Author

Still on hold, now for #13915

@melvin-bot melvin-bot bot removed the Overdue label Dec 31, 2022
@puneetlath puneetlath changed the title [HOLD #13915] Room name doesn't register special characters instead of throwing error Room name doesn't register special characters instead of throwing error Jan 4, 2023
@puneetlath puneetlath added the Waiting for copy User facing verbiage needs polishing label Jan 4, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jan 4, 2023

Triggered auto assignment to @davidcardoza (Waiting for copy), see https://stackoverflow.com/c/expensify/questions/7025/ for more details.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jan 4, 2023
@puneetlath
Copy link
Contributor Author

@davidcardoza we need some error copy for when someone tries to enter an invalid room name. We only allow letters, numbers, and dashes in room names. All other characters are disallowed. I'm thinking:

Room names cannot contain punctuation or most special characters

image

For reference, here is Slack's:

image

How does that sound?

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

How about this, just a slight addition:

Room names cannot contain spaces, punctuation or most special characters

I think most users will try to create a room with spaces, but that's just my opinion.

@puneetlath
Copy link
Contributor Author

If they try to enter a space we automatically replace it with a dash. So I don't think we need to include that.

@davidcardoza
Copy link
Contributor

That's awesome, I didn’t know that. Your copy looks good to me in that case.

@puneetlath
Copy link
Contributor Author

@lschurr FYI this is internal, but @rushatgabhane is helping out with PR review and will need to be paid out (once this goes live).

@lschurr
Copy link
Contributor

lschurr commented Jan 11, 2023

@rushatgabhane could you apply for the job in Upwork? https://www.upwork.com/jobs/~01f8eb2fdbe370c1ac

@rushatgabhane
Copy link
Member

@lschurr thanks! I've applied

@lschurr
Copy link
Contributor

lschurr commented Jan 17, 2023

Hey @puneetlath - Is this live? Should I pay and close this out or are we still waiting on something?

@puneetlath
Copy link
Contributor Author

Yes! The PR hit production on Jan 9 so you're good to pay out @rushatgabhane on this one.

@lschurr
Copy link
Contributor

lschurr commented Jan 17, 2023

Awesome. Paid!

@lschurr lschurr closed this as completed Jan 17, 2023
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 Waiting for copy User facing verbiage needs polishing
Projects
None yet
Development

No branches or pull requests

5 participants