加入群组不会生效(启用类别访问),除非浏览器被硬刷新

Following up on the bug Joining a group doesn't take effect unless the browser is hard-refreshed - it seems there are a couple of important category lists that don’t get updated when a user joins a group that enables access to a category.

In the below example, the sidebar and category list on the topic editor didn’t contain the “Politics” category despite the user joining a group that enabled access to this category. A browser refresh was required to see the updated list of categories.

Before hard refresh:

After hard refresh:

1 个赞

You have access to that category (you could type it in your browser and go there), but it’s not reflected in your browser because that list of categories was loaded before you had access to the group. You just have to hard-reload when you join a group.

Having to hard-reload the forum is problematic for two reasons:

  • UX - Users don’t know they’re required to hard reload. They join a group, expecting the change to category access to happen, and it doesn’t
  • Non-technical users, especially on mobile, might not even know how to reload the page

A while ago, @tgxworld partially fixed the category refresh issues around joining groups. Perhaps similar could be done here?

5 个赞