Commit Graph
100 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
Giancarlo Buomprisco 97d2cf9f85 Expired links (#94)
1. Handle expired links on signup
2.Reject invitations when user is already a member
3. Make sure not to display errors due to Next.js redirection during team creation
4. Fix documentation sidebar
2024-12-12 19:26:50 +08:00
gbuomprisco ae9c33aea4 Fix Stripe embedded checkout height using inline styles instead of a TW class 2024-12-11 16:03:13 +08:00
gbuomprisco ce63993035 Updated packages (Next.js 15.1.0)
Fixed linting
2024-12-11 12:45:11 +08:00
gbuomprisco be16bf70d5 Formatted some files 2024-12-09 13:27:19 +08:00
gbuomprisco f667f2c7b5 Revert Prettier sort import plugin version 2024-12-09 13:26:13 +08:00
Giancarlo Buomprisco 079a8f857a Some changes ported from the work on the makerkit.dev website related… (#89)
* Some changes ported from the work on the makerkit.dev website related to the marketing sections of the kit, such as documentation
* Added slight background hue to make darker theme better looking
* Support more complex configurations for documentation navigations.
* Do not fetch content from Keystatic when non-needed
* Add cursor pointers in dropdown
* Updated packages
2024-12-09 12:58:17 +08:00
Giancarlo Buomprisco a682b991f3 Allow redirecting to a different URL when updating the password. This will be useful for thr Waitlist plugin. (#91) 2024-12-09 12:56:58 +08:00
Giancarlo Buomprisco 90f25a5ed5 Updated dependencies, most notably React 19 (#90)
* Updated dependencies, most notably React 19
2024-12-06 16:38:49 +08:00
Giancarlo Buomprisco 7fb24f606c Updated dependencies (#88) 2024-12-03 13:56:43 +08:00
Giancarlo Buomprisco fbea66eba9 Added a "Coming Soon" marketing component (#85) 2024-11-29 16:07:26 +08:00
Giancarlo Buomprisco 8f0fc20098 Updated dependencies (#86) 2024-11-29 15:45:40 +08:00
Giancarlo Buomprisco 8e051664b8 Dependencies: Updated packages, run linter autofix (#84) 2024-11-26 15:21:07 +08:00
Giancarlo Buomprisco 5cc936b982 Dependencies Updates (#83)
* Keystatic: Use the correct variable when fetching content from GitHub
* Revert default layout style
2024-11-22 15:55:15 +08:00
gbuomprisco 977c958975 Fix Top Header layout following changes in the Shadcn Sidebar;
Fix useMobile breakpoint to 1024px, to match our Tailwind convention for mobile breakpoints (lg)
2024-11-21 12:31:16 +08:00
gbuomprisco afe1ca43cc Fix NEXT_PUBLIC_ENABLE_TEAM_ACCOUNTS in Zod error description 2024-11-19 11:32:46 +08:00
gbuomprisco 7c126e0716 Prettier: fix Prettier by hoisting it with PNPM. Revert plugins to being strings 2024-11-18 15:16:24 +08:00
gbuomprisco a41547622f Prettier: Remove Trivago type from Prettier config; it's breaking VSCode formatting. 2024-11-18 11:10:10 +08:00
gbuomprisco c1271b8d5e Updated dependencies 2024-11-15 18:06:07 +09:00
gbuomprisco 6bac0141aa Update Team: Use try/catch when displaying toast because the redirect from Next.js Server Action returns an error 2024-11-15 17:57:47 +09:00
gbuomprisco 7dc0977cf8 Updated dependencies 2024-11-12 13:46:54 +09:00
gbuomprisco 3fad846821 Run Prettier's automated formatting over the codebase. 2024-11-08 14:35:30 +08:00
gbuomprisco c5d7464e61 1. Hoist i18n dependencies
2. Updated react-i18next
3. Updated Prettier plugins to use import.meta.resolve, so we don't have issues with hoisting
2024-11-08 14:34:28 +08:00
gbuomprisco a7eb9d6cf6 Updated dependencies 2024-11-08 13:43:59 +08:00
Giancarlo Buomprisco 465655fdd4 Enhanced Sidebar to support sub collapsible sections (#80)
* Enhanced Sidebar to support sub collapsible sections
* Data-Table: support getSortedRowModel
* Add missing renderAction; 
* Fix Sidebar on mobile
* Do not initialize Analytics Provider server side
* Do not bind i18Next until it's initialized
* Avoid infinite redirects in the auth path when Supabase emits a SIGNED_OUT event
* Force admin layout to be dynamic
2024-11-06 23:01:45 +08:00
gbuomprisco 27ef8f7510 1. Rebuild lock fle
2. Fix import
3. Update Stripe API version
2024-11-05 23:03:49 +08:00
gbuomprisco be6ce081db Updated dependencies and updated lock file; force react-i18next on 15.1.0 and react on 19.0.0-rc-45804af1-20241021 2024-11-05 15:15:22 +08:00
gbuomprisco 198f7239ef Updated dependencies 2024-11-05 14:53:05 +08:00
gbuomprisco 6fd9ebd2b9 Updated dependencies 2024-11-02 12:49:22 +08:00
gbuomprisco 6bcca7c470 Use newer pino-pretty version 2024-11-01 20:07:18 +08:00
gbuomprisco 124edb006e Docs: handle errors gracefully when extracting headings from JSX 2024-11-01 15:03:42 +08:00
gbuomprisco 9681d51a08 Create team: Improve error handling when creating team. 2024-11-01 14:46:29 +08:00
gbuomprisco 3b88733d6c Added pino-pretty for prettifying logging 2024-11-01 14:45:02 +08:00
gbuomprisco 2f1be787f7 Updated dependencies 2024-11-01 10:55:46 +08:00
gbuomprisco 1faa5772fd Docs: improved sidebar size and scrolling when has a large number of items 2024-10-30 21:49:48 +08:00
Giancarlo Buomprisco 9615d1a4bb Documentation Updates (#79)
* Docs: Added Shadcn sidebar; added algorithm to automatically infer parents without needing to specify it.
* Extracted Markdoc compilation in a separate file
* Site Navigation: simplify nav by removing the border
* Docs Navigation: added TOC; improved layout on mobile
2024-10-30 20:49:44 +08:00
gbuomprisco 6490102e9f Updated packages 2024-10-30 12:46:55 +08:00
gbuomprisco c386fabbc2 Requirements: check PNPM version is compatible with Makerkit's required version 2024-10-29 15:24:25 +08:00
Giancarlo Buomprisco 3bfc643691 Added requirements script to ensure the current system can run Makerkit. (#78)
1. Check Node.js version is greater than 18.18.0
2. Check the current path doesn't include OneDrive. OneDrive causes issue with importing modules.
2024-10-29 12:57:06 +08:00
gbuomprisco f9bd5b3802 Node.js minimum versions is now 18.18.0.
Updated other dependencies and run linting fixes.
2024-10-29 11:07:47 +08:00
gbuomprisco 81e468adc0 Updated dependencies 2024-10-29 10:30:13 +08:00
gbuomprisco 8da8ed3376 Force i18next version in the package.json overrides to make sure peer dependencies use the same version. 2024-10-28 15:26:34 +08:00
gbuomprisco b47151fb3c React Compiler: never memo Tanstack Table 2024-10-28 12:14:53 +08:00
gbuomprisco 74c4f3cc85 Fix dev tooling script at startup to also check pending commits 2024-10-28 11:13:27 +08:00
gbuomprisco 64e7e30b3d React Compiler: maximize compatibility with react-hook-form 2024-10-28 10:44:40 +08:00
gbuomprisco 8e9d6659e1 Syncpack: introducing syncpack to fix versions of packages; packages fixed with Syncpack. 2024-10-26 12:18:24 +08:00
gbuomprisco 93b0f3d450 Sidebar: fix collapsible props 2024-10-26 11:44:18 +08:00
gbuomprisco 681a7c9233 Sidebar: fix collapsible state 2024-10-25 20:55:38 +08:00
Giancarlo Buomprisco 2209e2988b Sitemap: renamed server-sitemap to sitemap; added caching; set up redirect for retro-compatibility (#76) 2024-10-25 17:26:02 +08:00
gbuomprisco c00ec761d3 Updated dependencies 2024-10-25 15:48:01 +08:00
Giancarlo Buomprisco 14c2220904 Update Shadcn Sidebar (#73)
Migrated Sidebar to use Shadcn UI's
2024-10-25 15:43:34 +08:00