canonical / juju-dashboard

View the real-time status of your Juju or JAAS environment.
https://juju.is
GNU Lesser General Public License v3.0
23 stars 23 forks source link

No way of retreviing the application IP from the message field #973

Closed anthonydillon closed 1 year ago

anthonydillon commented 3 years ago

Describe the bug When deploying some applications the next thing you want to do is to is hit the installed instance. This often appears as a message on the application. This is currently "impossible".

To Reproduce Steps to reproduce the behaviour:

  1. Ensure you switch to the JAAS controller

  2. Run juju add-model chat aws/eu-central-1 (or any region)

  3. Run juju deploy cs:mattermost

  4. Run juju deploy cs:postgresql

  5. Run juju add-relation mattermost postgresql:db

  6. Run juju expose mattermost

  7. Run juju status once all is idle then see the IP to hit the instance is a message in the CLI which is a link fo easy access.

  8. Open the latest dashboard at https://staging.jaas.ai/models

  9. Go into the "chat" model

  10. Go into "mattermost"

  11. Now remember the most important thing I'm looking for is the URL to the instance

  12. See that the message is cut off (on a desktop screen) so I can't see the full URL. image

  13. Hovering shows me the message but I would have to remember it and retype it.

  14. Clicking on the message loads the unit view which does display the full message but it has moved to a different part of the UI and the URL is still not a link: image

  15. When I go to copy the URL from the info panel. I accidentally hover the side navigation I trigger the side nav which covers the message :angry:

  16. Going into the machine view has the message too but its even worse: image

  17. At this point I go back to the CLI and hit ctrl+click the URL in the status message and I'm there.

Expected behaviour I know that this is a bunch of issues so feel free to turn this into an epic to cover the following points:

Video Peek 2021-04-27 10-23

anthonydillon commented 3 years ago

@hatched could you add a priority label please.