Skip to content

add basic error handling for filemanager - #236

Merged
davixcky merged 5 commits into
traffic-tuifrom
make-watcher-messaging-aware
Oct 28, 2025
Merged

davixcky merged 5 commits into
traffic-tuifrom
make-watcher-messaging-aware

Conversation

@davixcky

@davixcky davixcky commented Oct 28, 2025 •

Copy link
Copy Markdown
Contributor

This PR allows to differentiate in the TUI if there is an error without panic

image image

@gitar-bot

gitar-bot Bot commented Oct 28, 2025 •

Copy link
Copy Markdown

Gitar analyzes/fixes CI failures, runs prompts as workflows and addresses comments starting with Gitar.

⚙️ Options:

  • Automatically accept changes

📝 Submit Feedback

Comment thread internal/tui/components/status.go Resolved
Comment thread internal/tui/filemanager/config.go Resolved
Comment thread internal/tui/filemanager/config.go Resolved
@davixcky davixcky mentioned this pull request Oct 28, 2025
@davixcky

Copy link
Copy Markdown
Contributor Author

@scott-cotton all comments addressed

@davixcky
davixcky requested a review from scott-cotton October 28, 2025 14:54

@scott-cotton scott-cotton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@davixcky
davixcky merged commit dbacbd8 into traffic-tui Oct 28, 2025
@davixcky
davixcky deleted the make-watcher-messaging-aware branch October 28, 2025 16:19
davixcky added a commit that referenced this pull request Oct 28, 2025
* add traffic inspect command (#225)

* add traffic inspect command

* add support for wait and reword messages

* fix pr comments

* Skeleton TUI (#226)

* skeleton tui

* fix escape logs

* only update if have too

* make sure by default nothing is selected

* move between panes and tabs with arrow

* fix wrong re-render caused by map

* use utility for setting up status

* update mock to contain routing key

* fix help menu and clear status

* center empty states

* add viewport for right panel

* make sure right pane occupy more width

* add basic paginator for left pane

* make sure left pane scroll move between pages

* make short help aware of context

* [TUI] Wiring tui traffic watch (#232)

* skeleton tui

* fix escape logs

* only update if have too

* make sure by default nothing is selected

* move between panes and tabs with arrow

* fix wrong re-render caused by map

* use utility for setting up status

* update mock to contain routing key

* fix help menu and clear status

* center empty states

* add viewport for right panel

* make sure right pane occupy more width

* add basic paginator for left pane

* make sure left pane scroll move between pages

* make short help aware of context

* remove model mock files

* add lipgloss dependency

* add simple watcher and use libconnect type:

* replace bufferred channel with non

* replace round with ceiling

* fix build

* load absolute meta, request and response

* rename symbol

* rename symbol

* pass record dir and meta format

* fix build

* fix yaml support

* add tui call from the inspect

* add tui flag in record

* make sure inspect look for json

* remove hardcoded path

* rename tui flag to inspect

* remove tui cmd

* remove models directory and move loader to utils (#234)

* use pointers for http.{Request,Response}

* make sure width is valid for logs

* disable logs temporarily

* add basic error handling for filemanager (#236)

* add basic error handling for filemanager

* make sure error message is displayed

* remove sprintf from status render

* pass pointer instead of copy on linemessages

* make union type for scanner
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.

2 participants