Skip to content

feat: group analytics with charts#93

Open
opensecretsauce wants to merge 2 commits intosorosave-protocol:mainfrom
opensecretsauce:feat/group-analytics
Open

feat: group analytics with charts#93
opensecretsauce wants to merge 2 commits intosorosave-protocol:mainfrom
opensecretsauce:feat/group-analytics

Conversation

@opensecretsauce
Copy link

Closes #69

Changes

  • Add recharts dependency
  • New GroupAnalytics component with 3 responsive charts:
    • Line chart — contribution amounts per round + cumulative total
    • Bar chart — payout received vs contributed per member
    • Donut (Pie) chart — member participation (on-time / late / missed)
  • Custom tooltip component for consistent dark mode styling
  • Integrated into group detail page /groups/[id]
  • Fully responsive via ResponsiveContainer

Build

pnpm build

- Add WalletAdapter interface (src/lib/wallets/index.ts)
- Add FreighterAdapter, xBullAdapter, AlbedoAdapter
- Refactor providers.tsx to support multiple wallets + localStorage persistence
- Update ConnectWallet.tsx with wallet selection modal
- Create src/lib/sdk.ts as local stub for @sorosave/sdk
- Create src/lib/wallet.ts with multi-wallet signTransaction routing
- Fix all @sorosave/sdk missing module errors — build passes clean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add group analytics with charts and graphs

1 participant