Refined-github: Link to you subscribed discussion in the current repo

Created on 1 Feb 2020  路  2Comments  路  Source: sindresorhus/refined-github

GitHub lets you see which discussions you're subscribed to: https://github.com/notifications/subscriptions

It also lets you filter them by repo: https://github.com/notifications/subscriptions?repository=MDEwOlJlcG9zaXRvcnk1MTc2OTY4OQ%3D%3D

Perhaps we can find a place for a link to that view from the repo itself, in the discussion list: https://github.com/sindresorhus/refined-github/issues

I'm guessing we can add a link in this dropdown, even though it would link to a completely different view:

Filters dropdown


Initially suggested by @aspiers in https://github.com/sindresorhus/refined-github/issues/1604#issuecomment-472001432

Useful?

enhancement good first issue help wanted

Most helpful comment

You might have seen that the link is obfuscated and it doesn't say it's for sindresorhus/refined-github:

https://github.com/notifications/subscriptions?repository=MDEwOlJlcG9zaXRvcnk1MTc2OTY4OQ%3D%3D

Thankfully this is just a base64 of the repo ID:

searchParams.set('repository', btoa(`010:Repository${select('[name="repository_id"]').value}`))

All 2 comments

You might have seen that the link is obfuscated and it doesn't say it's for sindresorhus/refined-github:

https://github.com/notifications/subscriptions?repository=MDEwOlJlcG9zaXRvcnk1MTc2OTY4OQ%3D%3D

Thankfully this is just a base64 of the repo ID:

searchParams.set('repository', btoa(`010:Repository${select('[name="repository_id"]').value}`))

That would be great! And well done on figuring out the base64-ness. I can't quite believe that GitHub didn't implement this properly per repo, as it's such an obvious flaw in the design. It's pretty frustrating that they went to all the effort of interviewing people about the UX design prior to releasing the feature, and yet ignored or disagreed with my feedback that this would be needed.

Was this page helpful?
0 / 5 - 0 ratings