javayhu
|
64ba2711aa
|
feat: implement AI chat functionality with new API route and chat component
|
2025-08-24 11:26:06 +08:00 |
|
javayhu
|
3a61c953a4
|
chore: add ai-elements to biome.json for component inclusion
|
2025-08-24 10:39:52 +08:00 |
|
javayhu
|
6de7dfebf3
|
chore: update shadcnui badge and scroll-area components
|
2025-08-24 10:38:30 +08:00 |
|
javayhu
|
e626bb9af4
|
feat: add ai-elements components
|
2025-08-24 10:37:37 +08:00 |
|
javayhu
|
33fe00b8dc
|
chore: mark lastRefreshAt field as deprecated in userCredit schema
|
2025-08-24 10:22:31 +08:00 |
|
javayhu
|
2d0392db61
|
refactor: update credit eligibility checks to use canAddCreditsByType function for improved clarity and maintainability
|
2025-08-24 10:03:35 +08:00 |
|
javayhu
|
afdaeba2be
|
refactor: remove updateUserLastRefreshAt function and its calls to streamline credit update logic
|
2025-08-24 09:56:19 +08:00 |
|
javayhu
|
258ddad399
|
refactor: consolidate credit addition logic into a single function to improve maintainability and clarity
|
2025-08-24 09:24:59 +08:00 |
|
javayhu
|
e6bc1ea9e8
|
refactor: rename 'credits' to 'amount' in credit-related configurations and components for consistency
|
2025-08-24 01:16:39 +08:00 |
|
javayhu
|
96d630f3ac
|
chore: add new hostname configuration for service.firecrawl.dev in Next.js config
|
2025-08-24 00:52:06 +08:00 |
|
javayhu
|
e15d76461f
|
feat: add function to check if subscription credits can be added based on last refresh time
|
2025-08-23 20:21:54 +08:00 |
|
javayhu
|
1ff42009d8
|
chore: update function parameters planId instead of priceId
|
2025-08-23 20:07:32 +08:00 |
|
javayhu
|
669ac94bad
|
chore: update comments to reflect renaming of enableForFreePlan to enablePackagesForFreePlan for clarity
|
2025-08-23 17:18:37 +08:00 |
|
javayhu
|
d319bd8af2
|
chore: rename enableForFreePlan to enablePackagesForFreePlan for clarity in credits configuration
|
2025-08-23 10:20:30 +08:00 |
|
javayhu
|
01f5734dd5
|
chore: update credit expiration messaging and logic to reflect upcoming expiration in days
|
2025-08-23 09:52:28 +08:00 |
|
javayhu
|
6837c5a8d4
|
chore: simplify CreditsBalanceCard layout
|
2025-08-23 09:05:12 +08:00 |
|
javayhu
|
6927f4b234
|
chore: adjust skeleton component heights in billing and password cards for improved loading state visibility
|
2025-08-23 09:00:13 +08:00 |
|
javayhu
|
ffe5bc4ea5
|
chore: update PasswordCardWrapper to include CardFooter with skeleton loading state
|
2025-08-23 08:55:02 +08:00 |
|
javayhu
|
1be26638fc
|
chore: update billing card rendering logic to include payment data check
|
2025-08-23 08:23:54 +08:00 |
|
javayhu
|
c66fedea27
|
chore: update upgrade card visibility logic to ensure data is loaded before rendering
|
2025-08-23 07:51:37 +08:00 |
|
javayhu
|
1e1cafff32
|
chore: delete loading component for protected routes
|
2025-08-23 00:08:33 +08:00 |
|
javayhu
|
23ddb90e1f
|
chore: remove loading components for protected routes
|
2025-08-22 23:52:58 +08:00 |
|
javayhu
|
7f4a7a61a2
|
refactor: enhance captcha handling in login and register forms with reset functionality
|
2025-08-22 01:12:13 +08:00 |
|
javayhu
|
a6a5d92dc1
|
refactor: implement batch processing for expired credits in credit cron job
|
2025-08-22 00:39:17 +08:00 |
|
javayhu
|
63a5e4f328
|
refactor: remove subscription and lifetime credits logic from credit stats and balance card
|
2025-08-22 00:04:40 +08:00 |
|
javayhu
|
19120ee7f1
|
refactor: replace password card logic with useHasCredentialProvider hook
|
2025-08-21 23:54:28 +08:00 |
|
javayhu
|
d644611afd
|
refactor: remove TANSTACK_QUERY_REFACTOR.md
|
2025-08-21 10:04:27 +08:00 |
|
javayhu
|
8cc16a898c
|
Merge pull request #81 from MkSaaSHQ/dev/tanstack-query
feat: add tanstack query to optimize performance
|
2025-08-21 09:55:45 +08:00 |
|
javayhu
|
cf8a7f1242
|
refactor: optimize credits balance card logic after successful payment
|
2025-08-21 09:50:40 +08:00 |
|
javayhu
|
1fb89a2a05
|
refactor: enhance credit balance and stats hooks with improved error handling and logging
|
2025-08-21 01:48:40 +08:00 |
|
javayhu
|
13c23dab56
|
refactor: migrate state management from Zustand to TanStack Query for improved data fetching and caching across components
|
2025-08-21 00:54:40 +08:00 |
|
javayhu
|
ac8d4dee4b
|
refactor: replace usePayment hook and store with useCurrentPlan for improved payment state management
|
2025-08-21 00:50:12 +08:00 |
|
javayhu
|
ff1e72df13
|
refactor: replace useCredits hook with custom hooks for credit balance, consumption, and transactions management
|
2025-08-21 00:27:26 +08:00 |
|
javayhu
|
d153ca655e
|
refactor: implement custom hooks for user management and ban/unban user
|
2025-08-20 23:52:06 +08:00 |
|
javayhu
|
c00223c79a
|
refactor: replace server actions with custom hooks for newsletter management and improve loading/error handling
|
2025-08-20 22:39:20 +08:00 |
|
javayhu
|
d59be1044a
|
feat: add QueryProvider to manage React Query client and wrap Providers component
|
2025-08-20 22:37:52 +08:00 |
|
javayhu
|
5431160d62
|
chore: add @tanstack/react-query-devtools
|
2025-08-20 22:37:39 +08:00 |
|
javayhu
|
73baf946bd
|
chore: add @tanstack/react-query and @tanstack/eslint-plugin-query
|
2025-08-20 22:04:19 +08:00 |
|
javayhu
|
978f13a368
|
refactor: remove unnecessary Skeleton component in billing and credits balance cards
|
2025-08-20 00:18:02 +08:00 |
|
javayhu
|
779493965c
|
chore: remove images in about page
|
2025-08-20 00:13:26 +08:00 |
|
javayhu
|
3ae0411a44
|
chore: remove bg div in features section
|
2025-08-19 23:25:28 +08:00 |
|
javayhu
|
ccf064b0d5
|
chore: optimize pricing card badge
|
2025-08-19 23:09:41 +08:00 |
|
javayhu
|
7c0e6a5131
|
chore: enhance error handling and optimize database queries in user credit functions
|
2025-08-18 00:58:46 +08:00 |
|
javayhu
|
d86f89e3de
|
fix: update URL routing in credits balance card component after successful payment
|
2025-08-18 00:45:51 +08:00 |
|
javayhu
|
9800b1d842
|
refactor: update CardFooter in credits balance card component
|
2025-08-18 00:42:53 +08:00 |
|
javayhu
|
9db52f352b
|
refactor: adjust spacing in credits page layout and comment out button in credits balance card
|
2025-08-18 00:36:42 +08:00 |
|
javayhu
|
90757475ac
|
refactor: implement credits page with balance and transactions tabs
|
2025-08-18 00:29:56 +08:00 |
|
javayhu
|
904dceec44
|
refactor: update billing and credits pages & move credit balance and packages to credits page
|
2025-08-18 00:19:35 +08:00 |
|
javayhu
|
f1d02720d0
|
refactor: restructure credit distribution logic and enhance user credit handling
|
2025-08-17 23:26:10 +08:00 |
|
javayhu
|
bade6b620e
|
refactor: enhance error handling in credit balance retrieval
|
2025-08-16 23:08:16 +08:00 |
|