Skip to content

TUI: add profile management modal#227

Merged
rmanibus merged 1 commit into
mainfrom
feat/tui-profile-modal
Apr 3, 2026
Merged

TUI: add profile management modal#227
rmanibus merged 1 commit into
mainfrom
feat/tui-profile-modal

Conversation

@rmanibus
Copy link
Copy Markdown
Contributor

@rmanibus rmanibus commented Apr 3, 2026

Summary

  • replace prompt-based profile management with a real in-TUI modal for create, edit, and delete
  • add smarter source entry with source type plus type-specific details and provider-aware auth selection
  • improve modal UX with aligned fields, required markers, inline examples, validation highlighting, and immediate Esc cancel

Closes #221

Verification

  • env GOCACHE=/tmp/cloudstic-gocache go test -count=1 ./cmd/cloudstic ./internal/tui ./internal/app ./internal/ui
  • env GOCACHE=/tmp/cloudstic-gocache GOLANGCI_LINT_CACHE=/tmp/cloudstic-golangci-lint golangci-lint run ./cmd/cloudstic ./internal/tui ./internal/app ./internal/ui

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 3, 2026

Codecov Report

❌ Patch coverage is 49.40653% with 341 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
cmd/cloudstic/cmd_tui_profile_form.go 44.07% 233 Missing and 36 partials ⚠️
internal/tui/shell.go 68.34% 30 Missing and 14 partials ⚠️
cmd/cloudstic/tui_runtime.go 39.13% 10 Missing and 4 partials ⚠️
internal/app/tui_service.go 44.00% 7 Missing and 7 partials ⚠️

📢 Thoughts on this report? Let us know!

@rmanibus rmanibus merged commit a90c630 into main Apr 3, 2026
10 of 11 checks passed
@rmanibus rmanibus deleted the feat/tui-profile-modal branch April 3, 2026 20:27
@rmanibus rmanibus added the enhancement New feature or request label Apr 3, 2026
@rmanibus rmanibus added this to the v1.15.0 milestone Apr 3, 2026
@rmanibus rmanibus added the area/tui Interactive terminal UI work label Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/tui Interactive terminal UI work enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TUI: add profile management forms for create, edit, and delete

1 participant