Skip to content

Add stop-redirecting-in-notification-bar feature - #3036

Merged
fregante merged 14 commits into
refined-github:masterfrom
FloEdelmann:notifications-bar-stay-on-page
May 2, 2020
Merged

fregante merged 14 commits into
refined-github:masterfrom
FloEdelmann:notifications-bar-stay-on-page

Conversation

@FloEdelmann

@FloEdelmann FloEdelmann commented Apr 26, 2020 •

Copy link
Copy Markdown
Member

Closes #2952. I implemented version 2 from the issue since it was easier and more people will discover it a mix of version 1 and 2.

refined-github-notifications-bar

Test this on this page if you came here from a notification 😉
Otherwise, go to any other page via your notifications list (done notifications work fine, too).

@fregante

fregante commented Apr 26, 2020 •

Copy link
Copy Markdown
Member

I don’t think this should be a default. If you’re “Done” with it then why do you need to stay on the page?

As you suggested in the issue, it’s best to do this when alt-clicking it.

That can be implemented with a single delegate call inside init

@FloEdelmann FloEdelmann changed the title Add stop-redirecting-in-notifications-bar feature Add stop-redirecting-in-notification-bar feature Apr 30, 2020
Comment thread source/libs/page-detect.ts Resolved
@fregante
fregante merged commit e657252 into refined-github:master May 2, 2020
@fregante

fregante commented May 2, 2020

Copy link
Copy Markdown
Member

Thanks Flo!

@FloEdelmann
FloEdelmann deleted the notifications-bar-stay-on-page branch May 2, 2020 16:56
@FloEdelmann

Copy link
Copy Markdown
Member Author

@fregante Thanks for reviewing and merging 😊

@tonglil

tonglil commented Jun 4, 2020

Copy link
Copy Markdown
Contributor

My reason for wanting it to stop redirecting is that I often open many tabs at once, either through
image
or ctrl-clicking the ones I need to check "as a batch".

The redirection is weird because I don't know how long to wait before it has marked it as done so it is safe to close the tab, but the redirect is slow.

Ideal workflow: press "done" + ctrl+w to move on to the next tab
Not ideal: press "done", wait for redirect to start, ctrl+w -> this just feels slow and jarring (two browser paints in quick succession)

@karlhorky

karlhorky commented Jun 4, 2020 •

Copy link
Copy Markdown
Contributor

Thanks for this feature!

I would like to voice my support for having an option to turn this on without holding alt. I do agree with @fregante that it should be an option, not turned on by default.

@fregante

fregante commented Jun 4, 2020

Copy link
Copy Markdown
Member
  1. This extension only tries to improve the experience, but this seems just different than the expected/standard behavior.
  2. We don't have "off by default" features

Let's discuss on #3173

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.

Stay on the page after clicking "Done" in the Notifications bar

4 participants