Merged
Conversation
9edd24b to
d6c4437
Compare
ddad362 to
6cbf876
Compare
… functions - Updated `next.config.ts` to enable component caching. - Refactored `app/page.tsx` to use React's Suspense for loading state management. - Introduced new functions in `lib/stripe.ts` for product and price management. - Added `lib/money.ts` for currency conversion utility. - Implemented admin role validation in `lib/auth/require-admin.ts`. - Expanded database schema in `lib/db/schema.ts` to include service status management.
…or handling - Fixed bugs in product and price management functions in `lib/stripe.ts`. - Improved error handling for currency conversion in `lib/money.ts`. - Updated validation logic in `lib/auth/require-admin.ts` to ensure proper access control.
a288051 to
26307ca
Compare
martin0024
requested changes
Apr 19, 2026
[Issue] feat: implement service ui page
Feat/service date attributes
RenaudBernier
approved these changes
Apr 20, 2026
Contributor
RenaudBernier
left a comment
There was a problem hiding this comment.
Everything works, code is clean. Good job
6 tasks
martin0024
approved these changes
Apr 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #10
Closes #9
Overview
Implemented the admin services management tab, including the ability to create, edit, archive, and manage services (private lessons and programs). Services were built under the authenticated shell (app/(authenticated)/dashboard/services/) with server actions, queries, and form components.
Testing
Manual testing: created several services/products, verified properties updated correctly, confirmed API endpoints worked as expected, and observed changes reflected in both Stripe and Supabase dashboards. Unit test passing (jest --ci).
Screenshots / Screencasts
{Screenshots or screen recording of your changes if this issue involves any frontend components or affects any frontend functionality.}
Checklist
Notes