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

New Room- Characters appear/disappear when using a special characters (e.g.: + or &) #13042

Closed
kbecciv opened this issue Nov 25, 2022 · 19 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Needs Reproduction Reproducible steps needed Weekly KSv2

Comments

@kbecciv
Copy link

kbecciv commented Nov 25, 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!


Issue found when executing PR #12899

Action Performed:

  1. Launch the app
  2. Login with any account
  3. Click green circle button
  4. Create room
  5. In the room name type: "test123"
  6. Put the cursor just after the word "test"
  7. Type a space
  8. Verify that the result is "test_123" and that the cursor is right after the underscore and not in the end
  9. Type a special char (e.g.: + or &)

Expected Result:

Characters are temporarily appearing and disappearing when using a special characteristics(e.g.: + or &) after space

Actual Result:

Characters are temporarily appearing and disappearing when using a special characteristics(e.g.: + or &) after space
In IOS app when typing a special characteristics its briefly visible.

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • iOS
  • Android

Version Number: 1.2.31.7

Reproducible in staging?: Yes

Reproducible in production?: Yes

Email or phone of affected tester (no customers):

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

Notes/Photos/Videos: Any additional supporting documentation

12899.IOS.MP4
12899.Android.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

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

melvin-bot bot commented Nov 25, 2022

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

@s77rt
Copy link
Contributor

s77rt commented Nov 25, 2022

I won't say this is a bug, the text input is being changed and depending on the device speed you may or may need see the change happening (refereed to shaking in the GH body)

@melvin-bot melvin-bot bot added the Overdue label Nov 28, 2022
@sophiepintoraetz
Copy link
Contributor

Came in over the weekend - will look at this tomorrow.

@melvin-bot melvin-bot bot removed the Overdue label Nov 29, 2022
@marcaaron
Copy link
Contributor

Yeah can we maybe clarify what "shaking" means in this context? It looks like those characters are being overwritten (though I haven't confirmed this). Which is against our form guidelines as stated here:

Image

https://github.com/Expensify/App/blob/main/contributingGuides/FORMS.md#modifying-user-input-on-change

@melvin-bot melvin-bot bot added the Overdue label Dec 1, 2022
@sophiepintoraetz
Copy link
Contributor

Ack have not had time to replicate this!

@melvin-bot melvin-bot bot removed the Overdue label Dec 2, 2022
@sophiepintoraetz
Copy link
Contributor

sophiepintoraetz commented Dec 5, 2022

@kbecciv - by shaking, do you mean that the special character temporarily appears and then disappears? If so, I think I have successfully reproduced this on iOS/Android on v1.2.36.1

RPReplay_Final1670216776.mov

2022-12-05_18-20-01 (1)

@kbecciv
Copy link
Author

kbecciv commented Dec 5, 2022

@sophiepintoraetz Yes, correct - I meant that the special character temporarily appears and then disappears.

@melvin-bot
Copy link

melvin-bot bot commented Dec 6, 2022

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

@madmax330
Copy link
Contributor

Will look into this tomorrow

@melvin-bot melvin-bot bot added the Overdue label Dec 9, 2022
@madmax330
Copy link
Contributor

I can fix this bug, however I am OOO, so moving it to weekly

@sophiepintoraetz
Copy link
Contributor

Max is OOO

@melvin-bot melvin-bot bot removed the Overdue label Dec 20, 2022
@bondydaa
Copy link
Contributor

I think max is coming back tomorrow from OOO but I can probably also help out if needed

I think we should solve this by heeding what Marc called out here: #13042 (comment) and completely remove the automatic editing of the user's input and have some front side validation on submit (and backend validation too in case that doesn't already exist)

@JmillsExpensify JmillsExpensify changed the title New Room- Numbers are shaking when using a special characteristics(e.g.: + or &) after space New Room- Numbers are shaking when using a special characters (e.g.: + or &) after space Dec 26, 2022
@JmillsExpensify JmillsExpensify changed the title New Room- Numbers are shaking when using a special characters (e.g.: + or &) after space New Room- Characters appear/disappear when using a special characters (e.g.: + or &) after space Dec 26, 2022
@JmillsExpensify JmillsExpensify changed the title New Room- Characters appear/disappear when using a special characters (e.g.: + or &) after space New Room- Characters appear/disappear when using a special characters (e.g.: + or &) Dec 26, 2022
@JmillsExpensify
Copy link

This issue recently hit 30 days, which is how it ended up on my radar. Here's two cents:

  • I don't think this issue should hold up WAQ, as it's for a beta feature that has no set launch date
  • Further, I think we should associated this with the form refactor given that it violates our stipulated behavior

As for the solution, I agree that this should instead have front-end validation so that information isn't removed after being added. But again, I don't think this is a bug that should block the roadmap, nor should any other bug related to beta features that we have no plans to introduce for months and months from now.

Feel free to fix it, but again, I'm throwing 'HOLD WAQ' in the title in the meantime.

@JmillsExpensify JmillsExpensify changed the title New Room- Characters appear/disappear when using a special characters (e.g.: + or &) [HOLD WAQ] New Room- Characters appear/disappear when using a special characters (e.g.: + or &) Dec 26, 2022
@melvin-bot melvin-bot bot added the Overdue label Dec 29, 2022
@madmax330
Copy link
Contributor

on hold

@melvin-bot melvin-bot bot removed the Overdue label Dec 30, 2022
@melvin-bot melvin-bot bot added the Overdue label Jan 9, 2023
@madmax330
Copy link
Contributor

on hold

@melvin-bot melvin-bot bot removed the Overdue label Jan 9, 2023
@JmillsExpensify JmillsExpensify changed the title [HOLD WAQ] New Room- Characters appear/disappear when using a special characters (e.g.: + or &) New Room- Characters appear/disappear when using a special characters (e.g.: + or &) Jan 12, 2023
@JmillsExpensify
Copy link

Removed the WAQ hold for continuity.

@madmax330
Copy link
Contributor

I think for this issue we want the same solution as here: #13676 (comment)

It's the same problem of the special characters being trimmed out. So we should just leave them and show an error

@trjExpensify
Copy link
Contributor

Doesn't seem like this isn't an issue anymore. I can't reproduce it on iOS v1.2.50-14 at least, we're following the correct Forms pattern.

RPReplay_Final1673524407.MP4

@sophiepintoraetz
Copy link
Contributor

Yeah, I'm also not able to reproduce this so closing and adding reproduction steps needed.

@sophiepintoraetz sophiepintoraetz added the Needs Reproduction Reproducible steps needed label Jan 13, 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. Engineering Needs Reproduction Reproducible steps needed Weekly KSv2
Projects
None yet
Development

No branches or pull requests

8 participants