Skip to content

GitLab - Hide bot messages (read the description!) by denilsonsa

Details

Authordenilsonsa

LicensePublic domain

Categorygitlab

Created

Updated

Size933 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

This User-CSS can hide the message from such bots. This style needs to be tweaked to your own needs, manually adding the bot usernames.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           GitLab - Hide bot messages (read the description!)
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    Some organizations that use GitLab have some bots configured, and those bots can be quite noisy in merge requests. This User-CSS can hide the message from such bots. This style needs to be tweaked to your own needs, manually adding the bot usernames.
@author         Denilson Sa
==/UserStyle== */

/* Change this URL to fit your organization. */
@-moz-document domain("gitlab.com") {
    /* Hiding bot entries from Merge Requests */
    /* Change the following line to match the bots/users you want to ignore: */
    li.timeline-entry.note:not(:hover):has(a[href="/example_bot"]) {
        opacity: 0.125;
        height: 1.5em;  /* Which is the same as line-height */
        height: 1lh;
        overflow: hidden;
        padding-top: 0;
    }
}

Reviews

No reviews yet.