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

🎉 Data insights index page #3024

Merged
merged 17 commits into from
Dec 20, 2023
Merged

Conversation

ikesau
Copy link
Member

@ikesau ikesau commented Dec 14, 2023

data-insights-feed

A feed page with some sense of pagination in the mock site router

Will implement the actual pagination tomorrow

@ikesau ikesau requested review from sophiamersmann and removed request for sophiamersmann December 14, 2023 23:59
@ikesau ikesau force-pushed the data-insights-feed branch from 413fb62 to 3175217 Compare December 15, 2023 17:20
Base automatically changed from data-insights-fe to data-insights-feature-branch December 18, 2023 21:54
@ikesau ikesau force-pushed the data-insights-feed branch from 02dbe5e to e1ebc11 Compare December 18, 2023 21:55
@@ -1383,6 +1383,8 @@ export interface OwidGdocDataInsightContent {
type: OwidGdocType.DataInsight
}

export const DATA_INSIGHTS_INDEX_PAGE_SIZE = 2
Copy link
Member Author

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

@ikesau ikesau marked this pull request as ready for review December 18, 2023 22:41
Copy link
Member

@sophiamersmann sophiamersmann left a 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 :)

@ikesau ikesau merged commit 98a8656 into data-insights-feature-branch Dec 20, 2023
12 checks passed
@ikesau ikesau deleted the data-insights-feed branch December 20, 2023 17:20
@ikesau ikesau mentioned this pull request Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants