Commit Graph

869 Commits

Author SHA1 Message Date
gbuomprisco
9b7f6f18d2 Remove monitoring provider variable defaulted to an empty string as it would fail validation. This variable must be added manually. 2025-02-07 11:33:39 +07:00
gbuomprisco
fd94812401 Bump 2.2.0 version 2025-02-07 11:06:46 +07:00
Giancarlo Buomprisco
6f9cf22fa8 EsLint v9 (#154)
* Upgrade ESLint and related configurations to version 9

- Update ESLint to version 9.19.0
- Migrate ESLint configurations to flat config format
- Remove deprecated ESLint config files
- Update package dependencies and configurations
- Simplify ESLint setup across packages
- Remove unnecessary ESLint config blocks from package.json files
- Improved CI caching with Turborepo tasks
- Removed duplicate styles
2025-02-07 11:38:29 +08:00
Giancarlo Buomprisco
e2f45cae49 Enhance DataTable component pagination and sorting UI (#152)
- Adjust pagination layout and styling for better readability
- Add support for optional sorting change event handler
- Improve sorting state management with flexible updater function
- Update text color and spacing in pagination component
2025-02-06 11:09:08 +08:00
Giancarlo Buomprisco
97e4bc9bad Refactor sidebar navigation menu item rendering and styling (#150)
- Improve sidebar menu item layout and responsiveness
- Extract and optimize classNames for link and span elements
- Remove conditional rendering of `renderAction`
- Enhance dynamic styling for collapsed and expanded sidebar states
2025-02-06 11:00:00 +08:00
Giancarlo Buomprisco
08d5b16123 Add optional sorting state to DataTable component (#148)
- Introduce `sorting` prop to allow initial sorting configuration
- Update DataTable to use provided initial sorting state
- Maintain default empty sorting state when no initial sorting is specified
2025-02-05 23:18:12 +08:00
Giancarlo Buomprisco
4a47df81db Registry API Refactoring (#144)
* Refactor core to use a flexible registry pattern

- Introduce a new registry mechanism for mailer providers
- Extract mailer provider enum to a separate file
- Implement dynamic mailer loading using a registry
- Update package dependencies and exports
- Improve modularity and extensibility of mailer implementation

* Refactor monitoring and billing services to use a flexible registry pattern

- Introduce a shared registry mechanism for dynamic service loading
- Replace static switch-based implementations with a registry-based approach
- Update instrumentation, CMS, and monitoring services to use the new registry
- Improve modularity and extensibility of service implementations
- Add Zod-based type-safe provider validation

* Simplify async registration in monitoring and billing services

- Remove unnecessary async wrappers for no-op registrations
- Update type definitions to support both async and sync registration functions
- Standardize registration approach for Paddle and Sentry providers

* Remove Tailwind package from packages where it is not being needed

* Remove Tailwind config references from pnpm-lock.yaml

* Update instrumentation registry to support dynamic monitoring providers

- Modify type definition to use NonNullable MonitoringProvider
- Import MonitoringProvider type from get-monitoring-provider
- Enhance type safety for instrumentation registration
2025-02-05 18:38:43 +08:00
Giancarlo Buomprisco
3140f0cf21 Improve PageHeader responsiveness for sidebar trigger and description (#146) 2025-02-05 18:03:20 +08:00
Giancarlo Buomprisco
6127fe957c Update TeamAccountsModal to include selected account prop and improve account switching (#142) 2025-02-05 14:46:50 +08:00
Giancarlo Buomprisco
3c1abbc453 Bump dependencies to latest versions (#139)
Update various dependencies:
- Sentry to v8.54.0
- Tailwind CSS to v4.0.3
- TypeScript ESLint to v8.23.0
- Node types to v22.13.1
- Various OpenTelemetry and other minor dependency updates
2025-02-04 10:21:14 +08:00
Giancarlo Buomprisco
fcdae7aa65 Improve reusability of the webhook handler to allow converting the route to a Pages Router API Route. (#110) 2025-02-04 09:46:52 +08:00
Giancarlo Buomprisco
2a157e8baa 134 improvement add a button that allows closing the sidebar (#135)
* Enhance sidebar navigation and layout configuration

- Added support for configurable sidebar collapsed style
- Updated layout components to use new sidebar configuration
- Added environment variable for sidebar trigger display
- Simplified page header and navigation components
- Improved sidebar responsiveness and user experience

* Refactor admin account page layout and action buttons

- Moved action buttons from sidebar to PageHeader for both personal and team account pages
- Updated button variants and styling for better visual hierarchy
- Improved spacing and layout of account page components
- Added border to PageHeader for better visual separation

* Update version updater dialog styling

- Replaced `space-x-4` with `gap-x-2` for better spacing
- Wrapped translation text in a `span` for improved layout
- Maintained consistent icon and text alignment in dialog title

* Refactor sidebar state management and configuration

- Simplified sidebar context and removed minimized state
- Updated layout components to use new sidebar open/closed state
- Modified sidebar navigation to handle collapsed state dynamically
- Added environment variable for sidebar trigger and collapsed style
- Improved sidebar responsiveness and rendering logic

* Remove sidebar configuration and environment variables

- Simplified sidebar context by removing `minimized` state in components
- Updated account selector components to use simplified sidebar state
- Removed unused helper functions in sidebar implementation
2025-02-04 09:45:16 +08:00
Giancarlo Buomprisco
b319ceb5bb Add hidden product option to billing components (#136)
- Introduced `hidden` field in product schema to control product visibility
- Updated PlanPicker and PricingTable to filter out hidden products
- Ensures hidden products are not displayed to users
2025-02-04 07:27:43 +08:00
Giancarlo Buomprisco
3553422e42 Add support for custom pricing plans in PricingItem component (#138)
- Introduced `custom` flag to handle custom pricing plan display
- Conditionally render custom plan label when `isCustom` is true
- Updated TypeScript type for plan to include optional `custom` property
2025-02-04 07:27:27 +08:00
Giancarlo Buomprisco
77131d886c Refactor sidebar navigation to improve render action placement (#133)
- Moved `renderAction` from conditional rendering to a dedicated `SidebarMenuAction` component
- Simplified sidebar menu item rendering logic
- Ensured consistent placement of additional actions within sidebar menu items
2025-02-03 13:28:20 +08:00
Giancarlo Buomprisco
f46286b503 Refactor billing components to improve price display and modularity (#132)
* Refactor billing components to improve price display and modularity
- Created new `PlanCostDisplay` component to centralize price formatting logic
- Simplified price rendering in plan picker and pricing table
- Removed redundant price calculation code
- Improved handling of metered and tiered pricing display
2025-02-03 13:06:40 +08:00
Giancarlo Buomprisco
001903ddac Refactor password sign-up flow and improve form usability (#131)
- Extracted sign-up logic into a new `usePasswordSignUpFlow` hook
- Simplified `EmailPasswordSignUpContainer` component
- Added `autoComplete="new-password"` to password input for better UX
- Converted `PasswordSignUpForm` props to a TypeScript interface
2025-02-03 12:34:26 +08:00
Giancarlo Buomprisco
5622572f36 Bump dependencies to latest versions (#124)
Update various dependencies across the project:
- Turbo to v2.4.0
- Playwright to v1.50.1
- Tailwind CSS to v4.0.2
- Sonner to v1.7.4
- React Query to v5.66.0
- Stripe.js to v5.6.0
- Sentry to v8.53.0
- Node types to v22.13.0
- Tailwind Merge to v3.0.1
- Prettier plugin sort imports to v5.2.2
2025-02-02 11:33:25 +08:00
Giancarlo Buomprisco
bc38748acd Enable TOTP Multi-Factor Authentication in local config and improve MFA UI (#121) 2025-01-29 15:21:02 +08:00
Giancarlo Buomprisco
31a35319fd 1. Fixed docs navigation (#119)
2. Removed rule "@typescript-eslint/ prefer-nullish-coalescing", it's a source of bugs
2025-01-28 18:19:19 +08:00
Giancarlo Buomprisco
1ef522d373 Update React types to the latest versions across all the packages (#116) 2025-01-28 16:08:34 +08:00
Giancarlo Buomprisco
4e91f267e0 Tailwind CSS 4 Migration (#100)
* Updated to TailwindCSS v4
* Moved CSS module to its own CSS file because of lightingcss strict validation
* Respect next parameter in middleware
* Updated all packages. 
* Split CSSs for better organization.
* Redesigned theme and auth pages
* Improved pill and header design
* Formatted files using Prettier
* Better footer layout
* Better auth layout
* Bump version of the repository to 2.0.0
2025-01-28 14:19:52 +08:00
gbuomprisco
d799f54ede Update dependencies. Fixed linting issues discovered after update. 2025-01-28 10:41:05 +07:00
Giancarlo Buomprisco
01eeb8a6af Added AI rules for Cursor and Windsurf (#105) 2025-01-21 16:50:57 +08:00
gbuomprisco
f7eb9bedfa Updated license check 2025-01-21 11:44:37 +07:00
gbuomprisco
95bc455372 Updated packages 2025-01-17 14:24:53 +07:00
gbuomprisco
7d86fed7a4 Export "toast" from Sonner's component to avoid needing to install Sonner directly 2025-01-17 14:24:00 +07:00
Giancarlo Buomprisco
41193e5697 Handle case for metered line items in the Plan Picker by displaying t… (#107)
* Handle case for metered line items in the Plan Picker by displaying the cost of the lower tier as "Starting at {price}/{unit}"
2025-01-16 12:24:27 +08:00
Giancarlo Buomprisco
f3ff0e7bb3 Updated Dependencies (#108) 2025-01-15 15:36:48 +08:00
gbuomprisco
7e1dee8d16 Include fonts.ts in Tailwind configuration 2025-01-14 17:37:57 +07:00
gbuomprisco
f7a5202c51 Improve errors and description of the Zod object responsible for parsing the Supabase keys. 2025-01-13 02:33:58 +07:00
gbuomprisco
ec6f39579d Cleaned up READMEs 2025-01-13 02:33:05 +07:00
gbuomprisco
948a062279 Updated all packages 2025-01-11 17:50:02 +08:00
gbuomprisco
b3141d774d The variable EMAIL_SENDER should always be set in the env generator 2025-01-11 17:45:00 +08:00
Giancarlo Buomprisco
8f3c1b2aeb Updated Dependencies (#104) 2025-01-07 20:34:40 +08:00
gbuomprisco
10898231fe Fix generator to reference the correct variable 2025-01-07 13:38:17 +08:00
Giancarlo Buomprisco
5a4bbb1716 Refactor Root layout theme and fonts. Encapsulate functions into separate files. Fix default theme handling when cookie is not set by fall-backing to the selected theme mode. (#103) 2025-01-04 16:07:12 +08:00
Giancarlo Buomprisco
b8e1bf3c18 Improved TeamNameFormSchema to be case insensitive (#102) 2025-01-03 11:49:20 +08:00
Giancarlo Buomprisco
9bdab95909 Do not use "line_items" expand when getting the subscription object (#101) 2025-01-03 11:47:39 +08:00
gbuomprisco
6ccc879076 Delete Team: Fix name of the form field 2025-01-03 11:44:57 +08:00
gbuomprisco
3970076899 Updated Dependencies (Next.js 15.1.3) 2024-12-30 10:55:04 +08:00
Giancarlo Buomprisco
cec47cef78 React 19 refactoring: Removed forwardRef references in all UI Components (#99)
* React 19 refactoring: Removed forwardRef references in all UI Components
* Added Progress UI component from Shadcn
* Updated dependencies
* Formatted files
* Fix Mobile Dropdowns
2024-12-23 15:15:00 +08:00
gbuomprisco
970f901d05 Updated Dependencies (Next.js 15.1.2) 2024-12-23 08:35:34 +08:00
gbuomprisco
b5a8a0a4d3 Fix LS close overlay event 2024-12-23 08:31:40 +08:00
gbuomprisco
aa06f57454 Fix license checker 2024-12-19 10:33:05 +08:00
Giancarlo Buomprisco
491040f683 Updated dependencies (next.js 15.1.1) (#98) 2024-12-18 15:09:45 +08:00
Giancarlo Buomprisco
923b6954d4 Updated dependencies (#97) 2024-12-17 13:23:41 +08:00
gbuomprisco
95f9be62d5 Add "flex-1" so that the Page component goes full width 2024-12-15 17:32:30 +08:00
Giancarlo Buomprisco
af6217b410 Layouts refactoring (#96)
* Refactor layouts so that we can use the hook useSidebar from within the content of the layouts
* Updated packages
2024-12-15 17:25:58 +08:00
Giancarlo Buomprisco
4efe5f3f7b Updated all dependencies (#95)
* Updated all dependencies
* Increase workflow timeout
* Fix Supabase JS to non buggy version
2024-12-13 14:56:07 +08:00