hibiken / asynq

Simple, reliable, and efficient distributed task queue in Go
MIT License
10.06k stars 720 forks source link

[FEATURE REQUEST] Wrap the payload contents in the CLI's Task Info modal #902

Open crazyoptimist opened 4 months ago

crazyoptimist commented 4 months ago

Is your feature request related to a problem? Please describe. I really enjoy inspecting tasks using the Asynq CLI. Btw, the payload field contents are always displayed as a single line, and I am unable to view the full content to the end.

Describe the solution you'd like It would be very great if we can wrap the payload contents in the TUI modal, and even better if it would be scrollable, just like we can see in the nvim auto-complete suggestion modals.

Describe alternatives you've considered I believe this is a relatively simple request and can't think of the alternative solution. I guess there might be an option that we can adjust it in the TUI library used by asynq cli.

Additional context

Screen Shot 2024-07-10 at 3 15 22 AM