Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vdk-jupyter: add UI element indicating a VDK operation is running #2505

Merged
merged 19 commits into from
Aug 8, 2023

Conversation

yonitoo
Copy link
Contributor

@yonitoo yonitoo commented Aug 1, 2023

Why

At the moment there is no way to know if a VDK operation is running until it finishes and shows a success message or error.

What

Add a status button that pops up when a VDK operation is started and is removed when the operation finishes. When the button is clicked, a dialog shows up with more information about the current running operation.

Status button Hover Pop-up dialog

Signed-off-by: Yoan Salambashev ysalambashev@vmware.com

Yoan Salambashev added 5 commits July 25, 2023 14:14
@duyguHsnHsn
Copy link
Collaborator

Can you add a picture of the button and how it looks in the toolbar

Yoan Salambashev added 3 commits August 1, 2023 18:56
Signed-off-by: Yoan Salambashev <ysalambashev@vmware.com>
Signed-off-by: Yoan Salambashev <ysalambashev@vmware.com>
@yonitoo yonitoo changed the title Topic/ysalambashev/add status button vdk-jupyter: add UI element indicating a VDK operation is running Aug 2, 2023
@yonitoo yonitoo marked this pull request as ready for review August 2, 2023 02:55
Yoan Salambashev added 3 commits August 2, 2023 06:06
Signed-off-by: Yoan Salambashev <ysalambashev@vmware.com>
Signed-off-by: Yoan Salambashev <ysalambashev@vmware.com>
Signed-off-by: Yoan Salambashev <ysalambashev@vmware.com>
@duyguHsnHsn
Copy link
Collaborator

The button looks a little bit old styled can you change it a little ?

@DeltaMichael
Copy link
Contributor

DeltaMichael commented Aug 3, 2023

This seems like it should be a loading wheel/status bar + text info + timer, or something similar. It can poll the job status periodically and update itself.

E.g.

Screenshot 2023-08-03 at 14 33 36

Did everyone agree on this design, or is it something in-flight?

@sabadzhiev
Copy link

Visually it looks good (exactly what we discussed on the daily).

However will leave the other team members to review the code and approve.

@duyguHsnHsn
Copy link
Collaborator

The only thing i do not like about the button is the borderline, it still seems old fashioned. Everything else looks fine

Copy link
Collaborator

@duyguHsnHsn duyguHsnHsn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good please check the comments I left!

@murphp15
Copy link
Collaborator

murphp15 commented Aug 8, 2023

looks good

@yonitoo yonitoo merged commit cf16269 into main Aug 8, 2023
10 of 11 checks passed
@yonitoo yonitoo deleted the topic/ysalambashev/add-status-button branch August 8, 2023 13:56
yonitoo added a commit that referenced this pull request Aug 8, 2023
yonitoo added a commit that referenced this pull request Aug 8, 2023
)

At the moment there is no way to know if a VDK operation is running
until it finishes and shows a success message or error.

Add a status button that pops up when a VDK operation is started and is
removed when the operation finishes. When the button is clicked, a
dialog shows up with more information about the current running
operation.

<img width="176" alt="Status button"
src="https://github.com/vmware/versatile-data-kit/assets/36246462/957fb5e3-5b4e-41d7-b795-46e99b3b8d15">
<img width="301" alt="Hover"
src="https://github.com/vmware/versatile-data-kit/assets/36246462/2ea1c4f3-6668-4662-a70a-0bcf11b6c87f">
<img width="1003" alt="Pop-up dialog"
src="https://github.com/vmware/versatile-data-kit/assets/36246462/9b809bf6-3b1e-4236-b940-989aa6af784e">

Signed-off-by: Yoan Salambashev <ysalambashev@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants