From c0401d5c6058e113a4d70d765d89f94af4bc949c Mon Sep 17 00:00:00 2001 From: Bastian Wagner Date: Fri, 21 Aug 2026 15:06:00 +0200 Subject: [PATCH] feat(inventory): remove the requiredLevel equip gate from the detail panel The API can no longer emit ITEM_LEVEL_REQUIREMENT_NOT_MET (Task 8 removed the level gate server-side) and InventoryItem.item no longer carries requiredLevel (Task 12). Drop the characterLevel input, the meetsLevelRequirement computed, the associated template branch and copy, and the dead German error-message mapping. Update fixtures across the inventory specs to the real InventoryItem/CharacterResponse shapes. --- .../inventory-detail-panel.component.html | 6 +----- .../inventory-detail-panel.component.spec.ts | 15 ++++++--------- .../inventory/inventory-detail-panel.component.ts | 6 ------ .../inventory/inventory-page.component.html | 1 - .../inventory/inventory-page.component.spec.ts | 6 +----- .../inventory/inventory-page.component.ts | 2 -- .../features/inventory/inventory.store.spec.ts | 6 ++---- .../src/app/features/inventory/inventory.store.ts | 1 - 8 files changed, 10 insertions(+), 33 deletions(-) diff --git a/apps/web/src/app/features/inventory/inventory-detail-panel.component.html b/apps/web/src/app/features/inventory/inventory-detail-panel.component.html index e981664..0f040f1 100644 --- a/apps/web/src/app/features/inventory/inventory-detail-panel.component.html +++ b/apps/web/src/app/features/inventory/inventory-detail-panel.component.html @@ -6,7 +6,7 @@

{{ item.item.name }}

{{ rarityLabel() }}

@if (slotLabel(); as slot) { -

{{ slot }} · Stufe {{ item.item.requiredLevel }}

+

{{ slot }}

} @@ -38,10 +38,6 @@ Ausgerüstet } @else if (!isEquippable()) { Nicht ausrüstbar - } @else if (!meetsLevelRequirement()) { - } @else {