Commit Graph

584 Commits

Author SHA1 Message Date
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
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
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
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
Giancarlo Buomprisco
8f3c1b2aeb Updated Dependencies (#104) 2025-01-07 20:34:40 +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
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
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
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