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

Demote alert to info #7747

Merged
merged 1 commit into from
Feb 14, 2022
Merged

Demote alert to info #7747

merged 1 commit into from
Feb 14, 2022

Conversation

iwiznia
Copy link
Contributor

@iwiznia iwiznia commented Feb 14, 2022

@kidroca FYI since you added this log line (or at least blame showed your name)

Details

Context https://expensify.slack.com/archives/C0BS1NT42/p1644845508895869
This alert is when client does not have good connection, we can't do anything about this, so it should not be an alert

Fixed Issues

$ GH_LINK

Tests

None, just a log line change.

QA Steps

None

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

Mobile Web

Desktop

iOS

Android

@iwiznia iwiznia requested a review from a team February 14, 2022 19:20
@iwiznia iwiznia self-assigned this Feb 14, 2022
@MelvinBot MelvinBot requested review from PauloGasparSv and removed request for a team February 14, 2022 19:20
@kidroca
Copy link
Contributor

kidroca commented Feb 14, 2022

The idea was that it should get our attention when there are 10 retries with no success

IMO If the client connection is so poor that the request is not reaching the backend after 10 retries (there's at least 1 sec. between each) the Network state should be set as offline so that we can retry the request after we're online.
Just something to think about (I don't have the full plan yet)

Copy link
Contributor

@PauloGasparSv PauloGasparSv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this was already discussed and agreed on slack earlier today and the code change looks fine, I'm approving it!

@PauloGasparSv PauloGasparSv merged commit d05fce8 into main Feb 14, 2022
@PauloGasparSv PauloGasparSv deleted the ionatan_demote_alert branch February 14, 2022 20:51
@OSBotify
Copy link
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify
Copy link
Contributor

🚀 Deployed to staging by @PauloGasparSv in version: 1.1.39-0 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@OSBotify
Copy link
Contributor

🚀 Deployed to production by @timszot in version: 1.1.39-3 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants