Giter Site home page Giter Site logo

Comments (3)

crschnick avatar crschnick commented on May 25, 2024

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?

from xpipe.

AirMarty avatar AirMarty commented on May 25, 2024

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

from xpipe.

crschnick avatar crschnick commented on May 25, 2024

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

from xpipe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.