-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Sign in - Offline message on password page is not friendly #3195
Comments
Triggered auto assignment to @Christinadobrzyn ( |
Don't see any other GH e.cash issues related to this sending to eng to get a second opinion! |
Triggered auto assignment to @Julesssss ( |
This is an easy one to pass over to external contributors, but first, we need to choose better messaging. Perhaps something like:
@Expensify/design any thoughts? |
Issue reproducible today during KI retests |
Hey @isagoico, would you mind reminding me what makes this issue be retested? I think it doesn't need to be because this isn't a regression but will be a new change. Please let me know if you disagree :) |
For our weekly KI we retest all open issues that were raised by our team on regression runs, that's why it was retested. I agree with you that we can exclude this one from the restests, let me know if there are any change of plans |
Ah, that makes sense. Thanks :) |
Triggered auto assignment to @mallenexpensify ( |
Hello, I initially assumed this one is as simple as replacing a string in I also noticed that there already is a similar string in the app that is used on the first login step form (email): session: {
offlineMessage: 'Looks like you\'re not connected to internet. Can you check your connection and try again?',
}, It is very similar to the one mentioned in the OP : "Looks like you're offline. Please check your connection and try again.". In my opinion there is no reason these errors should be different. Like why would offline message on 1st step form be different from 2nd step form one? Anyway, after that I wanted to replace every reference to I will replace this line with the following: Onyx.merge(ONYXKEYS.ACCOUNT, {error: translate(error.message), loading: false}); I will then make sure that all the potential errors that might be caught there have translatable strings as their message:
Overall, this solution not only replaces the text for the particular error message the issue is about, but also allows to translate it and all the other potentials errors one can get on that form, while avoiding any app breaking imports that cause require cycles. |
Triggered auto assignment to @roryabraham ( |
Posted. https://www.upwork.com/jobs/~017ce3cd40c288a83f |
@dklymenk Looks good to me 👍 Feel free to submit a PR as soon as you've been hired on Upwork |
Hired @dklymenk in Upwork |
Great. I will need a few more things from you:
|
Google translate. |
Usuario o clave incorrectos. Por favor inténtalo de nuevo
Tienes autenticación de 2 factores activada en esta cuenta. Por favor conéctate usando su email o número de teléfono
Usuario o clave incorrectos. Por favor inténtalo de nuevo o resetea tu clave
No pudimos cambiar tu clave. Probablemente porque el enlace para resetear la clave ha expirado. Te hemos enviado un nuevo enlace. Chequea tu bandeja de entrada y tu carpeta de Spam
No tienes acceso a esta aplicación. Por favor agrega tu usuario de GitHub para acceder
Tu cuenta ha sido bloqueada tras varios intentos fallidos. Por favor inténtalo otra vez dentro de 1 hora
Ha ocurrido un error. Por favor inténtalo mas tarde
Parece que estás desconectado. Por favor chequea tu conexión e inténtalo otra vez |
Hello, I submitted a PR #3769 for this issue. FYI since I haven't gotten a response my question of whether or not replace the original offline message in code with new one or to use two different ones, I have replaced the original message with a new one. |
Thanks @dklymenk, that seems like a good idea to me 👍🏼 |
@roryabraham to confirm... |
Hmmm @mallenexpensify I thought he was already hired? #3195 (comment) |
D'oh, my bad. I think I forgot to assign the issue earlier so didn't see @dklymenk when I glanced earlier. Assigned now |
I've look into the code in the PR, it looks good, @dklymenk raised a concern that I'll investigate into, but I don't think it should affect this GH and PR, it will most likely be resolved internaly by us. |
Triggered auto assignment to @trjExpensify ( |
@trjExpensify added you via |
@mallenexpensify This has been done for a while now. Can we confirm that @dklymenk has been paid on Upwork then close this out? |
Paid in Upwork, it was weird cuz it showed @dklymenk twice for being hired, but neither showed being paid yet. Sorry for the delay |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Expected Result:
Let's use the following message:
Looks like you're offline. Please check your connection and try again.
Actual Result:
API is offline
is displayed which might be confusing for regular users.Action Performed:
Workaround:
Unknown
Platform:
Where is this issue occurring?
Web ✔️
iOS
Android
Desktop App
Mobile Web
Version Number: 1.0.56-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Expensify/Expensify Issue URL:
View all open jobs on Upwork
The text was updated successfully, but these errors were encountered: