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

Bug reporting and logs sharing improvements #12773

Merged
merged 1 commit into from
Nov 12, 2021

Conversation

rasom
Copy link
Member

@rasom rasom commented Nov 1, 2021

Changes:

  • if logs archive can't be created (nil log level in release version) logs won't be attached at all
  • in order to submit a new report, the user has to fill description/steps form where description is required. That is to avoid sending empty reports.
  • on iOS logs archive can be shared without sending email at all

fix #12042

status: wip

@rasom rasom self-assigned this Nov 1, 2021
@status-github-bot status-github-bot bot added this to REVIEW in Pipeline for QA Nov 1, 2021
@status-im-auto
Copy link
Member

status-im-auto commented Nov 1, 2021

Jenkins Builds

Click to see older builds (48)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 7cfcdeb #1 2021-11-01 10:13:20 ~12 min android 📦apk 📲
✔️ 7cfcdeb #1 2021-11-01 10:15:25 ~14 min android-e2e 📦apk 📲
✔️ 7cfcdeb #1 2021-11-01 10:19:46 ~18 min ios 📦ipa 📲
✔️ 28f3d69 #2 2021-11-01 10:38:30 ~11 min android-e2e 📦apk 📲
✔️ 28f3d69 #2 2021-11-01 10:39:32 ~12 min android 📦apk 📲
✔️ 28f3d69 #2 2021-11-01 10:42:46 ~15 min ios 📦ipa 📲
✔️ c386e95 #3 2021-11-01 11:04:48 ~11 min android-e2e 📦apk 📲
✔️ c386e95 #3 2021-11-01 11:06:38 ~13 min android 📦apk 📲
✔️ c386e95 #3 2021-11-01 11:10:44 ~17 min ios 📦ipa 📲
✔️ 2d514e0 #4 2021-11-01 11:15:24 ~12 min android 📦apk 📲
✔️ 2d514e0 #4 2021-11-01 11:16:06 ~13 min android-e2e 📦apk 📲
✔️ 2d514e0 #4 2021-11-01 11:18:53 ~16 min ios 📦ipa 📲
✔️ 9dc200f #5 2021-11-02 08:24:14 ~11 min android 📦apk 📲
✔️ 9dc200f #5 2021-11-02 08:24:26 ~12 min android-e2e 📦apk 📲
✔️ 9dc200f #5 2021-11-02 08:26:12 ~13 min ios 📦ipa 📲
✔️ 4496366 #6 2021-11-02 10:41:12 ~12 min android-e2e 📦apk 📲
✔️ 4496366 #6 2021-11-02 10:42:48 ~14 min android 📦apk 📲
✔️ 4496366 #6 2021-11-02 10:48:23 ~19 min ios 📦ipa 📲
✔️ 18ea3f6 #7 2021-11-08 09:16:41 ~12 min android-e2e 📦apk 📲
✔️ 18ea3f6 #7 2021-11-08 09:21:17 ~16 min android 📦apk 📲
✔️ 18ea3f6 #7 2021-11-08 09:22:44 ~18 min ios 📦ipa 📲
✔️ 732d46e #8 2021-11-08 12:37:40 ~13 min ios 📦ipa 📲
✔️ 732d46e #8 2021-11-08 12:40:04 ~15 min android-e2e 📦apk 📲
✔️ 732d46e #8 2021-11-08 12:40:05 ~15 min android 📦apk 📲
✔️ bc8023e #9 2021-11-08 13:00:29 ~11 min android 📦apk 📲
✔️ bc8023e #9 2021-11-08 13:01:25 ~12 min android-e2e 📦apk 📲
✔️ bc8023e #9 2021-11-08 13:08:39 ~19 min ios 📦ipa 📲
✔️ 332183d #10 2021-11-08 14:59:39 ~12 min android-e2e 📦apk 📲
✔️ 332183d #10 2021-11-08 14:59:41 ~12 min android 📦apk 📲
✔️ 332183d #10 2021-11-08 15:00:07 ~13 min ios 📦ipa 📲
✔️ dd2689b #11 2021-11-09 08:11:48 ~15 min android 📦apk 📲
✔️ dd2689b #11 2021-11-09 08:11:53 ~15 min android-e2e 📦apk 📲
✔️ dd2689b #11 2021-11-09 08:13:53 ~17 min ios 📦ipa 📲
✔️ d0f14e9 #12 2021-11-10 09:14:21 ~13 min android 📦apk 📲
✔️ d0f14e9 #12 2021-11-10 09:21:18 ~20 min android-e2e 📦apk 📲
✔️ d0f14e9 #12 2021-11-10 09:21:56 ~20 min ios 📦ipa 📲
✔️ de51124 #13 2021-11-10 10:44:28 ~12 min android-e2e 📦apk 📲
✔️ de51124 #13 2021-11-10 10:46:40 ~14 min android 📦apk 📲
✔️ de51124 #13 2021-11-10 10:48:50 ~16 min ios 📦ipa 📲
✔️ 7a09aa5 #14 2021-11-10 11:55:26 ~11 min android 📦apk 📲
✔️ 7a09aa5 #14 2021-11-10 11:59:41 ~15 min android-e2e 📦apk 📲
✔️ 7a09aa5 #14 2021-11-10 12:11:26 ~27 min ios 📦ipa 📲
✔️ 011771b #15 2021-11-11 09:35:46 ~11 min android-e2e 📦apk 📲
✔️ 011771b #15 2021-11-11 09:36:59 ~12 min android 📦apk 📲
✔️ 011771b #15 2021-11-11 09:39:08 ~14 min ios 📦ipa 📲
✔️ 91a7e08 #16 2021-11-11 10:04:17 ~12 min android-e2e 📦apk 📲
✔️ 91a7e08 #16 2021-11-11 10:04:32 ~12 min android 📦apk 📲
✔️ 91a7e08 #16 2021-11-11 10:08:07 ~16 min ios 📦ipa 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 6175850 #17 2021-11-11 11:12:41 ~11 min android 📦apk 📲
✔️ 6175850 #17 2021-11-11 11:14:19 ~13 min android-e2e 📦apk 📲
✔️ 6175850 #17 2021-11-11 11:17:24 ~16 min ios 📦ipa 📲
✔️ 7359c52 #18 2021-11-11 18:41:51 ~11 min android-e2e 📦apk 📲
✔️ 7359c52 #18 2021-11-11 18:42:49 ~12 min android 📦apk 📲
✔️ 7359c52 #18 2021-11-11 18:54:12 ~24 min ios 📦ipa 📲

@rasom rasom force-pushed the some-bug-reporting-logs-sharing-improvements branch from 2d514e0 to 9dc200f Compare November 2, 2021 08:12
@rasom rasom marked this pull request as ready for review November 2, 2021 10:11
@rasom rasom force-pushed the some-bug-reporting-logs-sharing-improvements branch from 4496366 to 18ea3f6 Compare November 8, 2021 09:04
@churik
Copy link
Member

churik commented Nov 8, 2021

@rasom

ISSUE 1: fields are overlapped with keyboard on Android

IMAGE 2021-11-08 11:32:53

ISSUE 2: If I closed error reporting form one time, can't open it again on shaking until app reopening (Android)

ISSUE 3: On Submit a bug option from Need help (used messenger) - got Archived logs message (Android)

IMAGE 2021-11-08 11:58:46

ISSUE 4: can't create multiaccount on IOS

Got stuck on "Create password" screen after confirming password

IMAGE 2021-11-08 12:04:24
(couldn't reproduce on nightly build)

@rasom rasom force-pushed the some-bug-reporting-logs-sharing-improvements branch from bc8023e to 332183d Compare November 8, 2021 14:46
@rasom
Copy link
Member Author

rasom commented Nov 8, 2021

@churik 2-4 are fixed

1 is also fixed by using modal instead of bottom sheet, it just works there

@rasom rasom force-pushed the some-bug-reporting-logs-sharing-improvements branch from 332183d to dd2689b Compare November 9, 2021 07:55
@churik churik moved this from REVIEW to IN TESTING in Pipeline for QA Nov 9, 2021
@churik
Copy link
Member

churik commented Nov 9, 2021

awesome work @rasom!
Only one small improvement: can we close submitting form after redirect to mailclient (after tapping "Submit" button)? Looks a bit odd that after submission should close it manually.

@rasom rasom force-pushed the some-bug-reporting-logs-sharing-improvements branch from dd2689b to d0f14e9 Compare November 10, 2021 09:01
@rasom
Copy link
Member Author

rasom commented Nov 10, 2021

@churik fixed

@churik
Copy link
Member

churik commented Nov 10, 2021

@rasom
last change introduced issue on IOS that after submitting from mailclient with the draft is not opened

FILE.2021-11-10.11.43.58.mp4

Please, mind my commit when squashing. thanks!

@rasom rasom force-pushed the some-bug-reporting-logs-sharing-improvements branch from de51124 to 7a09aa5 Compare November 10, 2021 11:43
@churik churik self-assigned this Nov 10, 2021
@churik
Copy link
Member

churik commented Nov 10, 2021

@rasom
thank you!
I think we can go with #12773 (comment)
But I suppose better to clean {{description}} and {{steps}} after form submission to prevent users to submit for again with empty values

FILE.2021-11-10.15.02.36.mp4

@rasom rasom force-pushed the some-bug-reporting-logs-sharing-improvements branch from 91a7e08 to 6175850 Compare November 11, 2021 11:00
@rasom
Copy link
Member Author

rasom commented Nov 11, 2021

@churik done

@churik churik moved this from IN TESTING to MERGE in Pipeline for QA Nov 11, 2021
@rasom rasom force-pushed the some-bug-reporting-logs-sharing-improvements branch from 6175850 to 7359c52 Compare November 11, 2021 18:29
@rasom rasom merged commit 7359c52 into develop Nov 12, 2021
@rasom rasom deleted the some-bug-reporting-logs-sharing-improvements branch November 12, 2021 07:45
Pipeline for QA automation moved this from MERGE to DONE Nov 12, 2021
(defn bug-report []
(let [{:keys [description steps]} @(re-frame/subscribe [:bug-report/details])]
[react-native/view {:style {:flex 1}}
[topbar/topbar
Copy link
Member

Choose a reason for hiding this comment

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

better to use native topbar in this case

[topbar/topbar
{:title (i18n/label :t/bug-report)
:modal? true}]
[react-native/view {:style {:flex 1
Copy link
Member

Choose a reason for hiding this comment

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

this is something new, usually we use react/view or rn/view

@@ -1194,7 +1194,7 @@
"remove-token": "Alisin ang token",
"removed": "alisin",
"repeat-pin": "Ulitin ang bagong 6-digit na passcode",
"report-bug-email-template": "1. Paglalarawan ng Isyu\n(Ilarawan ang tampok na nais mo, o maikli ang buod ng bug at kung ano ang iyong ginawa, kung ano ang inaasahan mong mangyari, at kung ano ang tunay na mangyayari. Mga seksyon sa ibaba)\n\n\n2. Mga hakbang upang makalikha\n(Ilarawan kung paano namin maaaring kopyahin ang sunud-sunod na hakbang.)\n-Buksan ang Status\n-...\n-Step 3, atbp.\n\n3. Inaasahang pag-uugali\n(Ilarawan kung ano ang inaasahan mong mangyari.)\n\n\n4. Aktwal na pag-uugali\n(Ilarawan kung ano talaga ang nangyari.)\n\n\n5. Ikabit ang mga screenshot na maaaring mag-demo sa problema, kung maaari sana",
"report-bug-email-template": "1. Paglalarawan ng Isyu\{{description}}\n\n\n2. Mga hakbang upang makalikha\n {{steps}}\n\n\n3. Ikabit ang mga screenshot na maaaring mag-demo sa problema, kung maaari sana",
Copy link
Member

Choose a reason for hiding this comment

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

n is missed

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

Successfully merging this pull request may close these issues.

Error reports improvement
5 participants