Commit Graph

1050 Commits

Author SHA1 Message Date
javayhu
c0aa979382 chore: clean up imports and improve formatting in CreditsPageClient component 2025-08-30 00:24:12 +08:00
javayhu
fa2e981c16 fix: fix URL params when switch to balance from transactions 2025-08-28 23:23:52 +08:00
javayhu
21eee041ab
Merge pull request #85 from MkSaaSHQ/dev/nuqs
feat: integrate with nuqs for users and credit transaction tables
2025-08-28 01:10:48 +08:00
javayhu
6c584c75e2 feat: enhance CreditTransactions component with loading skeleton and refactor state management using useQueryStates 2025-08-28 01:08:48 +08:00
javayhu
797ee9b7e5 feat: add nuqs package and integrate NuqsAdapter in layout and users page components 2025-08-28 00:47:37 +08:00
javayhu
422c323467 chore: replace Image component with BlogImage for improved loading handling in BlogCard 2025-08-27 00:45:09 +08:00
javayhu
de7e87e5b8 chore: update Skeleton component styles 2025-08-27 00:35:00 +08:00
javayhu
4434f1900d chore: remove deprecated Discord widget and related configurations 2025-08-26 00:48:39 +08:00
javayhu
895e02bfdd chore: update .dockerignore and biome.json to include new directories and remove unused object-values type 2025-08-26 00:20:27 +08:00
javayhu
7cc1fd5835 refactor: update website configuration structure to use 'ui' instead of 'metadata' for theme and mode settings 2025-08-26 00:16:55 +08:00
javayhu
4bad9714fa refactor: remove BlockCategory pages, and BlockPreview components 2025-08-25 23:43:45 +08:00
javayhu
fa4b9a19a1 refactor: remove service worker and related registration utilities 2025-08-25 23:39:10 +08:00
javayhu
1c0c46fa34 Revert "feat: enhance credit hooks to trigger updates on store changes"
This reverts commit 7851a715a3.
2025-08-25 10:01:54 +08:00
javayhu
0ae3f27c78 refactor: change default website mode from 'system' to 'dark' in website configuration 2025-08-25 10:00:45 +08:00
javayhu
fc024ea0da refactor: simplify layout of ChatBot and ImagePlayground components, update model configuration in web content analyzer 2025-08-25 10:00:28 +08:00
javayhu
80851fcf44 refactor: remove credit-related functionality and components from the web content analysis module 2025-08-25 09:48:20 +08:00
javayhu
31829ce17b feat: add ConsumeCreditsCard component for credit consumption functionality 2025-08-25 09:23:27 +08:00
javayhu
7c9b0a2697 refactor: remove ConsumeCreditCard component and integrate its functionality into ConsumeCreditsCard 2025-08-25 09:22:56 +08:00
javayhu
15da1ee48a refactor: update global styles with a custom theme inspired by Qoder, adjusting color variables and shadow effects 2025-08-24 21:16:41 +08:00
javayhu
c2d7e51f5b refactor: update HeroSection component styles to use accent color for hover state and simplify layout 2025-08-24 21:15:48 +08:00
javayhu
00405d5335 refactor: update text colors in BlogPostPage, FeaturesSection, and HeaderSection components to use primary color 2025-08-24 21:10:08 +08:00
javayhu
610346055f refactor: update navbar component styles to use accent foreground for active and hover states 2025-08-24 21:01:36 +08:00
javayhu
cb9c3132fd refactor: update CardFooter background color from bg-background to bg-muted across multiple components 2025-08-24 20:34:50 +08:00
javayhu
32fc3d6dc9 chore: simplify BlogCard component by removing unnecessary span styling and enhancing border effects 2025-08-24 20:11:24 +08:00
javayhu
69143ace47 feat: implement error handling in getCreditBalanceAction and add CreditsTest component for credit consumption testing 2025-08-24 19:55:53 +08:00
javayhu
8c3ef9bfaf refactor: remove unused heading elements from AIAudioPage and AIVideoPage components 2025-08-24 19:41:02 +08:00
javayhu
7851a715a3 feat: enhance credit hooks to trigger updates on store changes 2025-08-24 19:26:54 +08:00
javayhu
0fb4ef93d2 chore: add CreditsTest component 2025-08-24 19:26:49 +08:00
javayhu
95a6f3b9d5 feat: update AI Chat, add ChatBot component 2025-08-24 15:36:20 +08:00
javayhu
0794c7d297 feat: add AI Chat route and localization support in English and Chinese 2025-08-24 11:39:04 +08:00
javayhu
395f753025 refactor: remove TypeScript error comments from CodeBlock component 2025-08-24 11:32:43 +08:00
javayhu
fc53045d99
Merge pull request #82 from MkSaaSHQ/dev/ai-elements
feat: AI Chat demo with ai elements
2025-08-24 11:27:58 +08:00
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