aeharding / aeharding/voyager

Switching between accounts doesn't return user to the current post

未關閉
#2,036 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
TypeScript
星號
1.8k
分支
174
PR 合併指標
PR 指標待擷取

描述

**Describe the bug**
Switching between accounts (accounts from different instances) returns you to your home page instead of reloading the current page with new credentials.

However, if switching between accounts where both accounts are from the same instance, then the current page reloads just fine as I would expect.

Why it matters? I browse using a voting account and if I feel the need to comment I'll switch over to another account for making a comment. It can be a pain when I lose my place and have to find the post again.

**To Reproduce**
Steps to reproduce the behavior:

1. Have 2+ accounts logged in with Voyager where at least one account does not share an instance with the others.
2. Go to any post where you can see the comments.
3. Hold down on the user icon button at the bottom of the UI to switch accounts
4. Select a different user account that does not share the same instance as the current account.
5. The page will reload but you will end up on your home page instead of the current post with comments.

**Expected behavior**
Switching accounts should attempt to act the same as when switching between accounts that share an instance (there will be issues if the account's instance being switched to is defederated from the instance where the post is made). The page should reload/return to the same post as long as the user is able to view it normally.

**Smartphone (please complete the following information):**

- Device: Pixel 7 Pro
- OS: Android 15
- Voyager Version: 2.35.0

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。