feat: tabbed overview of deployment/logs/errors/etc. on deploy #613

Open
opened 2025-08-25 10:15:00 +00:00 by decentral1se · 4 comments
Owner

Follows #596 (comment).

In combination with #550 we should have something much improved.

UI propsal coming from #613 (comment) 🤓

  • deployment progress
  • logs
  • tasks (maybe combined with healthchecks)
  • healthchecks

This will be key controlled and interactive. Then it's just one view at a time and simpler to manage.

Follows https://git.coopcloud.tech/toolshed/abra/issues/596#issuecomment-26013. In combination with https://git.coopcloud.tech/toolshed/abra/issues/550 we should have something much improved. UI propsal coming from https://git.coopcloud.tech/toolshed/abra/issues/613#issuecomment-26713 🤓 * deployment progress * logs * tasks (maybe combined with healthchecks) * healthchecks This will be key controlled and interactive. Then it's just one view at a time and simpler to manage.
decentral1se added this to the Abra v0.11.x project 2025-08-25 10:15:00 +00:00
decentral1se self-assigned this 2025-08-25 10:15:04 +00:00
decentral1se moved this to In Progress in Abra v0.11.x on 2025-08-25 10:15:42 +00:00
Author
Owner

We need to bring in the docker stack ps --no-trunc output as well, it's super useful. Whhhhy don't we have this still 🤷

toolshed/organising#339 toolshed/organising#225

8f25f4fb24/cli/command/stack/swarm/ps.go (L14-L36)

We need to bring in the `docker stack ps --no-trunc` output as well, it's *super* useful. Whhhhy don't we have this still 🤷 https://git.coopcloud.tech/toolshed/organising/issues/339 https://git.coopcloud.tech/toolshed/organising/issues/225 https://github.com/docker/cli/blob/8f25f4fb24b8946ca7bf6805f341a08b62eb9577/cli/command/stack/swarm/ps.go#L14-L36
Author
Owner

Starting to really think we need a sort of "tabbed" view with the likes of #550 coming down the tubes! It's too much vertical scroll if we have an overview, a polling output and then logs? There are sooooo much logs from even the minimal single container deployments. I think we might need to punt this out to the following version of abra because it's looking like it needs a definite design discussion.

This would also cover #550 (comment) where we basically enter a bubbletea loop as soon as we start the deploy overview, meaning we are in full control of the output screen and can detect key presses, switch tab view / fully switch over to the logs and back to the polling progress again - all in parallel.

If someone has less ambitious plans, please let me know. Gonna punt this out to "abra next next" 🤸

Starting to really think we need a sort of "tabbed" view with the likes of https://git.coopcloud.tech/toolshed/abra/issues/550 coming down the tubes! It's too much vertical scroll if we have an overview, a polling output and then logs? There are sooooo much logs from even the minimal single container deployments. I think we might need to punt this out to the following version of `abra` because it's looking like it needs a definite design discussion. This would also cover https://git.coopcloud.tech/toolshed/abra/issues/550#issuecomment-26712 where we basically enter a `bubbletea` loop as soon as we start the deploy overview, meaning we are in full control of the output screen and can detect key presses, switch tab view / fully switch over to the logs and back to the polling progress again - all in parallel. If someone has less ambitious plans, please let me know. Gonna punt this out to "abra next next" 🤸
decentral1se modified the project from Abra v0.11.x to Abra v0.12 2025-09-04 08:47:53 +00:00
decentral1se moved this to Prioritised in Abra v0.12 on 2025-10-01 10:21:54 +00:00
Author
Owner

Let's merge #667 in here too.

Let's merge https://git.coopcloud.tech/toolshed/abra/issues/667 in here too.
decentral1se changed title from Show logs of deployment on `deploy`/`upgrade`/`rollback` to feat: tabbed overview of deployment/logs/errors/etc. on deploy 2025-10-01 10:44:42 +00:00
decentral1se moved this to In Progress in Abra v0.12 on 2025-10-02 09:06:04 +00:00
decentral1se added the
enhancement
label 2025-10-02 09:11:26 +00:00
decentral1se moved this to Prioritised in Abra v0.12 on 2025-10-03 17:08:11 +00:00
decentral1se moved this to Backlog in Abra v0.12 on 2025-10-17 17:31:37 +00:00
decentral1se moved this to Prioritised in Abra v0.12 on 2025-10-25 08:06:17 +00:00
Author
Owner

I have a prototype for this. Adding a "navigation" menu to the deploy overview:

[s]tatus [l]ogs [e]rrors

That allows you tab switch to logs/errors and back to status with the key in the [...].

The errors output will be the docker service ps --no-trunc / healthcheck output / etc. It might be nice to separate this and just stream everything vs. detect if something is an error. Then doing [t]asks [h]ealth or something. Feedback welcome!

I'll add * if new output is shown (e.g. [s]tatus*) so there is some "alert" to the end-user of new output.

I have a prototype for this. Adding a "navigation" menu to the deploy overview: > [s]tatus [l]ogs [e]rrors That allows you tab switch to logs/errors and back to status with the key in the `[...]`. The errors output will be the `docker service ps --no-trunc` / healthcheck output / etc. It might be nice to separate this and just stream everything vs. detect if something is an error. Then doing `[t]asks [h]ealth` or something. Feedback welcome! I'll add `*` if new output is shown (e.g. [s]tatus*) so there is some "alert" to the end-user of new output.
decentral1se moved this to In Progress in Abra v0.12 on 2025-10-26 11:01:48 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: toolshed/abra#613
No description provided.