Commit Graph

322 Commits

Author SHA1 Message Date
76a288f509 fix: allow approve/reject only on pending application 2024-10-29 19:39:09 +07:00
Pattadon
44a389c488 Refactor date filtering and data aggregation in Portfolio component 2024-10-29 13:03:45 +07:00
Pattadon
42b47aa4e8 Refactor file upload path and add loading animation to ApplyProject component 2024-10-29 11:24:40 +07:00
10b0d23ce2 fix: wrap suspense around findContent 2024-10-28 21:55:59 +07:00
4730c086b2 refactor: add null handling in projectCard 2024-10-28 21:48:30 +07:00
d85803107d refactor: import module and log error of serverComponentClient 2024-10-28 21:28:41 +07:00
247d27721f feat: add error handling 2024-10-28 21:23:42 +07:00
d1872386ca refactor: apply prettier and remove unused var 2024-10-28 21:23:30 +07:00
2221b5be69 refactor: remove unuse variable and import missing module 2024-10-28 21:16:33 +07:00
bf46b2f765 refactor: remove option ( unused ) + add eslintignore 2024-10-28 21:13:46 +07:00
376071a9c3 refactor: remove unused variable and import 2024-10-28 21:11:21 +07:00
441a344d03 refactor: remove unused variable and add key for iterator 2024-10-28 21:08:56 +07:00
ce68ab6b20 refactor: remove unused import 2024-10-28 21:06:12 +07:00
5ec07e1454 refactor: add condition rendering for project data 2024-10-28 21:06:02 +07:00
3c528771ab chore: eslint ignore followShareButton 2024-10-28 20:58:27 +07:00
6afa6443c6 feat: add pagination 2024-10-28 20:55:24 +07:00
60118ee310 fix: data fetch error in deals and find page 2024-10-28 00:48:59 +07:00
a260cdd313 feat: separate business application by status in admin page 2024-10-27 23:07:30 +07:00
40f2557de4 Merge branch 'main' into back-end 2024-10-27 22:59:33 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
fd911a722d completed the business's apply page 2024-10-27 21:31:09 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
82bfbe95a9 Refactor file upload path and add loading animation to ApplyProject component 2024-10-27 21:29:16 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
a0030e39c0 completed project's apply 2024-10-27 21:20:40 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
fa40037682 Refactor ApplyProject component to update file upload path and add Lottie animation for loading 2024-10-26 22:41:57 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
d32b8c5845 Refactor uploadFile function to improve folder management and error handling 2024-10-26 22:30:20 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
87f8e13f37 Refactor uploadFile function to remove userID parameter and update folder path 2024-10-26 21:24:50 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
0cfb93efac Refactor ApplyProject component to update file upload path and add Lottie animation for loading 2024-10-26 20:47:40 +07:00
Pattadon
f9aa1c586f Refactor ApplyProject component to update file upload path and add Lottie animation for loading 2024-10-24 15:50:40 +07:00
Pattadon
4b5be49874 Refactor package dependencies and update ApplyProject component 2024-10-24 15:14:09 +07:00
446f8cce48 feat: add admin page with reject/approve functionalities 2024-10-23 16:18:12 +07:00
3fecafcf77 fix: logo not load 2024-10-23 00:29:57 +07:00
a763b9491a chore: add shadcn ui - command 2024-10-23 00:29:37 +07:00
c70e327438 feat: add edit profile functionality 2024-10-23 00:29:20 +07:00
Pattadon
29be79f6e8 Refactor ApplyBusiness component to update file upload path 2024-10-22 14:47:46 +07:00
Pattadon
6da89cc38b Refactor AlertDialog component to remove unused code and optimize imports 2024-10-22 13:02:12 +07:00
Pattadon
94368983d6 Refactor ApplyBusiness component to set success state and update loader component 2024-10-22 13:00:57 +07:00
Pattadon
7764e4ea0b Refactor ApplyBusiness component to add Lottie animation for loading 2024-10-22 12:55:17 +07:00
Pattadon
4935225350 Refactor ApplyBusiness component to fetch user data on page load 2024-10-22 11:15:27 +07:00
Pattadon
a225189a24 Refactor ApplyBusiness component to upload files to Supabase storage and update file upload path 2024-10-22 11:13:14 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
24f452ae70 Refactor ApplyBusiness component to update bucket name for file uploads 2024-10-21 21:48:02 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
fd3930f306 Refactor ApplyBusiness component to update bucket name for file uploads 2024-10-21 21:28:59 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
f70c3a5573 Refactor ApplyBusiness component to upload files to Supabase storage and clear existing files 2024-10-21 20:22:18 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
729da7112f Refactor ApplyBusiness component to upload files to Supabase storage and add user application check 2024-10-21 20:15:01 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
121418ed25 Refactor ApplyBusiness component to upload files to Supabase storage 2024-10-21 19:52:39 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
31f80b0af6 Refactor ApplyBusiness component to upload files to Supabase storage 2024-10-21 19:38:11 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
dde6d0ab69 Merge branch 'front-end' of https://github.com/Sosokker/B2D-Ventures into front-end 2024-10-21 19:07:33 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
886fc659d5 Refactor ApplyBusiness component to upload files to Supabase storage 2024-10-21 19:07:24 +07:00
Naytitorn Chaovirachot
070077f7f3 refactor some json query + restructure recent funds json + make amount show in recent funds tab 2024-10-21 17:36:31 +07:00
Naytitorn Chaovirachot
f65fc2a696 connect recent funded people to database 2024-10-21 14:52:54 +07:00
Pattadon
8f5d7859c8 Refactor ProjectForm component to fix tag overflow handling 2024-10-21 11:35:45 +07:00
Pattadon
df9e810d94 Refactor ProjectForm component to add tag overflow handling 2024-10-21 11:23:45 +07:00
Pattadon
cbe387172a Refactor ApplyBusiness page and ProjectForm component
- Refactor ApplyBusiness page to update the layout and add introductory text.
- Refactor ProjectForm component to improve tag functionality and display selected tags.
2024-10-21 11:17:27 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
2e1a58bbc8 Refactor ProjectForm component to add tag functionality 2024-10-20 18:25:28 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
40c45ed8d4 Refactor package.json to add @radix-ui/react-popover dependency 2024-10-20 18:05:32 +07:00
Naytitorn Chaovirachot
0150b4840b Merge branch 'back-end' of https://github.com/Sosokker/B2D-Ventures into back-end 2024-10-20 13:03:51 +07:00
Naytitorn Chaovirachot
f6461cb62c link graph overview to database: 2024-10-20 13:03:41 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
f2be32fbd7 Merge branch 'front-end' into back-end 2024-10-20 09:39:07 +07:00
Naytitorn Chaovirachot
616a357e21 extract dashboard page.tsx hook to hook.ts 2024-10-19 23:54:02 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
bc6439822c Refactor BusinessForm component to fetch industry data from Supabase and countries data from a REST API 2024-10-19 17:48:10 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
0e25a210fe Refactor projectFormSchema in application.schema.ts 2024-10-19 17:32:56 +07:00
Naytitorn Chaovirachot
a41e028bdc connect total funds raised to database 2024-10-19 17:21:05 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
d6c967f0b4 Refactor ProjectForm 2024-10-19 16:57:06 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
581c8c9023 Refactor package.json and package-lock.json to add sweetalert2 dependency 2024-10-19 16:36:52 +07:00
Naytitorn Chaovirachot
7f885008f8 Merge branch 'back-end' of https://github.com/Sosokker/B2D-Ventures into back-end 2024-10-19 00:19:27 +07:00
Naytitorn Chaovirachot
24155a1c59 setup query for deals 2024-10-19 00:19:19 +07:00
Pattadon
e44774f1cd Refactor DualOptionSelector layout in BusinessForm component 2024-10-17 15:21:14 +07:00
Pattadon
7c2b42e116 Refactor form submission logic in Apply page and BusinessForm component 2024-10-17 15:11:30 +07:00
Pattadon
47baae84fb Refactor package.json and package-lock.json to add @types/react-select-country-list dependency 2024-10-17 13:07:12 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
327bf34267 Refactor dualSelector component to add top margin in DualOptionSelector 2024-10-17 10:10:09 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
dca9af5e3b Refactor form submission logic in BusinessForm component 2024-10-17 09:39:07 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
3a9f3faa48 Refactor form submission logic in Apply page and BusinessForm component 2024-10-16 22:52:06 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
25a9f37b19 Refactor dualSelector and multipleSelector components 2024-10-16 22:18:22 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
01afc6c6fb Refactor application schema to add validation for project and business forms 2024-10-16 20:11:49 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
428f42383d Merge branch 'main' into back-end 2024-10-16 20:02:14 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
afc83cce5d chore: Add @types/next package to package.json 2024-10-16 19:59:29 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
ca894212ef Merge branch 'main' into front-end 2024-10-14 22:48:31 +07:00
0783ff5d64 fix: error on multiple files upload 2024-10-14 22:31:32 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
f5b4d99f4b Refactor Apply page component to adjust left margin for company information section and simplify project photo handling 2024-10-14 21:24:15 +07:00
912c05d1da fix: foreign_key error on project status inner join 2024-10-14 18:37:28 +07:00
ba6a785c71 feat: retrive profile base on user_id 2024-10-14 18:36:57 +07:00
398ef2fe25 refactor: chanage raise_to_date to money_raised_to_date 2024-10-14 18:33:59 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
e58e954991 Refactor Apply page component to adjust left margin for company information section and add support for project pitch file 2024-10-14 17:53:35 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
ec17305e16 Refactor Apply page component to adjust left margin for company information section and simplify pitchDeckSchema validation 2024-10-14 17:46:40 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
bb27bc108e Merge branch 'front-end' 2024-10-14 16:19:53 +07:00
Naytitorn Chaovirachot
a079900756 connect apply application to database 2024-10-14 15:51:00 +07:00
Naytitorn Chaovirachot
0d9a0821c0 Merge branch 'back-end' of https://github.com/Sosokker/B2D-Ventures into back-end 2024-10-14 01:05:16 +07:00
Naytitorn Chaovirachot
a13a6112f9 finalize json format, still not put to database 2024-10-14 01:04:50 +07:00
fc6368f54e refactor: update investor_id retrieve logic + snake case db atr 2024-10-14 00:29:01 +07:00
0d14e15d13 refactor: rename all database field to snake_case 2024-10-14 00:12:41 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
9675a1c491 Refactor Apply page component to adjust left margin for company information section and simplify pitchDeckSchema validation 2024-10-13 21:57:12 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
7c042c6b3c Refactor Apply page component to adjust left margin for company information section and simplify pitchDeckSchema validation 2024-10-13 21:46:52 +07:00
d8a2f13d6c feat: store investment statement in database 2024-10-13 21:18:32 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
f5c946f167 Refactor Apply page component to adjust left margin for company information section and simplify pitchDeckSchema validation 2024-10-13 16:47:46 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
3370b0f61c Refactor Apply page component to adjust left margin for company information section 2024-10-13 16:34:30 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
847af65dbc Refactor Apply page component to adjust left margin for company information section 2024-10-12 18:57:57 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
6a69edf57e Refactor Apply page component to simplify pitchDeckSchema validation 2024-10-12 18:56:08 +07:00
Naytitorn Chaovirachot
fc1dd4b4d9 add base code for fetching input data to JSON 2024-10-11 23:19:20 +07:00
1c9eaa8577 feat: add payment + dynamic invest route 2024-10-11 14:42:58 +07:00
Pattadon
e9ce0714b3 Refactor Apply page component to handle yes/no choices with DualOptionSelector and Selector components, and update form field change handling 2024-10-11 14:37:57 +07:00
Pattadon
5fea323938 Refactor Apply page component to handle yes/no choices with DualOptionSelector and Selector components, and update form field change handling 2024-10-11 13:56:29 +07:00
Pattadon
a3573c5c9a Refactor Apply page component to use DualOptionSelector component for handling yes/no choices 2024-10-11 11:43:06 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
55b8d8759b Refactor Apply page component to use Selector component for handling yes/no choices 2024-10-10 17:06:19 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
e53821a0c7 Refactor package.json to add @hookform/resolvers and zod dependencies 2024-10-10 14:49:07 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
9e82721b54 Refactor Apply page component for responsiveness, fix typo in setIsGenerating state variable, and update form field change handling 2024-10-10 14:30:41 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
551dcfe470 Refactor Apply page component for responsiveness, add textarea component for project description and pitch deck, and implement project picture upload functionality 2024-10-10 13:58:01 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
1fa33883f0 Refactor Apply page component for responsiveness, add textarea component for project description and pitch deck, and implement project picture upload functionality 2024-10-10 13:49:16 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
093277b64c Refactor package.json to add @radix-ui/react-switch dependency 2024-10-10 12:56:56 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
cd3a4f042a Refactor Apply page component for responsiveness, update form field IDs and labels 2024-10-10 12:18:23 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
dfefe603cf Update package.json and package-lock.json 2024-10-09 16:19:13 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
c93b05ab45 Refactor component and page structure for responsiveness, add textarea component for project description and pitch deck 2024-10-09 15:41:35 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
3a94e21349 Refactor component and page structure for responsiveness, add project type selection to application page 2024-10-09 15:32:38 +07:00
96a7be3987 Merge branch 'main' into front-end 2024-10-09 14:24:10 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
32ea51b56f Refactor component and page structure for responsiveness, add submit button to application page 2024-10-09 12:10:03 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
0e90f0ee7e Refactor component and page structure for responsiveness, adjust company information layout 2024-10-09 12:02:39 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
34cf467f83 Refactor component and page structure for responsiveness, add remote image patterns, improve form layout, and add new fields for generating revenue and pitch deck. Also, add a new field to capture the rough size of the community. 2024-10-09 11:56:07 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
40d8b1d52e Refactor component and page structure for responsiveness, add remote image patterns, improve form layout, and add new fields for generating revenue and pitch deck. 2024-10-09 11:51:07 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
5c35dad5cb Refactor component and page structure for responsiveness and add remote image patterns 2024-10-09 11:36:44 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
aa7de9fa73 Refactor component and page structure for responsiveness and improve form layout 2024-10-09 11:33:57 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
69c6b727a6 Refactor component and page structure for responsiveness and improve form layout 2024-10-09 11:13:10 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
6ba242719c Refactor component and page structure for responsiveness and add remote image patterns 2024-10-09 11:02:20 +07:00
5bdeef67e0 refactor: link to real deals data 2024-10-09 07:47:12 +07:00
e78e62dbe5 refactor: group some routes 2024-10-09 05:42:32 +07:00
06904bc6dd feat: dynamically load some data for project deals page 2024-10-09 05:40:21 +07:00
bcc9617010 refactor: update outdated layout format 2024-10-09 05:39:52 +07:00
86103baa7f feat: filtering functionality on all deals page 2024-10-09 02:49:19 +07:00
a2b90d9fb9 feat: query function for dropdown 2024-10-08 23:43:50 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
0e1b6c9535 Refactor component and page structure for responsiveness and add remote image patterns 2024-10-08 15:38:11 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
f64ac32b40 Refactor component and page structure for responsiveness and add remote image patterns 2024-10-08 05:18:40 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
872deaa654 Refactor component and page structure for responsiveness and add remote image patterns 2024-10-07 22:26:56 +07:00
bc0d347e18 feat: load top project card from database 2024-10-06 18:23:42 +07:00
f775379662 feat: add profile page 2024-10-06 16:27:59 +07:00
690c44bd7d refactor: extract supabase query + use projectCard instead of extendableCard 2024-10-06 14:14:44 +07:00
ca5764fb24 refactor: refresh profileBar when logout 2024-10-06 14:10:13 +07:00
10d03da196 refactor: extract client component from navbar 2024-10-06 14:07:46 +07:00
4bb97829d6 refactor: link signup button 2024-10-06 13:52:14 +07:00
4b7bf4c6b2 feat: add signup 2024-10-06 13:34:16 +07:00
0b87f66ce7 style: add site footer and put nav in container 2024-10-05 14:33:22 +07:00
e4c3275102 style: make business cards + index and deals page more responsive 2024-10-05 14:30:10 +07:00
0b7a973643 fix: make extendableCard and deals page more responsive 2024-10-05 03:59:17 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
56f0168574 Refactor component and page structure for responsiveness 2024-10-04 20:25:32 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
56b2188590 Refactor component and page structure for responsiveness 2024-10-04 20:20:16 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
7705519081 Refactor component and page structure for responsiveness 2024-10-04 20:18:23 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
faab0b0fd5 Update component and pages to responsive 2024-10-04 20:10:51 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
dec781498e change folder name and hierachy 2024-10-04 19:43:37 +07:00
acd8cd8f91 Add toaster into layout and link invest button to project invest page 2024-10-03 11:34:37 +07:00
af9dcf343f Add invest on project page 2024-10-03 11:34:08 +07:00
39bb3c3017 Add tag filter and search test 2024-10-03 09:52:11 +07:00
8d56fbce2f Add filter by tag to deals page 2024-10-03 09:37:15 +07:00
02e204d877 Update search result page ui 2024-10-03 09:20:01 +07:00
6c4987d6f4 Update playwright config + Add placeholder test 2024-10-03 02:57:50 +07:00
6e5408210c Add password base login form 2024-10-03 02:29:32 +07:00