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

feat(watch): add a new page to list watch resources fetched from a Notion database #9

Merged
merged 2 commits into from
Jun 28, 2024

Conversation

gdarchen
Copy link
Owner

🎯 Goal

In this PR, I added a new page to list technology watch resources I consult.

I fetch them server-side in an infinite list from a Notion database.

🧠 Approach

I had to refactor the react-scroll links to use native Next links since I now handle several pages.

The Notion pages are fetched server-side by pages of 100 (max page size of the Notion API).

The Notion secrets are hosted on Vercel directly and in .env.local for development.

I also improved the Prettier configuration by making sure it is run in a pre-commit hook.

@gdarchen gdarchen added the enhancement New feature or request label Jun 28, 2024
@gdarchen gdarchen self-assigned this Jun 28, 2024
Copy link

vercel bot commented Jun 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
gautier 🛑 Canceled (Inspect) Jun 28, 2024 10:23am

@gdarchen gdarchen merged commit 73fa5e3 into main Jun 28, 2024
3 of 4 checks passed
@gdarchen gdarchen deleted the feat/tech-watch-from-notion-db branch June 28, 2024 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant