2db77b80a5
Merge branch 'main' into front-end
2024-11-04 11:41:40 +07:00
Pattadon
7535afef67
Refactor ProjectSection and Invest components for improved type safety and formatting
2024-11-04 11:09:33 +07:00
3beb6e2c72
fix: fix build error on calendar ui
2024-11-04 09:50:48 +07:00
b316f5470c
chore: add shadcn expansion datepicker ui
2024-11-04 09:22:40 +07:00
949dcd448e
fix: increase pagination size for deals page
2024-11-04 00:20:32 +07:00
520bee2e18
feat: add dataroom overview page
2024-11-04 00:19:52 +07:00
02a3d4092b
feat: only approve user can access dataroom
2024-11-04 00:19:33 +07:00
3bc6159618
feat: add dataroom manage page for business account
2024-11-03 17:58:13 +07:00
d0d9c7a0f8
feat: add dataroom files page
2024-11-03 14:38:40 +07:00
5636abc609
refactor: redirect when no project data
2024-11-03 00:41:11 +07:00
5f1c99cb00
feat: render business badge + can only edit own profile
2024-11-03 00:40:31 +07:00
e183d3ddeb
feat: add loading, error, not found page
2024-11-03 00:39:13 +07:00
e29eeab868
Merge branch 'back-end' of https://github.com/Sosokker/B2D-Ventures into back-end
2024-11-02 19:00:34 +07:00
Naytitorn Chaovirachot
a5dea77001
fix no default carousel image
2024-11-01 23:19:53 +07:00
Naytitorn Chaovirachot
b25895e5ad
connect image carousel to database
2024-11-01 23:12:15 +07:00
Naytitorn Chaovirachot
71d1d3c1fc
connect deal data of detail page to database
2024-11-01 22:28:01 +07:00
Naytitorn Chaovirachot
c15e451912
refactor totalDealAmount function and change undefined deal value to empty array
2024-11-01 18:07:55 +07:00
Pattadon
475c6eb9c2
Refactor RecentFunds component to display only the first two characters of the deal name in the AvatarFallback
2024-11-01 15:25:44 +07:00
Pattadon
2188d2b33f
Refactor RecentFunds component to display only the first two characters of the deal name in the AvatarFallback
2024-11-01 15:25:23 +07:00
Pattadon
bca431ee26
Refactor unauthorized alert component and add user authorization check to portfolio page
2024-11-01 15:23:50 +07:00
Pattadon
7356831e2e
Refactor portfolio hook and page components
...
- Add functions to calculate total investment and get latest investment
- Update graph data calculations for overall and four-year graphs
- Update recent funds component to display latest investment deals
- Minor code formatting and error handling improvements
2024-11-01 14:32:33 +07:00
Naytitorn Chaovirachot
e0ddbbc50d
connect some detail number component to database
2024-11-01 01:36:32 +07:00
Pattadon
22fe709ce8
Refactor profileBar component to fix notification count display
2024-10-31 15:19:06 +07:00
Pattadon
7d60a209fa
Refactor profileBar component to wrap Github buttons in a div for improved styling
2024-10-31 14:59:54 +07:00
Pattadon
1a719a3aa7
Refactor profileBar component to add link to user's portfolio page
2024-10-31 14:43:27 +07:00
Pattadon
426bb46ad8
Refactor investment check to fix formatting issue in ProjectDealPage component
2024-10-31 14:26:26 +07:00
Pattadon
753603420c
Refactor Portfolio component layout for improved responsiveness; adjust card widths and container padding
2024-10-31 14:22:34 +07:00
Pattadon
8792a94b6b
Refactor Portfolio component layout for improved responsiveness; adjust card widths and container padding
2024-10-31 13:56:45 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
8c5c4076fc
Refactor Portfolio component layout for improved responsiveness; adjust card widths and container padding
2024-10-30 22:29:25 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
9182b168e1
Enhance Portfolio component with new card layout and tooltips for business investment insights; update QuestionMarkIcon for better accessibility
2024-10-30 22:14:15 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
e8de157612
Refactor investment check to use dynamic user ID; enhance Portfolio component with new card layout and add QuestionMarkIcon component
2024-10-30 22:03:03 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
8cf2a031ca
Add investment check and value counting functions; update Portfolio component to utilize new features
2024-10-30 21:42:41 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
ad1114088c
Refactor business ID retrieval functions to improve error handling and rename for clarity
2024-10-30 20:56:08 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
bbee901bce
Add business ID and type retrieval functions; integrate into Portfolio component
2024-10-30 20:44:25 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
6298abe0c9
Refactor ApplyBusiness component and fetch user data on page load
2024-10-30 15:07:42 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
ca895bd605
Refactor ApplyBusiness component and BusinessForm component
2024-10-30 15:07:13 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
2fba56288d
Refactor portfolio/[uid]/hook.ts and portfolio/[uid]/page.tsx
2024-10-30 15:04:01 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
16a171db3c
Refactor Portfolio component and add data aggregation hooks
2024-10-30 14:52:20 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
62e20c282a
Refactor projectTag function and add PieChart component
2024-10-30 14:30:00 +07:00
Pattadon
209d6f1f73
Refactor generalApi.ts and portfolio/[uid]/page.tsx
2024-10-30 12:07:59 +07:00
Pattadon
f4a1c287c1
Refactor dependencies and add PieChart component
2024-10-30 11:41:35 +07:00
Pattadon
8b9663f0f2
Refactor dependencies and add PieChart component
2024-10-30 10:04:38 +07:00
573b2b92de
feat: add indicator for business account
2024-10-30 01:45:55 +07:00
7cacc78412
refactor: remove unuse nav link
2024-10-30 01:45:35 +07:00
71d49ffd70
feat: add admin page to list businesses
2024-10-30 01:22:36 +07:00
0bc45f18d0
fix: use objects as params for multiple props
2024-10-30 01:22:22 +07:00
93fb407bd9
refactor: move directory
2024-10-30 01:21:47 +07:00
dcc15a0e70
feat: render admin button for admin role
2024-10-30 01:21:07 +07:00
3027a9978b
fix: not insert investment data and missing session after success invest
2024-10-30 00:48:17 +07:00
1c58bbc8cf
feat: add admin page for project application
2024-10-29 19:39:40 +07:00
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