Giter Club home page Giter Club logo

Comments (10)

rnystrom avatar rnystrom commented on July 18, 2024 1

Ya, I've done some digging here and am almost positive its a GH issue. The Link header isn't consistent whatsoever.

from githawk.

rnystrom avatar rnystrom commented on July 18, 2024

Hmm, will investigate. Def shouldn't increase pages when there is nothing, tho sometimes you can keep loading stuff and its all under "Read" (b/c its filtered when you're on Unread).

I might need to tweak the design to make this more obvious. Maybe even an alert after 1-2 pages that's like "New stuff is under Read" or w/e.

Or maybe I put a count under read/unread and you can also see that increment? Dunno.

from githawk.

Sherlouk avatar Sherlouk commented on July 18, 2024

Just checked this and on both unread and read, the number is just constantly incrementing!

Also on the unread tab, if there are no new notifications then you have to scroll down a tiny bit to see the pagination button.

IMO: The load page button should only show if it's applicable to the content you're viewing - if there isn't 2 pages of unread notifications then don't show it (but then give me the option to when I toggle over to read ones)

from githawk.

rnystrom avatar rnystrom commented on July 18, 2024

Tracked down & fixed

from githawk.

BasThomas avatar BasThomas commented on July 18, 2024

This seems to have resurfaced?

from githawk.

rnystrom avatar rnystrom commented on July 18, 2024

@BasThomas are you sure it's just not loading stuff that is unread?

from githawk.

BasThomas avatar BasThomas commented on July 18, 2024

Nope, and disappeares after 3. Really strange.

from githawk.

BasThomas avatar BasThomas commented on July 18, 2024

Looking in to this it seems like it now only shows the load next (2), then disappears.

poing the link first gives:

"<https://api.github.com/notifications?access_token=xxx&all=true&page=2&participating=false&per_page=100>; rel=\"next\", <https://api.github.com/notifications?access_token=xxx&all=true&page=2&participating=false&per_page=100>; rel=\"last\""

Then after tapping load page 2:

"<https://api.github.com/notifications?access_token=xxx&all=true&page=1&participating=false&per_page=100>; rel=\"first\", <https://api.github.com/notifications?access_token=xxx&all=true&page=1&participating=false&per_page=100>; rel=\"prev\""

I almost think this is a GitHub API issue?

from githawk.

BasThomas avatar BasThomas commented on July 18, 2024

Haven't being seeing this lately, could it be that this has been fixed?

from githawk.

Sherlouk avatar Sherlouk commented on July 18, 2024

I think by breaking up the requests this no longer happens!

from githawk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.