Skip to content

Improve UX of dim-bots by disabling the feature on click - #6374

Merged
fregante merged 4 commits into
mainfrom
dim-bots-better
Feb 23, 2023
Merged

fregante merged 4 commits into
mainfrom
dim-bots-better

Conversation

@fregante

@fregante fregante commented Feb 22, 2023 •

Copy link
Copy Markdown
Member

Probably the next improvements to this feature is to make it CSS-only via :has() to avoid the delay after load

Test URLs

PRs

ko

Commits (dim-bots and mark-merge-commits-in-list)

The latter now also has a fade and it matches the opacity

Before After
Screen.Recording.2.mov
Screen.Recording.3.mov

@fregante
fregante marked this pull request as ready for review February 22, 2023 11:30
import delegate from 'delegate-it';

import features from '../feature-manager';
import preserveScroll from '../helpers/preserve-scroll';

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.

I love this little util

@fregante fregante mentioned this pull request Feb 22, 2023
3 tasks
@fregante
fregante merged commit 484f1cd into main Feb 23, 2023
@fregante
fregante deleted the dim-bots-better branch February 23, 2023 09:44
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.

Disable dim-bots entirely (for the current load) after interacting with a PR

1 participant