-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dashboard: investor page #2609
Dashboard: investor page #2609
Conversation
PR deployed in Google Cloud |
PR deployed in Google Cloud |
…nto dashboard-investor-page
const data: InvestorTableRow[] = [ | ||
{ | ||
wallet: '0x423420Ae467df6e90291fd0252c0A8a637C1e03f', | ||
trancheId: '0xc4bbcd7f0ad814f2625b93561a6ca3c1', | ||
network: 11155111, | ||
poolId: '1464125771', | ||
tokenName: 'USDC', | ||
poolCurrency: 'USDC', | ||
poolIcon: null, | ||
holdings: new CurrencyBalance(100, 6), | ||
pendingInvestments: new CurrencyBalance(10000, 6), | ||
pendingRedemptions: new CurrencyBalance(100, 6), | ||
investorSince: '2025-02-12', | ||
unrealizedProfit: new CurrencyBalance(100, 6), | ||
realizedProfit: new CurrencyBalance(100, 6), | ||
investorId: '0x423420Ae467df6e90291fd0252c0A8a637C1e03f-0xc4bbcd7f0ad814f2625b93561a6ca3c1-11155111', | ||
}, | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will remove before merging, this is just so it can be seen on demo since the demo subquery isn't operational
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job!!!! Few other things I noticed
- The accordion has too much padding in the title area
- On the table, the top right number [number] Investors, have a weird shape when 0, is not circular. You can use this instead to make it circular in all cases, it was a bit tricky for me as well.
<Box
background={theme.colors.backgroundTertiary}
borderRadius="50%"
display="flex"
alignItems="center"
justifyContent="center"
width="28px"
height="28px"
style={{ fontWeight: 500, fontSize: 12 }}
mr={1}
>
{filters.data.length}
</Box>
<Text variant="heading4">Assets</Text>
</Box>
centrifuge-app/src/components/Dashboard/Investors/AddNewInvestorDrawer.tsx
Show resolved
Hide resolved
centrifuge-app/src/components/Dashboard/Investors/AddNewInvestorDrawer.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! good job!!
Description
This pull request...
#2586
Approvals
Screenshots
Impact