Commit 9062ab9
authored
fix: clarify fee-adjusted vault returns
## Why
Net return figures can appear unexpectedly negative when a vault charges an entry or withdrawal fee. The return cells should make that adjustment visible and explain it.
## Lessons learnt
Transaction fees are represented in the net fee schedule, so the UI should only flag net returns when a non-zero deposit or withdrawal fee is reported. Tooltip width needs a shared limit to remain readable.
## Summary
- add dashed, explanatory fee tooltips to affected net return and net CAGR cells
- cap shared tooltips at 300px
- document tooltip-width review guidance for Svelte UI changes1 parent 983dbc2 commit 9062ab9
3 files changed
Lines changed: 39 additions & 2 deletions
File tree
- src
- lib/components
- routes/trading-view/vaults/[vault=slug]
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
Lines changed: 36 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
53 | 69 | | |
54 | 70 | | |
55 | 71 | | |
| |||
174 | 190 | | |
175 | 191 | | |
176 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
177 | 197 | | |
178 | 198 | | |
179 | 199 | | |
| |||
203 | 223 | | |
204 | 224 | | |
205 | 225 | | |
206 | | - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
207 | 238 | | |
208 | 239 | | |
209 | 240 | | |
| |||
272 | 303 | | |
273 | 304 | | |
274 | 305 | | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
275 | 310 | | |
276 | 311 | | |
277 | 312 | | |
| |||
0 commit comments