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

fix(red-dot): fix getting the real state of the AC notification count #16024

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

jrainville
Copy link
Member

@jrainville jrainville commented Aug 7, 2024

Fixes #16021

The problem was that the view doesn't update in a sync way, so getting the count from the view might be wrong.

This fix makes it so we have to get the count from status-go twice, which is not ideal, but to fix it, we'd need a refactor of the AC view count mechanism

I opened a refactor issue to address it at some point: #16023

red-dot-ac.webm

@status-im-auto
Copy link
Member

status-im-auto commented Aug 7, 2024

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ f3b655e #1 2024-08-07 19:57:07 ~6 min tests/nim 📄log
✔️ f3b655e #1 2024-08-07 20:00:38 ~10 min macos/aarch64 🍎dmg
✔️ f3b655e #1 2024-08-07 20:01:25 ~11 min macos/x86_64 🍎dmg
✔️ f3b655e #1 2024-08-07 20:03:17 ~12 min tests/ui 📄log
✔️ f3b655e #1 2024-08-07 20:05:33 ~15 min linux-nix/x86_64 📦tgz
✔️ f3b655e #1 2024-08-07 20:07:26 ~17 min linux/x86_64 📦tgz
✔️ f3b655e #1 2024-08-07 20:20:43 ~30 min windows/x86_64 💿exe
✔️ 33698ec #2 2024-08-12 19:12:38 ~6 min tests/nim 📄log
✔️ 33698ec #2 2024-08-12 19:13:57 ~7 min macos/aarch64 🍎dmg
✔️ 33698ec #2 2024-08-12 19:15:52 ~9 min macos/x86_64 🍎dmg
✔️ 33698ec #2 2024-08-12 19:19:59 ~13 min tests/ui 📄log
✔️ 33698ec #2 2024-08-12 19:20:21 ~14 min linux-nix/x86_64 📦tgz
✔️ 33698ec #2 2024-08-12 19:21:03 ~15 min linux/x86_64 📦tgz
✔️ 33698ec #2 2024-08-12 19:39:53 ~33 min windows/x86_64 💿exe

@status-im-auto
Copy link
Member

Fixes #16021

The problem was that the view doesn't update in a sync way, so getting the count from the view might be wrong.

This fix makes it so we have to get the count from status-go twice, which is not ideal, but to fix it, we'd need a refactor of the AC view count mechanism
@jrainville
Copy link
Member Author

Tests are stuck, but green. Merging

@jrainville jrainville merged commit 327eca9 into master Aug 13, 2024
7 of 8 checks passed
@jrainville jrainville deleted the fix/red-dot-mark-as-read-ac branch August 13, 2024 16:25
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.

Icon Red Dot doesn't go away when marking an AC notification as read
4 participants