Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: don't quit app when dismissing error dialog without fallback view#297

Merged
clangenb merged 2 commits into
mainfrom
fix/app-error-dialog-quit
Mar 16, 2026
Merged

fix: don't quit app when dismissing error dialog without fallback view#297
clangenb merged 2 commits into
mainfrom
fix/app-error-dialog-quit

Conversation

@eldara-cruncher
Copy link
Copy Markdown
Collaborator

Summary

  • Dismissing an AppErrorMsg error dialog (e.g. from :bootstrap) with no FallbackView called goBack(), which returns tea.Quit at the root view — quitting the app
  • Now it simply closes the dialog and stays on the current view

Test plan

  • go build succeeds
  • go test ./... passes
  • golangci-lint run ./... clean
  • Manual: run :bootstrap → error dialog → press Enter → app stays open

🤖 Generated with Claude Code

eldara-cruncher and others added 2 commits March 14, 2026 08:48
The :bootstrap command will deploy swarmcli infrastructure (rbac-proxy + agent)
in the Business Edition. In the free edition it shows the standard BE feature
unavailable message.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
When an AppErrorMsg has no FallbackView set (e.g. the :bootstrap
placeholder), dismissing the error dialog called goBack() which
returns tea.Quit at the root view. Now it simply closes the dialog
and stays on the current view.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@clangenb clangenb merged commit b00dfad into main Mar 16, 2026
10 of 13 checks passed
@eldara-cruncher eldara-cruncher deleted the fix/app-error-dialog-quit branch June 5, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants