kedro-org / kedro-viz

Visualise your Kedro data and machine-learning pipelines and track your experiments.
https://demo.kedro.org
Apache License 2.0
647 stars 106 forks source link

Ability to retrieve hosted shareable viz url #1851

Closed stephkaiser closed 1 month ago

stephkaiser commented 3 months ago

Description

Currently after users publish kedro-viz and retrieve a hosted url, users need to save this link somewhere outside of kedro-viz otherwise the published url is lost, unless users are able to locate it within their hosting provider like in the AWS console. Another work-around is users can redeploy each time to retrieve a new hosted url again. To avoid this pain point for users, how might we provide users with the ability to retrieve the hosted url they have already generated?

Possible Implementation

A suggestion would be to save a published url within kedro-viz and provide users the option to 1) retrieve the hosted url, or 2) redeploy and retrieve a new hosted url if they have new updates to publish.

@stephkaiser to brainstorm and provide design recommendations.

Huongg commented 3 months ago

another idea we can add is somewhere to store the sharable URL in the UI so user can easily copy and paste.

I sometimes have to re-publish everything, or have to go to AWS console to get the URL link.

stephkaiser commented 3 months ago

another idea we can add is somewhere to store the sharable URL in the UI so user can easily copy and paste.

I sometimes have to re-publish everything, or have to go to AWS console to get the URL link.

thats a great point @Huongg we had thought of that initially when we worked on shareable viz but we decided to leave it for a future version and never came back to it. I think that is quite important for users so they dont have to republish every time. Designs were already completed for this as well.

Link to shareable viz v2+ ticket https://github.com/kedro-org/kedro-viz/issues/1531

Huongg commented 3 months ago

@stephkaiser do you mind sharing the design for this please ( i couldnt see it in the ticket you shared). If it's something we can get it done quickly, perhaps it can be a quick win.

cc @rashidakanchwala @astrojuanlu

stephkaiser commented 2 months ago

@Huongg you can find the latest designs here - https://www.figma.com/file/3kSpvIO1veLKfy9qHxuXwF/Kedro-WIP?type=design&node-id=1411-87299&mode=design&t=bSwcXxbq95GPPfud-4

TBC items discussed:

Huongg commented 2 months ago

Hi @stephkaiser, I've discussed this further with the rest of the engineering team in kedro-viz today. Here is a quick summary of what we discussed:

Is it possible to save form information so users don't need to complete the form again after the first time?

Is it possible to find out if a published url is outdated so we can let users know their published link is different to their current version?

cc @astrojuanlu @rashidakanchwala

stephkaiser commented 2 months ago

thanks @Huongg!

For your comment on saving form information, that sounds good to me!

Further design question: What happens if a user publishes on more than one hosting platform? This might be a very edge scenario unlikely to happen, but worth considering. If there's any quick way we can address this with a simple design (e.g., dropdown), it can be a quick change

On the above^, this is a good point and definitely worth considering. I will make minor tweaks to the designs so we can cover this scenario as well.

For the second topic on: Is it possible to find out if a published url is outdated so we can let users know their published link is different to their current version?

This was actually one of the most requested feature when I did usability testing for shareable viz, almost every user I tested with asked for this so we do have good evidence that there is a user need. Since it's a large technical effort, let's discuss potential ways we can make this smaller in scope - for example, we don't need a comparison here just a signal to users that it's time for them to republish as their current link is outdated. Not sure if this is still quite complex or not but lets discuss and see what is possible :) Also we can open a separate ticket for this topic as well if it requires further investigation

cc @rashidakanchwala

stephkaiser commented 2 months ago

Hey @Huongg, I've updated the designs now to include a design for when a user publishes on more than one hosting platform, and I also added a Endpoint url tooltip - https://www.figma.com/file/3kSpvIO1veLKfy9qHxuXwF/Kedro-WIP?type=design&node-id=1411-87299&mode=design&t=bSwcXxbq95GPPfud-4

Let me know what you think :)

stephkaiser commented 2 months ago

I've created a separate ticket for: Is it possible to find out if a published url is outdated so we can let users know their published link is different to their current version?

here - https://github.com/kedro-org/kedro-viz/issues/1890

Huongg commented 2 months ago

thank you very much @stephkaiser. I've left a few comments/questions in the design file btw. Let me know if you want to discuss them quickly on a call?