Change chaos version marker for size constrained layouts? #447

Open
opened 2023-04-16 11:26:42 +00:00 by decentral1se · 1 comment
Owner

343b2bfb91/pkg/recipe/recipe.go (L420)

	if !isClean {
		version = fmt.Sprintf("%s + unstaged changes", version)
	}

@moritz could we change this to:

	if !isClean {
		version = fmt.Sprintf("%s*", version)
	}

Where * signals "unstaged changes". Or some other shorter marker?

This is because we are already quite constrained in the screen real estate we have for laying out versions and such on abra app ls and in my experiments with a TUI dashboard.

So, this would save us some space for the table layouts, e.g.

image

image

https://git.coopcloud.tech/coop-cloud/abra/src/commit/343b2bfb91b583e75b4c963194208f2ca2a41e6e/pkg/recipe/recipe.go#L420 ```go if !isClean { version = fmt.Sprintf("%s + unstaged changes", version) } ``` @moritz could we change this to: ```go if !isClean { version = fmt.Sprintf("%s*", version) } ``` Where `*` signals "unstaged changes". Or some other shorter marker? This is because we are already quite constrained in the screen real estate we have for laying out versions and such on `abra app ls` and in my experiments with a TUI dashboard. So, this would save us some space for the table layouts, e.g. ![image](/attachments/6c936849-a9ea-4fe3-9192-1543d0fef623) ![image](/attachments/1fe47dfd-1a76-4a25-8821-2ecd042730e6)
decentral1se added the
design
proposal
labels 2023-04-16 11:26:42 +00:00
Member

I think this is a good idea. Maybe an extra line at the bottom *: ustaged changes would be helpful.

I think this is a good idea. Maybe an extra line at the bottom `*: ustaged changes` would be helpful.
decentral1se added this to the Critical fixes project 2023-05-08 09:45:15 +00:00
decentral1se removed this from the Critical fixes project 2023-07-25 20:07:06 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/organising#447
No description provided.