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

Badge number doesn't update when logging in with new account #461

Open
1 of 2 tasks
krugerk opened this issue Jul 8, 2024 · 4 comments
Open
1 of 2 tasks

Badge number doesn't update when logging in with new account #461

krugerk opened this issue Jul 8, 2024 · 4 comments
Labels
ADO Questions about what to Actually Do (or “much ado about ∅”) BUG Opposite of feature UVI Will count as a User-Visible Improvement ZzZ Snoozed but not closed

Comments

@krugerk
Copy link
Contributor

krugerk commented Jul 8, 2024

Desiderata

Replicata

  1. Log in with an account that will have beemergencies soon (UserA)
  2. Log out
  3. Log in with some other account (UserB)
  4. Note the badge shows 0 to reflect the 0 beemergencies of UserB
  5. Wait for a zeno reminder (from UserA)
  6. Note the badge number now shows the UserA's number of beemergencies
  7. Open the app. App fetches goals and updates the badge (again setting it to UserB's 0 beemergencies)

Expectata

That it show the number of beemergencies for UserB and only for UserB.

Resultata

It shows the number of beemergencies for UserA when Zenos are sent. (And then back to those for UserB when one opens the app.)

Circumventata

Open the app.

Nota Nebulosa

Cognata

Verbata: accuracy of beemergency count,

@krugerk krugerk added the BUG Opposite of feature label Jul 8, 2024
@dreeves dreeves changed the title Badge number shown for not currently logged in account Badge number doesn't update when logging in with new account Jul 8, 2024
@dreeves
Copy link
Member

dreeves commented Jul 8, 2024

This strikes me as too corner-casey to care. It has a fine workaround and no one logs in with different accounts on the same device anyway. But if there's an easy fix, or it's good hygiene to clean things up here, sure.

@dreeves dreeves added ADO Questions about what to Actually Do (or “much ado about ∅”) UVI Will count as a User-Visible Improvement labels Jul 8, 2024
@DukeCephalopod
Copy link

@krugerk as written, expectata and resultata are not actually in conflict: the badge showing stale data is not (necessarily) indicative of any remote notifications being received for the wrong account — reword?

@krugerk
Copy link
Contributor Author

krugerk commented Jul 9, 2024

The badge not being updated upon signing out was also an issue and was fixed with #149.
With this issue, even after logging (userA) and after logging in (userB), the badge is being updated to reflect the beemergencies of userA. I am not sure at which point this stops but it seems to carry on for a day or two.

@dreeves dreeves added the ZzZ Snoozed but not closed label Jul 9, 2024
@dreeves
Copy link
Member

dreeves commented Jul 9, 2024

expectata and resultata are not actually in conflict

I fixed that just now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ADO Questions about what to Actually Do (or “much ado about ∅”) BUG Opposite of feature UVI Will count as a User-Visible Improvement ZzZ Snoozed but not closed
Projects
None yet
Development

No branches or pull requests

3 participants