chore: drop legacy #id_tithe_token_shop block from Balances applet — Chunk 5 (final) of [[project-wallet-shop-expansion]]. The inline 1 Tithe Token +144 Writs $1.00 / 5 Tithe Tokens +750 Writs $4.00 token-bundle HTML in _applet-wallet-balances.html was display-only (no purchase wiring was ever attached) + has been fully superseded by the dedicated Shop applet shipped in Chunks 2-4. Per the locked decision in the scope doc, Balances is now read-only — writs + esteem totals only — and the Shop is the canonical purchase surface. **Removed**: 8 lines of <div id="id_tithe_token_shop"> w. 2 .token-bundle children. **Replaced with** a {% comment %} pointer noting the move so the next archeologist looking at the Balances HTML doesn't reinvent the wheel. **Dropped tests**: WalletViewTest.test_wallet_page_shows_tithe_token_shop + :test_tithe_token_shop_shows_bundle ITs + the legacy test_user_can_purchase_tithe_token_bundle FT — all asserted the now-removed selector. Replaced w. a comment pointing to the 3 new shop FTs (test_shop_applet_renders_seeded_items_with_icons_and_badges, test_shop_buy_click_opens_guard_portal_with_purchase_prompt, test_shop_band_already_owned_shows_disabled_buy_btn) + the model + view ITs in test_shop_models.py + test_shop_views.py. 1206 IT/UT (was 1208 — 2 stale ITs gone) + 8 wallet FTs (was 9 — 1 stale FT gone) green
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -2,19 +2,13 @@
|
||||
id="id_wallet_balances"
|
||||
style="--applet-cols: {{ entry.applet.grid_cols }}; --applet-rows: {{ entry.applet.grid_rows }};"
|
||||
>
|
||||
{% comment %}
|
||||
Tithe purchase UI was moved out to the dedicated Shop applet in
|
||||
Chunk 5 of [[project-wallet-shop-expansion]] — the Shop is the
|
||||
canonical purchase surface; Balances is read-only (writs + esteem
|
||||
totals).
|
||||
{% endcomment %}
|
||||
<h2>Balances</h2>
|
||||
<div><i class="fa-solid fa-ticket"></i>: <span id="id_writs_balance">{{ wallet.writs }}</span></div>
|
||||
<div>Esteem: <span id="id_esteem_balance">{{ wallet.esteem }}</span></div>
|
||||
<div id="id_tithe_token_shop">
|
||||
<div class="token-bundle" data-qty="1" data-price-cents="100">
|
||||
<span class="bundle-qty">1 Tithe Token</span>
|
||||
<span class="bundle-writs">+144 Writs</span>
|
||||
<span class="bundle-price">$1.00</span>
|
||||
</div>
|
||||
<div class="token-bundle" data-qty="5" data-price-cents="400">
|
||||
<span class="bundle-qty">5 Tithe Tokens</span>
|
||||
<span class="bundle-writs">+750 Writs</span>
|
||||
<span class="bundle-price">$4.00</span>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user