Comments (10)
Ya, I've done some digging here and am almost positive its a GH issue. The Link
header isn't consistent whatsoever.
from githawk.
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.
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.
Tracked down & fixed
from githawk.
This seems to have resurfaced?
from githawk.
@BasThomas are you sure it's just not loading stuff that is unread?
from githawk.
Nope, and disappeares after 3. Really strange.
from githawk.
Looking in to this it seems like it now only shows the load next (2), then disappears.
po
ing 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.
Haven't being seeing this lately, could it be that this has been fixed?
from githawk.
I think by breaking up the requests this no longer happens!
from githawk.
Related Issues (20)
- Unable to connect at first time
- Report
- Rdzsxxd ddded
- Data in incorrect format Error
- Discussion Notifications
- Issue
- BambooSkech HOT 1
- vc HOT 1
- Májová 260 HOT 1
- How to view project board
- Daniel Ferencz
- import SwiftUI
- Czech Republic
- bug
- Cannot send Flow Mod Packet in OpenFlow-ryu HOT 1
- API errors with app HOT 6
- pull
- Weird riot files kernel applications and some weird certifications that I can’t change HOT 1
- Ja oooo
- First_Git HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from githawk.