From 179e6f33907a52219da0ca4ec1635a37e2b4bc2f Mon Sep 17 00:00:00 2001 From: Erik Date: Mon, 7 Sep 2026 18:46:58 +0200 Subject: [PATCH] =?UTF-8?q?fix(vtank):=20slice=207=20round=20F=20item=203?= =?UTF-8?q?=20=E2=80=94=20Items=20tab=20is=20VTank=20only?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Owner's second live look: "On items tab, we show some options there right of the items we add. That should not be there. Remove that." VTank's real Items tab is exactly 6 controls (docs/research/vtank-kb/ 08-ui-views.md §1 "Tab: Items" — 2 labels, the 2-column clWeaponName/clHandedness list, Add, Add (no buffs)); mosstank.xml's Items group also carried a right-of-list block with no VTank counterpart: the Weapon/Offhand readout (MonsterEquipmentText), the Refill Worn Mana toggle + slider + its two status labels (RefillWornManaText/ItemManaRechargeStatus), and the ProfileNotice hint label. All five are deleted from the markup. The pre-existing "Remove" button stays — it traces back to the plugin's very first automation PoC commit (`4e6e9bc9d`, long before Campaign VT slice 7 existed), the accepted "slice-1 Delete" carried forward per the round's own scope. RefillWornMana/RefillWornMana-Item-ManaPercent are real VtankOptionCatalog entries (Bool/Int, not tString) — nothing was deleted from the plugin, they remain real settings, still editable in the Advanced Options popup or via `/vt opt set`; only this second, redundant Items-tab surface for them is gone. ItemManaRechargeStatus was a pure runtime status readout with no setting behind it and no VTank equivalent, so it has no replacement — matching VTank's own tab, which shows no such status either. Mutation shown to fail first: the new ItemsTabIsVtankOnlyPlusTheAcceptedSliceOneRemoveButton test asserted the Items group has no toggle/slider and no label bound to any of the four removed properties, against the UNCHANGED markup — failed on the Refill Worn Mana toggle still being present — then passed once the block was deleted from mosstank.xml. MossTank suite 723 -> 724 (one new pin); App markup/plugin filter 258/258 (unaffected — no App-side markup change). Co-Authored-By: Claude Fable 5.1 --- src/AcDream.Plugins.MossTank/mosstank.xml | 28 +++++++------ .../MossTankMarkupContractTests.cs | 41 +++++++++++++++++++ 2 files changed, 56 insertions(+), 13 deletions(-) diff --git a/src/AcDream.Plugins.MossTank/mosstank.xml b/src/AcDream.Plugins.MossTank/mosstank.xml index e33c5c2a..b0bf0934 100644 --- a/src/AcDream.Plugins.MossTank/mosstank.xml +++ b/src/AcDream.Plugins.MossTank/mosstank.xml @@ -481,14 +481,24 @@ declared list width below rather than the column itself). Name-cell click deletes the row (case 0); hands-cell click cycles handedness (case 1) — session-local only, see DeleteItemRowAt/CycleItemHandsAt's - own doc comments for why handedness isn't persisted. --> + own doc comments for why handedness isn't persisted. + + Round F item 3 (owner's second live look: "On items tab, we show + some options there right of the items we add. That should not be + there. Remove that."): deleted the whole right-of-list block + (Weapon/Offhand readout, Refill Worn Mana toggle/slider/status, + the notice hint) — VTank's real Items tab (KB table above) is + exactly the 2 labels + list + Add/Add (no buffs), nothing beside + it. The "Remove" button below stays: it traces back to the + plugin's original pre-campaign automation PoC (`4e6e9bc9d`), the + accepted "slice-1 Delete" this round keeps. RefillWornMana/ + RefillWornMana-Item-ManaPercent are real VtankOptionCatalog + entries (not tString) — still real settings, still editable in + the Advanced Options popup or via `/vt opt set`; only this + second, redundant Items-tab surface for them is gone. -->