Skip to content

Proposal: mute words, not just people #709

Open

Description

@Akiyo974

I'd like to build this, but it adds a small table, so I'd rather check the shape with you first.

The problem. Muting is per person today. When a topic floods the log (a launch, a framework war, an event you'll watch later), the only option is to mute everyone talking about it. Bluesky ("Muted words & tags"), Mastodon (filters) and X (muted words) all let you mute a word instead, and with more people joining, more people will want it.

Proposal (small on purpose):

  • Settings → Safety gets a "Muted words" list next to muted and blocked people: add a word or phrase, remove it. Private, like mutes, and never tells anyone.
  • A commit or reply whose body contains one is left out wherever muted authors already are: CommitBuilder::withoutMutedAuthorsFor() is applied in the Following, Latest and Trending logs, threads, search and suggested commits, so a sibling withoutMutedWordsFor() can sit next to it in the same places.
  • Case-insensitive, whole words (so muting go doesn't hide good), matched with ILIKE/regex in Postgres against the body.
  • Your own commits and commits by people you follow are never hidden (like Bluesky's option), so you can't miss a reply from a friend.
  • A cap like 50 words of 50 characters each, and a rate limit like the other safety actions.
  • Data: a muted_words table (user_id, word, timestamps), deleted with the account and included in the export.

Left out for a first version: expiry ("mute for 24 hours"), "show with a warning" instead of hiding, and notifications. Each is easy to add later if wanted.

Does this fit /dev/null? Happy to adjust the scope (or drop it) before writing any code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions