feat(dashboard): add dynamic loading for dashboard component

feat(team-account-benefit-statistics): implement benefit statistics card with budget and booking details

feat(team-account-health-details): create health details component displaying account health metrics

feat(team-account-statistics): develop team account statistics page with charts and customer table

feat(load-team-account-health-details): add server-side function to retrieve account health details

chore(migrations): create trigger for logging changes in account memberships
This commit is contained in:
Danel Kungla
2025-08-18 14:54:46 +03:00
parent bbb5e83ed9
commit c48a4b482f
16 changed files with 362 additions and 125 deletions

View File

@@ -50,15 +50,15 @@ function SidebarContainer(props: {
return (
<Sidebar collapsible={collapsible}>
<SidebarHeader className={'h-16 justify-center'}>
<div className={'flex items-center justify-between gap-x-3'}>
<SidebarHeader className="h-16 justify-center">
<div className="flex items-center justify-between gap-x-3">
<TeamAccountAccountsSelector
userId={userId}
selectedAccount={account}
accounts={accounts}
/>
<div className={'group-data-[minimized=true]:hidden'}>
<div className="group-data-[minimized=true]:hidden">
<TeamAccountNotifications
userId={userId}
accountId={props.accountId}
@@ -73,7 +73,10 @@ function SidebarContainer(props: {
<SidebarFooter>
<SidebarContent>
<ProfileAccountDropdownContainer user={props.user} />
<ProfileAccountDropdownContainer
user={props.user}
accounts={accounts}
/>
</SidebarContent>
</SidebarFooter>
</Sidebar>