Skip to content

feat(config): ProxyJump visualization, drag reorder, order hint#16

Merged
luizomf merged 1 commit into
mainfrom
feat/config-enhancements
Mar 25, 2026
Merged

feat(config): ProxyJump visualization, drag reorder, order hint#16
luizomf merged 1 commit into
mainfrom
feat/config-enhancements

Conversation

@luizomf
Copy link
Copy Markdown
Owner

@luizomf luizomf commented Mar 25, 2026

Summary

  • ProxyJump chain visualization: when a host has ProxyJump set, an inline diagram shows the hop path (Você → bastion → db-server). Multi-hop chains are resolved by following ProxyJump references through other defined hosts. Circular refs are handled.
  • Drag-and-drop reorder: host cards are draggable. Output reflects the visual order. A hint note appears when 2+ hosts are present: "A ordem importa — o SSH usa o primeiro Host que combinar."
  • Drag handle: ☰ icon on each card header for discoverability.
  • Wildcards already work in the Host field — the generator handles them natively.
  • All 114 tests pass.

Closes #7

Test plan

  • Add bastion + db-server with ProxyJump → chain diagram shows "Você → bastion → db-server"
  • Change ProxyJump value → chain updates live
  • Remove ProxyJump → chain hides
  • Multi-hop: A → B → C shows full chain
  • Drag a card to reorder → output updates with new order
  • Order hint shows when 2+ hosts, hides when 0-1
  • Use-case "bastion host" card → chain appears on db-server
  • Wildcard host (e.g., "*.prod") accepted in Host field

🤖 Generated with Claude Code

- ProxyJump chain: when a host has ProxyJump set, show an inline
  diagram (Você → bastion → db-server). Multi-hop chains are resolved
  by following ProxyJump references through other defined hosts.
- Drag-and-drop: host cards are draggable to reorder. Output reflects
  the visual order. A hint reminds users that SSH uses first-match.
- Drag handle (☰) on each card header for discoverability.
- Wildcards already work in the Host field (the generator handles them).

Closes #7

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@luizomf luizomf merged commit 75e0dfb into main Mar 25, 2026
@luizomf luizomf deleted the feat/config-enhancements branch March 25, 2026 11:58
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.

feat(config): wildcard hosts, ProxyJump visualization, and drag reorder

1 participant