Commit 8b2d51f
[DDW-759] Over-saturation warning (#2733)
* [DDW-759] Added translations, new component for warning
* [DDW-759] Fixed flow Issues
* [DDW-759] Converted in functional component. Refactoring
* [DDW-759] Simplify code, created function to calculate the oversaturation
* [DDW-759] Updated oversaturation calculation and component
* [DDW-759] Updated storybook components
* [DDW-759] Removed logging
* [DDW-759] Amended oversaturation component css class for centering text
* [DDW-759] Updated CHANGELOG
* [DDW-759] Fixed flow types
* [DDW-759] Adjusted line-height of over-saturation warning
* [DDW-759] Updated over-saturation check to ignore already delegating pool
* [DDW-759] Removed unused import
* [DDW-759] Updated css properties for over-saturation component
* [DDW-759] Handle pre-selected pool with fee calculation
* [DDW-759] Prevent modal overlay scroll
* [DDW-759] Prevent any modal body overflow
* [DDW-759] Adjusted CSS of over-saturation messages to match updated designs
* [DDW-759] Use updated circulating supply figure, fast exit over-saturation calculations
* [DDW-759] Updated condition for checking over-saturation
* [DDW-759] Formatted over-saturation warning with 2 decimal places
Co-authored-by: Daniel Main <[email protected]>
Co-authored-by: Daniel Main <[email protected]>1 parent 714306b commit 8b2d51f
File tree
18 files changed
+777
-564
lines changed- source/renderer/app
- components/staking
- delegation-setup-wizard
- stake-pools
- config
- containers/staking/dialogs
- i18n/locales
- themes/overrides
- storybook/stories/staking
18 files changed
+777
-564
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
Lines changed: 29 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
48 | 67 | | |
49 | 68 | | |
50 | 69 | | |
| |||
88 | 107 | | |
89 | 108 | | |
90 | 109 | | |
| 110 | + | |
91 | 111 | | |
92 | 112 | | |
93 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
94 | 119 | | |
95 | 120 | | |
96 | 121 | | |
| |||
132 | 157 | | |
133 | 158 | | |
134 | 159 | | |
| 160 | + | |
| 161 | + | |
135 | 162 | | |
136 | 163 | | |
137 | 164 | | |
| |||
150 | 177 | | |
151 | 178 | | |
152 | 179 | | |
| 180 | + | |
153 | 181 | | |
154 | 182 | | |
155 | 183 | | |
| |||
0 commit comments