Skip to content

feat(config): move picker placement to [ui] with popup support - #37

Merged
andrewchng merged 3 commits into
mainfrom
feat/ui-picker-placement
Aug 1, 2026
Merged

feat(config): move picker placement to [ui] with popup support#37
andrewchng merged 3 commits into
mainfrom
feat/ui-picker-placement

Conversation

@andrewchng

@andrewchng andrewchng commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Move Sessionizer/Worktree picker placement out of [layout] into [ui] so workspace bootstrap config stays about focus/tabs only.
  • Support Herdr session-modal popup placement (Herdr >= 0.7.4) with optional [ui].width / [ui].height (cells or percentages like "80%").
  • Default remains overlay when [ui].placement is omitted; old [layout].placement is ignored (not a fallback).

Config

[ui]
placement = "popup"   # overlay | split | popup
width = "80%"
height = "80%"

[layout]
focus = "editor"

Test plan

  • bun test (145 tests)
  • Open sessionizer with default config → still opens as popup
  • Set [ui].placement = "popup" (+ size) → picker opens as Herdr popup
  • Confirm [layout] without placement still loads and bootstraps workspaces

Sessionizer/Worktree pickers now open via [ui].placement (overlay|split|popup)
with optional popup width/height. [layout] is bootstrap-only (focus).
New configs seed [ui].placement = "popup" with width/height 80%.
Bump min_herdr_version and README prerequisites to match popup support.
Document picker vs bootstrap scope, popup 80% defaults, legacy
[layout].placement migration, and preserve-[ui] when editing layout.
@andrewchng
andrewchng merged commit 083751e into main Aug 1, 2026
1 check passed
@andrewchng
andrewchng deleted the feat/ui-picker-placement branch August 1, 2026 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant