Skip to content

feat: add server rebuild with image picker#39

Merged
larkly merged 1 commit intomainfrom
worktree-indexed-plotting-hummingbird
Mar 27, 2026
Merged

feat: add server rebuild with image picker#39
larkly merged 1 commit intomainfrom
worktree-indexed-plotting-hummingbird

Conversation

@larkly
Copy link
Copy Markdown
Owner

@larkly larkly commented Mar 27, 2026

Summary

  • Adds ctrl+g keybinding to rebuild servers from list or detail view
  • Filterable image picker modal (follows serverresize pattern)
  • Current image marked with ★, MinDisk/MinRAM columns shown
  • Inline destructive confirmation (y/n) before calling Nova servers.Rebuild
  • ServerImageID() accessor added to serverdetail

Closes #23

Test plan

  • Press ctrl+g on server list → image picker loads from Glance
  • Current image marked with ★ and dimmed
  • Filter images with /, navigate with ↑↓
  • Press Enter → inline "Rebuild with X? This is destructive! [y/n]"
  • Press y → spinner, status bar shows "Rebuilt "
  • Press n → returns to image selection
  • Press Esc → dismisses modal without action
  • Same flow from server detail view
  • Help shows ctrl+g rebuild in both sections

Adds rebuild action accessible from server list and detail views.
Opens a filterable image picker modal, marks current image with ★,
and includes inline destructive confirmation (y/n) before calling
Nova servers.Rebuild API.

Closes #23
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.

Server rebuild with image picker

1 participant