kaoto-ui icon indicating copy to clipboard operation
kaoto-ui copied to clipboard

Copy to clipboard unclear

Open skin27 opened this issue 2 years ago • 6 comments

Here some points I noticed in 0.5:

  • Unclear how to create another/new integration (after one is already created) -> Solved with multiroute - "Copy to clipboard", it was unclear that only selected text is copied. Maybe when nothing is selected copy the whole yaml? Or make the text "Copy selection to clipboard".
  • When a step is not completely configured (not all fields are filled in) the color around the step could be red (instead of blue) and the deploy button greyed out. -> Separated in https://github.com/KaotoIO/kaoto-ui/issues/901 https://github.com/KaotoIO/kaoto-ui/issues/1295

Keep up the good work,

Raymond

skin27 avatar Dec 08 '22 16:12 skin27

Hi @skin27 ! Thanks for the feedback and apologies for the delay. I'll respond to each of your points below:

Unclear how to create another/new integration (after one is already created)

Are you saying that where you clear the canvas or start from scratch is not immediately obvious, or do you mean that you would like to be able to create multiple integrations and have access to both of them from the dashboard? If it's the first point, right now we don't have persistence on refresh so simply refreshing the page should clear the integration. Otherwise, you would go to the dropdown kebab from the toolbar and click Delete, as below:

screenshot-localhost_1337-2023 02 21-13_34_16

If you mean more the second point, this is not yet supported, but we hope to do so at some point in the future (see #801).

"Copy to clipboard", it was unclear that only selected text is copied. Maybe when nothing is selected copy the whole yaml? Or make the text "Copy selection to clipboard".

I'm not able to reproduce this, but it's possible that this has been fixed since you first reported this. Pressing the Copy to clipboard button in the code editor copies all of the text in the code editor, not just the text selected. Please let me know if the issue persists for you though.

When a step is not completely configured (not all fields are filled in) the color around the step could be red (instead of blue) and the deploy button greyed out.

Thank you, this is a good point. I've created issue #1295 to address this.

kahboom avatar Feb 21 '23 13:02 kahboom

"Are you saying that where you clear the canvas or start from scratch is not immediately obvious, or do you mean that you would like to be able to create multiple integrations and have access to both of them from the dashboard? If it's the first point, right now we don't have persistence on refresh so simply refreshing the page should clear the integration. Otherwise, you would go to the dropdown kebab from the toolbar and click Delete, "

RM: Yes, I meant to create multiple flows (with persistence). One could attach a remote database or an embedded one. In Assimbly is use by default h2 (https://www.h2database.com/html/main.html). Another options is https://jsondb.io/.

Thanks for creating #1295 https://github.com/KaotoIO/kaoto-ui/issues/1295

Raymond

On Tue, Feb 21, 2023 at 2:37 PM Rachel Yordán @.***> wrote:

Hi @skin27 https://github.com/skin27 ! Thanks for the feedback and apologies for the delay. I'll respond to each of your points below:

Unclear how to create another/new integration (after one is already created)

Are you saying that where you clear the canvas or start from scratch is not immediately obvious, or do you mean that you would like to be able to create multiple integrations and have access to both of them from the dashboard? If it's the first point, right now we don't have persistence on refresh so simply refreshing the page should clear the integration. Otherwise, you would go to the dropdown kebab from the toolbar and click Delete, as below:

[image: screenshot-localhost_1337-2023 02 21-13_34_16] https://user-images.githubusercontent.com/3844502/220359223-7955ae5a-9232-4aef-8b29-9eb98a2b99b2.png

If you mean more the second point, this is not yet supported, but we hope to do so at some point in the future (see #801 https://github.com/KaotoIO/kaoto-ui/issues/801).

"Copy to clipboard", it was unclear that only selected text is copied. Maybe when nothing is selected copy the whole yaml? Or make the text "Copy selection to clipboard".

I'm not able to reproduce this, but it's possible that this has been fixed since you first reported this. Pressing the Copy to clipboard button in the code editor copies all of the text in the code editor, not just the text selected. Please let me know if the issue persists for you though.

When a step is not completely configured (not all fields are filled in) the color around the step could be red (instead of blue) and the deploy button greyed out.

Thank you, this is a good point. I've created issue #1295 https://github.com/KaotoIO/kaoto-ui/issues/1295 to address this.

— Reply to this email directly, view it on GitHub https://github.com/KaotoIO/kaoto-ui/issues/1008#issuecomment-1438506525, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFU6IHCFDQXRBYBSSNZP3BLWYTAKTANCNFSM6AAAAAASZDOEQM . You are receiving this because you were mentioned.Message ID: @.***>

skin27 avatar Feb 21 '23 14:02 skin27

A small note on the persistence, you could also use Assimbly headless:

https://hub.docker.com/assimbly

And then you could call the API:

  1. To persistently store flows (flow resource or route resource)
  2. To run Camel routes or DIL flows

When you use headless there is an OpenAPI documentation page:

http://localhost:8080/swagger-ui/index.html

On Tue, Feb 21, 2023 at 3:34 PM ski n @.***> wrote:

"Are you saying that where you clear the canvas or start from scratch is not immediately obvious, or do you mean that you would like to be able to create multiple integrations and have access to both of them from the dashboard? If it's the first point, right now we don't have persistence on refresh so simply refreshing the page should clear the integration. Otherwise, you would go to the dropdown kebab from the toolbar and click Delete, "

RM: Yes, I meant to create multiple flows (with persistence). One could attach a remote database or an embedded one. In Assimbly is use by default h2 (https://www.h2database.com/html/main.html). Another options is https://jsondb.io/.

Thanks for creating #1295 https://github.com/KaotoIO/kaoto-ui/issues/1295

Raymond

On Tue, Feb 21, 2023 at 2:37 PM Rachel Yordán @.***> wrote:

Hi @skin27 https://github.com/skin27 ! Thanks for the feedback and apologies for the delay. I'll respond to each of your points below:

Unclear how to create another/new integration (after one is already created)

Are you saying that where you clear the canvas or start from scratch is not immediately obvious, or do you mean that you would like to be able to create multiple integrations and have access to both of them from the dashboard? If it's the first point, right now we don't have persistence on refresh so simply refreshing the page should clear the integration. Otherwise, you would go to the dropdown kebab from the toolbar and click Delete, as below:

[image: screenshot-localhost_1337-2023 02 21-13_34_16] https://user-images.githubusercontent.com/3844502/220359223-7955ae5a-9232-4aef-8b29-9eb98a2b99b2.png

If you mean more the second point, this is not yet supported, but we hope to do so at some point in the future (see #801 https://github.com/KaotoIO/kaoto-ui/issues/801).

"Copy to clipboard", it was unclear that only selected text is copied. Maybe when nothing is selected copy the whole yaml? Or make the text "Copy selection to clipboard".

I'm not able to reproduce this, but it's possible that this has been fixed since you first reported this. Pressing the Copy to clipboard button in the code editor copies all of the text in the code editor, not just the text selected. Please let me know if the issue persists for you though.

When a step is not completely configured (not all fields are filled in) the color around the step could be red (instead of blue) and the deploy button greyed out.

Thank you, this is a good point. I've created issue #1295 https://github.com/KaotoIO/kaoto-ui/issues/1295 to address this.

— Reply to this email directly, view it on GitHub https://github.com/KaotoIO/kaoto-ui/issues/1008#issuecomment-1438506525, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFU6IHCFDQXRBYBSSNZP3BLWYTAKTANCNFSM6AAAAAASZDOEQM . You are receiving this because you were mentioned.Message ID: @.***>

skin27 avatar Feb 21 '23 14:02 skin27

Correct dockerhub page: https://hub.docker.com/u/assimbly

On Tue, Feb 21, 2023 at 3:38 PM ski n @.***> wrote:

A small note on the persistence, you could also use Assimbly headless:

https://hub.docker.com/assimbly

And then you could call the API:

  1. To persistently store flows (flow resource or route resource)
  2. To run Camel routes or DIL flows

When you use headless there is an OpenAPI documentation page:

http://localhost:8080/swagger-ui/index.html

On Tue, Feb 21, 2023 at 3:34 PM ski n @.***> wrote:

"Are you saying that where you clear the canvas or start from scratch is not immediately obvious, or do you mean that you would like to be able to create multiple integrations and have access to both of them from the dashboard? If it's the first point, right now we don't have persistence on refresh so simply refreshing the page should clear the integration. Otherwise, you would go to the dropdown kebab from the toolbar and click Delete, "

RM: Yes, I meant to create multiple flows (with persistence). One could attach a remote database or an embedded one. In Assimbly is use by default h2 (https://www.h2database.com/html/main.html). Another options is https://jsondb.io/.

Thanks for creating #1295 https://github.com/KaotoIO/kaoto-ui/issues/1295

Raymond

On Tue, Feb 21, 2023 at 2:37 PM Rachel Yordán @.***> wrote:

Hi @skin27 https://github.com/skin27 ! Thanks for the feedback and apologies for the delay. I'll respond to each of your points below:

Unclear how to create another/new integration (after one is already created)

Are you saying that where you clear the canvas or start from scratch is not immediately obvious, or do you mean that you would like to be able to create multiple integrations and have access to both of them from the dashboard? If it's the first point, right now we don't have persistence on refresh so simply refreshing the page should clear the integration. Otherwise, you would go to the dropdown kebab from the toolbar and click Delete, as below:

[image: screenshot-localhost_1337-2023 02 21-13_34_16] https://user-images.githubusercontent.com/3844502/220359223-7955ae5a-9232-4aef-8b29-9eb98a2b99b2.png

If you mean more the second point, this is not yet supported, but we hope to do so at some point in the future (see #801 https://github.com/KaotoIO/kaoto-ui/issues/801).

"Copy to clipboard", it was unclear that only selected text is copied. Maybe when nothing is selected copy the whole yaml? Or make the text "Copy selection to clipboard".

I'm not able to reproduce this, but it's possible that this has been fixed since you first reported this. Pressing the Copy to clipboard button in the code editor copies all of the text in the code editor, not just the text selected. Please let me know if the issue persists for you though.

When a step is not completely configured (not all fields are filled in) the color around the step could be red (instead of blue) and the deploy button greyed out.

Thank you, this is a good point. I've created issue #1295 https://github.com/KaotoIO/kaoto-ui/issues/1295 to address this.

— Reply to this email directly, view it on GitHub https://github.com/KaotoIO/kaoto-ui/issues/1008#issuecomment-1438506525, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFU6IHCFDQXRBYBSSNZP3BLWYTAKTANCNFSM6AAAAAASZDOEQM . You are receiving this because you were mentioned.Message ID: @.***>

skin27 avatar Feb 21 '23 14:02 skin27

When a step is not completely configured (not all fields are filled in) the color around the step could be red (instead of blue) and the deploy button greyed out.

Covered by: https://github.com/KaotoIO/kaoto-ui/issues/901 https://github.com/KaotoIO/kaoto-ui/issues/1295

Unclear how to create another/new integration (after one is already created)

New multi-route support should have made this more clear.

Delawen avatar Jul 17 '23 10:07 Delawen

Thanks a lot, looking forward to 1.1

skin27 avatar Jul 17 '23 12:07 skin27