-
Notifications
You must be signed in to change notification settings - Fork 2
Implemented ISR (Incremental Static Regeneration) for website #228
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
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 90e5d0a The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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.
Pull Request Overview
This PR implements ISR (Incremental Static Regeneration) for the website by migrating from getServerSideProps to getStaticProps in blog and pricing pages, introduces dynamic pricing components with a calculator, and includes significant refactoring of the billing system to support per-project pricing and managed instances.
Key changes include:
- Migration to Next.js ISR for improved performance and caching
- Implementation of dynamic pricing calculator with tier recommendations
- Refactoring billing system to support per-project pricing models
Reviewed Changes
Copilot reviewed 150 out of 154 changed files in this pull request and generated 7 comments.
Show a summary per file
File | Description |
---|---|
website/src/pages/pricing.tsx | Migrated from getServerSideProps to getStaticProps with ISR |
website/src/pages/blog/index.tsx | Added ISR with 1-hour revalidation |
website/src/pages/blog/[slug].tsx | Implemented getStaticPaths and ISR for blog posts |
website/src/sections/blog/remote-utils.ts | Added Next.js caching with unstable_cache |
website/src/sections/Pricing.tsx | Complete redesign with new pricing calculator |
platform/dashboard/src/pages/project/new.tsx | Enhanced project creation with managed instance support |
platform/dashboard/src/features/billing/stores/plans.ts | Refactored billing data structure and state management |
Comments suppressed due to low confidence (1)
website/src/components/PricingCalculator.tsx:70
- [nitpick] Hard-coded phone numbers and personal data in sample records could be problematic. Use clearly fake/example data patterns (e.g., 555-0000) to avoid potential issues.
preferred_contact_method: 'email'
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
platform/dashboard/src/features/projects/stores/current-project.ts
Outdated
Show resolved
Hide resolved
…t.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
No description provided.