Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues, Pull Request: Filter unread #2492

Closed
muescha opened this issue Oct 16, 2019 · 8 comments
Closed

Issues, Pull Request: Filter unread #2492

muescha opened this issue Oct 16, 2019 · 8 comments

Comments

@muescha
Copy link
Contributor

muescha commented Oct 16, 2019

where:

what i see:

  • i can see rows marked as:
    • unread with a blue line and (css class read)
    • read without blue line (css class unread)
      Bildschirmfoto 2019-10-17 um 01 13 24

what i expect:

  • an button/setting to hide the read rows to only see the unread

why:

  • i like to see all the new comments and new discussions in the repo

known issues:

  • i know this can result only in zero/one or some lines per page when too much is hidden. but this ok.

search filter:

  • i don't find a search filter how to filter only the unread messages - that would be the best solution ;)
@sindresorhus
Copy link
Member

Is there a GitHub search filter for unread status? I couldn't find it: https://help.github.com/en/articles/searching-issues-and-pull-requests

@muescha
Copy link
Contributor Author

muescha commented Oct 17, 2019

I also can't find it there. I tried brute force for is:read/is:unread And with status:/type:/... But no luck :(

@sindresorhus
Copy link
Member

Then you’ll have to send a feature request to GitHub: support@github.com We cannot do this until the search syntax is supported natively.

@muescha
Copy link
Contributor Author

muescha commented Oct 17, 2019

still requested many times :/

But we can filter the result rows by:

  • search result row divs for class: 'read'
  • set this divs visibility to hidden

@fregante
Copy link
Member

“Unread” threads are just notifications. Open the notifications page, by repo.

@muescha
Copy link
Contributor Author

muescha commented Apr 17, 2020

i can use it in notifications like: https://github.com/notifications/beta?after=Y3Vyc29yOjUw&query=repo%3Agatsbyjs%2Fgatsby+is%3Aunread+is%3Apr+is%3Aclosed

but there is not the function "open selected"

@muescha
Copy link
Contributor Author

muescha commented Apr 17, 2020

i can hide the unread rows with calling this line always in console:

document.querySelectorAll(".js-navigation-container:first-child div.Box-row:not(.Box-row--unread)").forEach(el => el.remove());

but this is time consuming, is there any way to add my own scripts into the "Refined Github" ecosystem to have some of the helper functions (api, libs, utils) available?

the idea would be to have my own filter setup in the search box, is:unread -> this filter is also available when i click on the pagination. then read it and apply it if this filter is set. maybe some helper functions from refined github help me with this task, rather then inventing it again

@TheGeniusSavant
Copy link

TheGeniusSavant commented Jan 8, 2022

EDITED for clarity.

I, also, would like to see a sort option, something to the effect of...
lastUpdatedBy:USERNAME
...or...
lastCommenter:USERNAME
...that would accept a '!@me' USERNAME, perhaps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants