-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
🎉 Data insights index page #3024
Conversation
413fb62
to
3175217
Compare
ea6910b
to
2c267e6
Compare
✨ default DI page in mockSiteRouter 🎉 data insights index page
02dbe5e
to
e1ebc11
Compare
@@ -1383,6 +1383,8 @@ export interface OwidGdocDataInsightContent { | |||
type: OwidGdocType.DataInsight | |||
} | |||
|
|||
export const DATA_INSIGHTS_INDEX_PAGE_SIZE = 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be 20 but I've made it artificially low while we're testing pagination
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Some changes are a little over my head, but I tested it, and everything works well!
Btw, it's nice how easy to read the code is although I'm not very familiar with this part of the codebase. I really like how you break things apart :)
A feed page with some sense of pagination in the mock site router
Will implement the actual pagination tomorrow