Repository navigation
[TUI] - Improve UI/UX traffic record - #238
Conversation
* add traffic inspect command * add support for wait and reword messages * fix pr comments
* 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
* 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
|
Gitar analyzes/fixes CI failures, runs prompts as workflows and addresses comments starting with ⚙️ Options:
|
|
Please add timestamps - they're necessary for basic usability IMO. |
| line2 := fmt.Sprintf(" %s [%s]", requestURI, routingKey) | ||
| line1 := fmt.Sprintf("%s %s%s", method, host, path) | ||
| line2 := fmt.Sprintf(" ↳ %s • %s", | ||
| subtleStyle.Render(req.RoutingKey), |
There was a problem hiding this comment.
We don't need to show the routing key at all - it's implied since you can only watch 1 sandbox, so, I'd think we can show it at the top of the UI and not in every request (if at all)
There was a problem hiding this comment.
The watched directories are cumulative, so the routing key may in fact vary.
There was a problem hiding this comment.
And also when we use the inspect sub-command, we are not passing the routing key
I'd propose the following for the left hand side pane. |
foxish
left a comment
There was a problem hiding this comment.
LGTM, as per our sync via DM assuming that the pending issues will be resolved in future PRs
Uh oh!
There was an error while loading. Please reload this page.