hicommonwealth / commonwealth

A platform for decentralized communities
https://commonwealth.im
GNU General Public License v3.0
67 stars 41 forks source link

[Bug]: "Your communities" UI doesnt automatically change when you switch accounts #8562

Closed commonwealth-issue-bot[bot] closed 1 month ago

commonwealth-issue-bot[bot] commented 1 month ago

Description

When switching accounts the Your Communities list UI doesn't switch. A hard refresh is needed for the communities under the newly switched account to show up.

Internal Reporter (Growth Team)

Mitchy (@cowballzach)

Communities Affeceted

low impact, users switching between accounts

Initial Conditions

Environment: production Encounter Date/Time: 7/22 5PM ET Additional Context: chrome lastest version. Switching between two profiles tied to two different metamask wallet addresses.

Reproduction Steps

1) Log into your other common profile. 2) Look at the your communities list. 3) Sign into your other Common Profile. The communities from the previous profile will still be showcased. 4) Refresh your screen to get the "Your Communities" UI for the second account.

Expected Behavior

Your Communities list should switch when you sign in with the other account.

Videos / Screenshots

https://www.loom.com/share/94c9c806a9af432f86e8c180fee01f25

Additional Information

low impact, small UI bug

cowballzach commented 1 month ago

https://www.loom.com/share/94c9c806a9af432f86e8c180fee01f25

ForestMars commented 1 month ago

Seems like an easy 1 pointer but pls LMK if not.

Tee'ing but given the P4 tag will let Israel pull this in in whatever order he prefers.

Israellund commented 1 month ago

No longer seeing this bug on local after pulling master. @mzparacha confirmed he no longer sees it as well. Could have been fixed in this PR https://github.com/hicommonwealth/commonwealth/pull/8312