InseeFrLab / onyxia

🔬 Data science environment for k8s
https://onyxia.sh
MIT License
432 stars 78 forks source link

Cannot choose the desired ingress path to redirect to when clicking on the "Open the service" button #825

Closed slim0 closed 4 weeks ago

slim0 commented 1 month ago

Currently, the onyxia-api is returning all the ingresses' URL paths and the onyxia-ui is sorted them by alphabetic order. Then the first one is selected as being the one to open when clicking on the "Open the service" button (after a service has been launched).

It would be great to find a way to select the desired ingress rule we want to open when clicking on that button.

Please let us know what you think about that.

fcomte commented 1 month ago

What would be the experience ?

fcomte commented 1 month ago

It seem to me complexe to offer a better experience than today. Giving contextual usage of thoses links in the Note.txt (under the control of the chart owner ) is standard.

Having a default main URL seem also important ( and yes we don't have any other idea than this poor logic ) If you have another ideas to manage this lack of metadata , tell me

garronej commented 1 month ago

sorted them by alphabetic order

Damn it, we got exposed

slim0 commented 1 month ago

Having a default main URL seem also important ( and yes we don't have any other idea than this poor logic ) If you have another ideas to manage this lack of metadata , tell me

I didn't have ideas actually ^^

fcomte commented 1 month ago

we have already think of managing a json format inside note.txt to let chart owner specify more metadata but it's not standard.. so we finally decided to let it simple like today.

fcomte commented 4 weeks ago

@slim0 I am closing this. Feel free to re-open it when someone have an idea how to handle thoses links differently than today