Default tags appear in sidebar if user preference is empty

When I try to empty the tag list in the sidebar, “official” comes back.

7개의 좋아요

Admins can configure a set of default categories and tags for the sidebar. On meta, we’ve currently configured it such that official is the only default tag.

When the user preference is empty, we populate it with the default tags, but I can see how this is unexpected if you’re emptying it intentionally.

We do plan to make some changes to the logic for how empty preferences are handled.

This is the spec we currently have in mind:

We want to update how we handle empty sections and empty defaults for categories and tags in the sidebar so that we’re properly nudging people to configure things, but attempting not to annoy people or sites who prefer not to use them.

Our approach is to:

  1. Nudge staff to configure defaults
  2. Treat defaults being present as a signal that these sections should be present for users
  3. Hide the sections for users if no defaults are configured.

Here’s a more expansive description of the logic:

  1. If a site has no tags
    • hide the tags section for everyone
    • hide the user preference for sidebar tags
  2. If a site has no default tags
    • Hide the tags section for users if they have no tags configured; if they configure them via preferences, show section
    • Show a link to “Configure default tags” to admins at the bottom of their tags section (below any tags they’ve configured for themselves, if any)
  3. If a site has no default categories
    • Hide the categories section for users if they have no categories configured; if they configure them via preferences, show section
    • Show a link to “Configure default categories” to admins at the bottom of their categories section (below any tags they’ve configured for themselves, if any)
  4. If a site has tags and defaults, but user has none configured
    • Show a link to “Add tags” in their sidebar
  5. If a site has default categories, but user has none configured
    • Show a link to “Add categories” in their sidebar
6개의 좋아요

그 이유를 설명해 주셔서 감사합니다, Dave! 빠르고 상세한 답변을 주셔서 정말 감사드립니다!!

이 문제에 대해 Contribute > UX 채널에 게시글을 올리려던 참이었습니다.

image

처음 사용할 때는 좋은 방법입니다.

하지만 사용자가 카테고리(또는 태그) 섹션을 명시적으로 비운 경우, 해당 섹션 전체가 완전히 사라지는 것이 좋습니다.

사용자는 분명히 카테고리 및 태그를 설정하는 방법과 위치를 알고 있으며, 의도적으로 비웠는데도 그 유도 메시지가 다시 나타나면, 사용자가 아무것도 설정하지 않기를 원한다는 것을 이미 알고 있음에도 불구하고 계속 보여지는 셈이 됩니다.

6개의 좋아요

I think this a pretty solid rationale and I appreciate it being important to find a balance between “nudging” and “nagging”. My rationale above is to put a bit more power into the hands of the admins to define the UX for members of their community.

I have some concerns that users may not easily find their way back to add these things if the sections are completely hidden since the path they take to get there to remove them (clicking a link in the section) is different from the path to add them back (finding their way to the preferences page directly).

But I expect this is going to be area where things continue to evolve as we learn a bit more about along the way.

6개의 좋아요

@tgxworld recently a few PRs which should complete things per the plan we sketched out above

https://github.com/discourse/discourse/pull/18620

https://github.com/discourse/discourse/pull/18787

2개의 좋아요

This topic was automatically closed after 4 days. New replies are no longer allowed.