Commit d94df04
feat(treasury): drop Member Activity and the source tiles, name the subnet
Three changes to /treasury, grouped because they all touch the same page and
the same area of it.
Member Activity leaves the treasury page. The chart, its hook and its i18n keys
all stay — HomeStaticContent still renders it — so this removes the usage, not
the component. The chart row goes from three columns to two.
The inflow source tiles go too. Their aggregate ("Subnet · 5 entries") was the
summary above the list; the per-row badges stay, since telling each credit apart
is what that panel is for. `inflows.entries` and `inflows.sources` were left
orphaned and are removed.
The badge reads "Morpheus Subnet" instead of "Subnet", and that rename has a
consequence worth spelling out. The tagging rule treats every USDC credit from
the SplitsWarehouse as subnet income, which holds only because the subnet split
is currently the sole 0xSplits paying this treasury. The first rider sponsorship
payout will leave the same address — and where "Subnet" was vague enough to slip
by, "Morpheus Subnet" would put a specific false claim on a public treasury page.
The warning beside `splitsAmbiguous` now says so directly: disambiguating stopped
being cosmetic the day that string changed.
i18n parity: 52 keys per locale, identical order.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent d72aa07 commit d94df04
5 files changed
Lines changed: 16 additions & 43 deletions
File tree
- messages
- en
- pt-br
- src
- app/[locale]/treasury
- components/treasury
- services
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
| 76 | + | |
78 | 77 | | |
79 | | - | |
80 | | - | |
| 78 | + | |
81 | 79 | | |
82 | 80 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
| 76 | + | |
78 | 77 | | |
79 | | - | |
80 | | - | |
| 78 | + | |
81 | 79 | | |
82 | 80 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | 68 | | |
76 | 69 | | |
77 | 70 | | |
| |||
136 | 129 | | |
137 | 130 | | |
138 | 131 | | |
139 | | - | |
| 132 | + | |
140 | 133 | | |
141 | 134 | | |
142 | 135 | | |
143 | 136 | | |
144 | 137 | | |
145 | 138 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | 139 | | |
150 | 140 | | |
151 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | 79 | | |
104 | 80 | | |
105 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
141 | 152 | | |
142 | 153 | | |
143 | 154 | | |
| |||
0 commit comments