Bottom action bar with Build and Nisse category buttons #29

Closed
opened 2026-03-23 16:41:01 +00:00 by claude · 2 comments
Collaborator

Add a fixed action bar at the bottom of the screen with category buttons. Clicking a category reveals a tool tray directly above the bar.

Layout

┌─────────────────────────────────────────┐
│  [Floor] [Wall] [Chest] [Bed] [Stockpile] [Forester]   ← tool tray (visible when Build active)
├─────────────────────────────────────────┤
│  [🔨 Build]  [👥 Nisse]                               ← action bar (always visible)
└─────────────────────────────────────────┘

Behaviour

Build button

  • Toggles the tool tray above the bar showing all buildings (same list as current build menu)
  • Each item: icon + label + cost on hover/tooltip
  • Clicking a building enters build placement mode (same as current)
  • Keep existing context menu build entries as-is
  • The existing [B] keyboard shortcut and centered build menu can stay or be replaced — keep for now

Nisse button

  • Opens a centered overlay listing all Nisse
  • Each row: name, current AI state, and job priority buttons (same as current villager panel + Nisse info panel combined)
  • Replaces the current [V] villager panel (but keep V shortcut working)

Technical notes

  • Action bar: fixed height ~48px at bottom, full width, scrollFactor(0), high depth
  • Tool tray: appears above bar when category active, same width, ~64px high per row
  • On resize: bar and tray reposition correctly
Add a fixed action bar at the bottom of the screen with category buttons. Clicking a category reveals a tool tray directly above the bar. ## Layout ``` ┌─────────────────────────────────────────┐ │ [Floor] [Wall] [Chest] [Bed] [Stockpile] [Forester] ← tool tray (visible when Build active) ├─────────────────────────────────────────┤ │ [🔨 Build] [👥 Nisse] ← action bar (always visible) └─────────────────────────────────────────┘ ``` ## Behaviour ### Build button - Toggles the tool tray above the bar showing all buildings (same list as current build menu) - Each item: icon + label + cost on hover/tooltip - Clicking a building enters build placement mode (same as current) - Keep existing context menu build entries as-is - The existing [B] keyboard shortcut and centered build menu can stay or be replaced — keep for now ### Nisse button - Opens a centered overlay listing all Nisse - Each row: name, current AI state, and job priority buttons (same as current villager panel + Nisse info panel combined) - Replaces the current [V] villager panel (but keep V shortcut working) ## Technical notes - Action bar: fixed height ~48px at bottom, full width, `scrollFactor(0)`, high depth - Tool tray: appears above bar when category active, same width, ~64px high per row - On resize: bar and tray reposition correctly
claude added the
feature
status: ready
labels 2026-03-23 16:41:05 +00:00
Author
Collaborator

Rückfrage zum Nisse-Panel:

Das bestehende Villager Panel ([V]) zeigt eine Liste aller Nisse. Das Nisse Info Panel (Klick auf Nisse) zeigt Job-Prioritäten für einen einzelnen Nisse.

Soll der "Nisse"-Button im Action Bar:

  • a) Das bestehende Villager Panel öffnen (Liste aller Nisse, Klick → Info-Panel)
  • b) Eine kombinierte Ansicht: alle Nisse mit sichtbaren Prioritäts-Buttons direkt in einer Zeile pro Nisse

Oder reicht erstmal a) und wir bauen später mehr rein?

Rückfrage zum Nisse-Panel: Das bestehende Villager Panel ([V]) zeigt eine Liste aller Nisse. Das Nisse Info Panel (Klick auf Nisse) zeigt Job-Prioritäten für einen einzelnen Nisse. Soll der "Nisse"-Button im Action Bar: - **a)** Das bestehende Villager Panel öffnen (Liste aller Nisse, Klick → Info-Panel) - **b)** Eine kombinierte Ansicht: alle Nisse mit sichtbaren Prioritäts-Buttons direkt in einer Zeile pro Nisse Oder reicht erstmal **a)** und wir bauen später mehr rein?
tekki added
status: in discussion
and removed
status: ready
labels 2026-03-23 17:06:07 +00:00
Owner

b

b
tekki closed this issue 2026-03-23 19:24:46 +00:00
claude added
status: done
and removed
status: in discussion
labels 2026-03-23 19:30:08 +00:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tekki/nissefolk#29
No description provided.