Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appearance setting plan to have compact or condensed mode #138

Closed
AirMarty opened this issue Dec 26, 2023 · 5 comments
Closed

Appearance setting plan to have compact or condensed mode #138

AirMarty opened this issue Dec 26, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@AirMarty
Copy link

Hi,
again good work for your tool , I'd like to know if you plan to have compact mode for display docker env cause I own lot of environnement and the font size (too big) let only display the prefixes of my scalable env but wihtout showing instance number and/or full name which mean I have display like this :

image

The result is I can not distinguish which instance it is.

Do you plan to add some settings to make it more readable ?
(I try to join screen capture with this issue)

@crschnick
Copy link
Contributor

Hmm I see how that can be problematic.

So the best way would be cut off the suffix and also limit the amount of characters I guess?

@crschnick crschnick added the enhancement New feature or request label Dec 26, 2023
@AirMarty
Copy link
Author

AirMarty commented Dec 26, 2023

You're right long documented name from swarm is a problem ; in production we dont need all these kind of details but sometimes when nothing working you have to control in detail and it's really painfull to find relevant information due to swarm verbosity.
IMAO Up xx minutes is less important than knowing the exact container name and also the fact that prefix name is fixed by user/app ("my stack name"+"my docker name" + "swarmid") and suffix is swarm generated which is not the most relevant part for me.

I dont know if you have other use cases from users ?

Regards,
RMA

@crschnick
Copy link
Contributor

So I experimented with various things and came to the realization that whatever I try to improve your situation, I might make other cases worse because which part of the naming scheme is important for someone changes for various different connection types and use cases.

I settled on two things for now:

  • I reworked the layout to better handle longer names in general
  • I added the ability to quickly rename any entries without having to validate the connection. So you can just click on edit for any container and change the name. It will also persist on refresh. That way you can quickly set a recognizable display name while still also having access to the original name if you go to details

You can try out how this works for you in the latest version of https://github.com/xpipe-io/xpipe-ptb

@crschnick
Copy link
Contributor

The changes are now included in the latest release.

It's not perfect bud should make it a little bit more manageable

@crschnick
Copy link
Contributor

With the latest quick access functionality, the full name should be visible when opening the quick access menu. I guess this can be closed. It's not a perfect solution, but I don't think we can't find anything better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants