Skip to content

Add dim-bots feature - #2447

Merged
fregante merged 7 commits into
masterfrom
dim-bots
Oct 29, 2019
Merged

fregante merged 7 commits into
masterfrom
dim-bots

Conversation

@fregante

@fregante fregante commented Sep 19, 2019 •

Copy link
Copy Markdown
Member

@fregante fregante changed the title Dim commits Add dim-bots feature Sep 19, 2019
@fregante
fregante marked this pull request as ready for review September 19, 2019 17:32

@fregante fregante left a comment •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this feature be disabled for repo owners?

If they don't like the noise, they should drop the bots. 😏

.rgh-dim-bot.commit .commit-meta,
.rgh-dim-bot.commit .commit-links-cell summary,
.rgh-dim-bot.commit .commit-links-cell .btn {
transition: 0.1s 0.3s;

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Titles are dimmed and meta info/buttons are hidden. This effect is undone with a slight delay on hover/focus, currently set to 0.3s

Comment thread source/features/dim-bots.css Outdated
}

.rgh-dim-bot.commit:not(.navigation-focus) .commit-title {
opacity: 0.2;

@fregante fregante Sep 19, 2019 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this value too low?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe 0.3 like we did to footer?

@sindresorhus

Copy link
Copy Markdown
Member

Should this feature be disabled for repo owners?

👍

@FloEdelmann

Copy link
Copy Markdown
Member

I don't think this feature should be disabled for repo owners. When I look at a commit list or closed PR list in my own repo, I want to focus on the real changes, just like a visitor (or contributor) does.

The only place where it maybe would make sense to disable would be the open PR list, but also there I'd opt for dimming.

@sindresorhus

Copy link
Copy Markdown
Member

I don't think this feature should be disabled for repo owners. When I look at a commit list or closed PR list in my own repo, I want to focus on the real changes, just like a visitor (or contributor) does.

So don't use spammy bots in the first place?

@FloEdelmann

FloEdelmann commented Oct 15, 2019 •

Copy link
Copy Markdown
Member

When I don't have spammy bots in my own repo, I also don't need the feature to be disabled there 😉

@fregante

fregante commented Oct 16, 2019 •

Copy link
Copy Markdown
Member Author

That’s irrelevant, when there are no bots, the feature doesn’t apply. The argument is whether to show something to the people who enabled something.

For every optional feature we hide, we always keep showing it to the repo owner, because if they’re don’t want to see it, then they should disable it on GitHub entirely. The same concept applies here.

@fregante
fregante merged commit e251122 into master Oct 29, 2019
@fregante
fregante deleted the dim-bots branch October 29, 2019 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Hide/collapse bots in commits

4 participants