feat: hero selection flow, delete, and sheet redesign #27

Closed
kevin wants to merge 11 commits from dev/herolist into main
Owner

Changes

Navigation & Routing

  • Selecting a hero now navigates directly to /heroes/:id instead of /home
  • enterWorld on Home screen routes to active hero's sheet if activeHeroId is set, otherwise falls back to hero list

HeroList

  • Added delete button per hero card with confirmation dialog
  • Clears activeHeroId from localStorage if the deleted hero was active
  • Replaced single action button with hl-card-actions flex layout

HeroSheet

  • Complete layout redesign: 3-column layout (nav / hero info / abilities)
  • Left column: sticky navigation sidebar with placeholder buttons for future features (Inventar, Tagebuch, Karte, Beziehungen, Markt, Tempel)
  • Center column: hero card, image placeholder, attribute bars
  • Right column: abilities list grouped by category (Kampf, Verteidigung & Magie, Heimlichkeit & Soziales, Überleben & Handwerk) with tier labels
  • Moved deleteHero inside component scope to fix id/navigate/setError reference errors
  • Responsive: collapses to single column below 900px

CharacterCreator

  • Step 2 class selection redesigned as master-detail layout: compact list left, full stat card right
## Changes ### Navigation & Routing - Selecting a hero now navigates directly to `/heroes/:id` instead of `/home` - `enterWorld` on Home screen routes to active hero's sheet if `activeHeroId` is set, otherwise falls back to hero list ### HeroList - Added delete button per hero card with confirmation dialog - Clears `activeHeroId` from localStorage if the deleted hero was active - Replaced single action button with `hl-card-actions` flex layout ### HeroSheet - Complete layout redesign: 3-column layout (nav / hero info / abilities) - Left column: sticky navigation sidebar with placeholder buttons for future features (Inventar, Tagebuch, Karte, Beziehungen, Markt, Tempel) - Center column: hero card, image placeholder, attribute bars - Right column: abilities list grouped by category (Kampf, Verteidigung & Magie, Heimlichkeit & Soziales, Überleben & Handwerk) with tier labels - Moved `deleteHero` inside component scope to fix `id`/`navigate`/`setError` reference errors - Responsive: collapses to single column below 900px ### CharacterCreator - Step 2 class selection redesigned as master-detail layout: compact list left, full stat card right
Signed-off-by: kevin mika <mika.kevin@nexus-6.eu>
Signed-off-by: kevin mika <mika.kevin@nexus-6.eu>
Signed-off-by: kevin mika <mika.kevin@nexus-6.eu>
Author
Owner

wird lokal gemerged um Basis Signatur wieder herzustellen

wird lokal gemerged um Basis Signatur wieder herzustellen
kevin closed this pull request 2026-05-13 17:57:56 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kevin/nexus-rpg!27
No description provided.