Skip to content

Commit 8962bc9

Browse files
add tooltips to CV table headers
1 parent 398a1f5 commit 8962bc9

File tree

2 files changed

+22
-5
lines changed

2 files changed

+22
-5
lines changed

src/components/charts/ConvictionThreshold.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function ConvictionThresholdChart({
101101
}
102102
rotate
103103
tooltipPosition="left"
104-
tooltipText="Effective Supply is the amount of tokens currently voting on all proposals in Conviction Voting. This percentage is the relative amount of TEC tokens staked on this proposal."
104+
tooltipText="Effective Supply is the amount of TEC tokens currently voting on all proposals in Conviction Voting. This percentage is the relative amount of TEC tokens staked on this proposal."
105105
/>
106106
}
107107
/>

src/components/tables/ConvictionVoting.tsx

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,32 @@ function ConvictionVotingTable({
1717
<Table
1818
header={
1919
<>
20-
<TableHeader headerText="Proposal" size="m" />
21-
<TableHeader headerText="requested amount (wxdai)" size="l" />
22-
<TableHeader headerText="common pool (wxdai)" size="l" />
23-
<TableHeader headerText="effective supply (tec)" size="l" />
20+
<TableHeader
21+
headerText="Proposal"
22+
size="m"
23+
tooltipText="A simluted funding request using Conviction Voting"
24+
/>
25+
<TableHeader
26+
headerText="requested amount (wxdai)"
27+
size="l"
28+
tooltipText="The amount of funds being asked for from the Common Pool"
29+
/>
30+
<TableHeader
31+
headerText="common pool (wxdai)"
32+
size="l"
33+
tooltipText="The amount of funds currently in the Common Pool"
34+
/>
35+
<TableHeader
36+
headerText="effective supply (tec)"
37+
size="l"
38+
tooltipText="The cumulative total of all TEC tokens staked on all proposals in Conviction Voting"
39+
/>
2440
<TableHeader
2541
headerText={`min tokens needed to pass in ${
2642
timePeriod || '2 weeks'
2743
} (tec)`}
2844
size="l"
45+
tooltipText="The minimum amount of tokens needed to pass this funding request in the given timeframe"
2946
/>
3047
</>
3148
}

0 commit comments

Comments
 (0)