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

Notification clearing in the App do not propagate to the Website #896

Open
ITmaze opened this issue Aug 23, 2024 · 3 comments
Open

Notification clearing in the App do not propagate to the Website #896

ITmaze opened this issue Aug 23, 2024 · 3 comments

Comments

@ITmaze
Copy link

ITmaze commented Aug 23, 2024

Describe the bug
Notifications show up in the App. Once you've seen them, they're cleared. This does not appear to propagate to the website, so you end up seeing the same notifications again.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the Notifications tab on the App.
  2. Read the latest notification.
  3. Login to your instance via its web interface.
  4. See notifications still pending.

Expected behavior
I expect that the notifications on both user interfaces to show the same information.

Versions

  • Pachli: v2.7.1
  • Android: v13
  • SDK level: 33
  • Mastodon: v4.2.11

Affirmation
I have checked other issues for this project (open and closed) and I cannot find one that matches the problem I am reporting.

@nikclayton
Copy link
Contributor

The notifications will still be present on the website (unless you've cleared them in Pachli), but you should see that the notifications you've seen in Pachli are marked as read on the website.

Is that not the case for you?

@ITmaze
Copy link
Author

ITmaze commented Oct 18, 2024 via email

@nikclayton
Copy link
Contributor

nikclayton commented Oct 19, 2024

Just to make sure we're on the same page as to what this all means.

Mastodon notifications are weird.

When you get a notification you can dismiss it (in the web UI I think, not in Pachli). This effectively deletes it, with no way to undelete it (it's not like email where a message can be read, unread, in the bin, or really deleted).

There's also the notification "marker". This is the newest notification you've seen.

When you load notifications in Pachli and scroll up the notification marker is set to reflect the most recent notification you've seen. If you've got the "Highlight unread notifications" option turned on in the web UI you should see this.

However... IIRC the web UI doesn't periodically check to see if the notification marker has changed. So if you open notifications on the web, then open them in Pachli, and then go back to the web page the ones you've seen in Pachli will still appear to be unread (until you reload the page).

So the only thing that's guaranteed to work is to use the Pachli "Delete notifications" option. That will delete all of them.

Does that match the behaviour you're seeing?

If it doesn't, please can you provide step-by-step instructions of what you're doing in the web app and in Pachli, and what happens. Thanks

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

No branches or pull requests

2 participants