okteto / docker-desktop-extension

Docker Extension for Okteto
Apache License 2.0
5 stars 4 forks source link

Added status property in UI #81

Closed aryabharat closed 9 months ago

aryabharat commented 1 year ago

Signed-off-by: aryabharat33 bharatarya33@gmail.com

Fixes Issue

74 && #75

Changes proposed

Check List (Check all the applicable boxes)

Screenshots

Note to reviewers

rlamana commented 1 year ago

@aryabharat can you add screenshots of and a brief explanation of your solution?

aryabharat commented 1 year ago

Hi ! @rlamana

Screenshot from 2022-10-22 17-25-57

Screenshot from 2022-10-22 19-21-10

toast condition:

   if (previousStatus && previousStatus === 'activating' && status === 'synchronizing' )
     window.ddClient.desktopUI.toast.success('env ready to use');
    if (!previousStatus || previousStatus !== status)
      setPreviousStatus(status)
    setStatus(status);
aryabharat commented 1 year ago

@rlamana update the PR, as requested. Please let me know if any improvements are required.

aryabharat commented 1 year ago

@rlamana I have updated the code as per your guidance. Please let me know if any other change is required.

aryabharat commented 1 year ago

Hi @rlamana any changes?

rlamana commented 1 year ago

@aryabharat We are still checking some issue with the ddClient.extension.host.cli.exec call that will get fixed upgrading to the latest @docker/extension-api-client. We are working on it. I'll get back to this PR as soon as everything is sorted out.

pchico83 commented 9 months ago

Closing this one due to inactivity. @aryabharat let us know if you are interested in updating the PR, we would need to follow a different approach to query the status

aryabharat commented 8 months ago

@pchico83 Thanks for the update. Please let me know what changes do you purpose, will be happy to do it.

aryabharat commented 8 months ago

@pchico83 @rlamana Please let me know the changes you want to be done. Will be happy for contribute.