[Suggestion] Blocking certain words in comments, not just users in the Comments Plugin

So, there’s already a feature to block specific tags so comments with those tags won’t show up anymore. But what if you could also block comments based on keywords (even if they’re sent from different tags)? Also, there should be a separate “unblock all” command for blocked users and words.

Please ping the Dev so they know about this.

@perchance

    • BluePower@mastodon.socialOP
      link
      fedilink
      arrow-up
      1
      ·
      8 months ago

      @Alllo That one is for “banned words” if you mean that. What I mean by blocking words is for each user instead of pre-setup in the list (works just like blocking users, but for keywords.)

      • VioneT@lemmy.worldM
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 months ago

        Yeah, that would need to have a specific ID/account for that to work since the IDs are ephemeral i.e. can change without notice, they might just avoid the block for words later on.

        Also the bannedWords list does hide all messages containing the words on the comments.

        • BluePower@mastodon.socialOP
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          8 months ago

          @VioneT Yeah, but that also hinders someone from sending comments with any of the specified banned words.

          For context, bannedWords is an option that could be added to the plugin, and block words (or word blacklists) would be a separate command accessible via the ⚙️ button that allows each user to configure their own unwanted words, and senders could still send comments with those “blocked words” on normal circumstances.

          • VioneT@lemmy.worldM
            link
            fedilink
            English
            arrow-up
            1
            ·
            8 months ago

            I guess a word filter for your view. I’m not as sure how it would affect your conversations since if they messaged with a filtered word, you might not have the correct context to reply to.

            • BluePower@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              8 months ago

              That’s what I’m talking about. I could set my own word filters, and everyone else can set their own word filters as well, and they can be different for each user. Kind of like a combination of bannedWords and the user blocking feature. 🙂

              I’m not as sure how it would affect your conversations since if they messaged with a filtered word, you might not have the correct context to reply to.

              Also, for this, there should be a command to show/hide messages containing the word filter (that marked with a specific flag). It’s like the suggested “unblock all” command for words I previously mentioned in the post but the defined blocked words do not reset. With that, I’ll be able to look up and still see those replies with the word filters.

              • VioneT@lemmy.worldM
                link
                fedilink
                English
                arrow-up
                1
                ·
                edit-2
                8 months ago

                That would be cool. I would also probably suggest to only show the clicked message.

                Not like the show NSFW in the text-to-image-plugin gallery. I would like to only show the picture that I want to see i.e. I clicked on, and not the all NSFW images showing (on side note, this might be a good implementation to the gallery @perchance@lemmy.world)

                In this case, I would like to only show the filtered message that I clicked, and not all of it.