Commit Graph

493 Commits

Author SHA1 Message Date
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
Nantawat Sukrisunt
c81610e09a Badge update 2024-10-28 22:07:31 +07:00
Nantawat Sukrisunt
3d1b7e1f54 Merge remote-tracking branch 'origin/back-end' into back-end 2024-10-28 22:03:16 +07:00
Nantawat Sukrisunt
7d300d18fc Remove unused test 2024-10-28 22:02:07 +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
1e415b5a45 chore: update .eslintrc.json 2024-10-28 21:30:42 +07:00
cf1c4e8c20 Merge branch 'back-end' of https://github.com/Sosokker/B2D-Ventures into back-end 2024-10-28 21:28:54 +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