Skip to content

Show only non "done" notifications #13

Description

@thomasjm

The GitHub UI on github.com/notifications only shows the notifications you haven't pressed "done" on.

Whereas the REST API call for /notifications returns only the unread ones by default. Or, if you pass "all=true", you get all of the notifications, whether "done" or not.

There seems to be no way to match the web UI's behavior using only the REST API.

It may be possible if we use GitHub's GraphQL API.

Could also potentially do a hack where we fetch pages as needed until we accumulate enough non-done notifications to display, but we wouldn't be able to get the total number of pages. -- This wouldn't work because we don't even get a working "done" field.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions