PrimeDAO / prime-deals-dapp

DAO to DAO negotiations facilitated, ratified, and archived.
https://www.prime.xyz/deals
3 stars 1 forks source link

1077- DAOplomat rewards - Dashboard #1099

Closed giladt closed 2 years ago

giladt commented 2 years ago

What was done

Added DAOplomats rewards overview to the deal dashboard.

Preview: https://prime-deals-dapp-haq9h3ol7-curvelabs.vercel.app/deal/p4iWee54xZSqcaB2weLP41

image

Based on the following data structure:

export interface IDaoplomatReward {
  address: Address,
  rewardSplitPercentage: number // Values: 0-1, sums to `percentage` value | Originally 'percentageAmount'
}

export interface IDaoplomatRewards {
  percentage?: number // Values: 0-1 | Originally 'percentageAmount'
  daoplomats: IDaoplomatReward[]
}

export interface ITerms {
  clauses: Array<IClause>,
  daoplomatRewards?: IDaoplomatRewards
}
vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
prime-deals-dapp ✅ Ready (Inspect) Visit Preview Jul 5, 2022 at 10:44AM (UTC)
IonelLupu commented 2 years ago

I will wait for the wizard side to be finished before I review this 😄

giladt commented 2 years ago

Right: font is bold left: NaN (@hiaux0)

Left: According to the mock, the font should be bold... Right: Naming fixed in Firestore...