kaoto-ui
kaoto-ui copied to clipboard
Creating a new Route closes all previously opened Route views in canvas
Please describe the feature that you want to propose
I think this behaviour could be also revisited - in case the users opened several routes, on which they want to work - it probably should stay opened after they add new route to the canvas.
I never thought that I would ever say this, but this is not a bug but a feature :sweat_smile: :see_no_evil:
Jokes aside, showing only the first route is the "intended" behavior, but now that you raise this topic, I'm wondering if this might be confusing to the user. I'll ask for feedback in the meantime, to provide a different behavior.
Maybe an alternative could be to add the new route and focus the canvas on that route and from that point, the user can hide the rest if needed.
@lordrip I see what you mean - agree that the focus on the single newly created route makes sense. We can close this, or have a UX review first and decide based on the feedback.
If you don't mind @tplevko, I would like to keep this issue, because I think that it makes sense what you're mentioning, in the sense that this behavior might not be optimal, it's just that I don't have an alternative yet.
It is worth mentioning that this might completely change once we add multiple resources support.
Maybe an alternative could be to add the new route and focus the canvas on that route and from that point, the user can hide the rest if needed.
I vote for this alternative