Skip to content

Conversation

PhiRho
Copy link
Collaborator

@PhiRho PhiRho commented Jun 5, 2025

Adds a couple of "convenience" routes for product management allowing us to dynamically set which pricing table is active. This is not something which will necessarily be used in a customer facing UI, but it allows us to easily have different sandboxes for different deployments.

PhiRho added 2 commits June 5, 2025 16:02
- Introduced a new `pricing_tables` module with endpoints for creating, retrieving, and deleting pricing tables, accessible based on user roles.
- Updated the main application to include the new pricing tables router.
- Added corresponding schemas for pricing table creation and response.
- Implemented tests to validate the functionality and access control for pricing table operations.
- Added functionality to manage pricing tables, including creating, updating, and deleting pricing table entries.
- Integrated pricing table data fetching using React Query for improved state management and error handling.
- Updated the admin product management page to include a dialog for managing pricing tables, allowing users to input and display relevant pricing table information.
- Enhanced error handling for missing Stripe configuration and pricing table loading failures.
@PhiRho PhiRho merged commit 945ea50 into dev Jun 6, 2025
1 check passed
@PhiRho PhiRho deleted the dynamic-pricing branch June 10, 2025 11:14
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.

1 participant