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

feat: Allow to install in one click featured extensions (if not installed) #2355

Merged
merged 1 commit into from
May 9, 2023

Conversation

benoitf
Copy link
Collaborator

@benoitf benoitf commented May 4, 2023

Requires:

What does this PR do?

Display a widget in dashboard and extensions list to install featured extension in one click

Screenshot/screencast of this PR

62PolDwZOo.mp4

What issues does this PR fix or reference?

related to #1901

How to test this PR?

It requires commits from

There are component tests

How to test: Launch Podman Desktop (and check that for example you don't already have SandBox or OpenShift Local being installed)

Then click on the download icon and wait a little, then extension should be there

Change-Id: I495ad06dd7f27a3779195c3fc503dae3dd6e0cc3

@benoitf benoitf requested a review from a team as a code owner May 4, 2023 13:28
@benoitf benoitf requested review from jeffmaury and lstocchi and removed request for a team May 4, 2023 13:28
Copy link
Contributor

@lstocchi lstocchi left a comment

Choose a reason for hiding this comment

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

II see this error when fetching the catalog Unable to fetch the available extensions: Timeout awaiting 'lookup' for 1000ms and it results in the N/A status. Not sure what we can do to improve it but if that happens, what's the point of showing the crc/openshift local extension if i cannot do anything?

Other point is that the icon of the extension are not high quality - look at the podman/lima/local icons. We should update them
image

@benoitf
Copy link
Collaborator Author

benoitf commented May 5, 2023

@lstocchi

timeout: {
lookup: 1000,
connect: 500,
secureConnect: 500,
socket: 1000,
send: 10000,
response: 1000,
},
Here is the default settings maybe it's too short for your internet connection.

@lstocchi
Copy link
Contributor

lstocchi commented May 5, 2023

@lstocchi

timeout: {
lookup: 1000,
connect: 500,
secureConnect: 500,
socket: 1000,
send: 10000,
response: 1000,
},

Here is the default settings maybe it's too short for your internet connection.

yes, by increasing it it worked fine.

@benoitf
Copy link
Collaborator Author

benoitf commented May 5, 2023

need to find the good limit then

Copy link
Contributor

@lstocchi lstocchi left a comment

Choose a reason for hiding this comment

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

Approving it as the code related to my issues is at #2346 and i'll be out for a while.
If we can enhance the icons and increase the timeout or make it customizable would be great.

@cdrage
Copy link
Contributor

cdrage commented May 8, 2023

#2346 has been merged now, so we will need to rebase

@benoitf
Copy link
Collaborator Author

benoitf commented May 9, 2023

@cdrage rebased

…lled)

related to containers#1901

widget available from dashboard page and extensions list

Change-Id: I495ad06dd7f27a3779195c3fc503dae3dd6e0cc3

Signed-off-by: Florent Benoit <fbenoit@redhat.com>
Change-Id: I1559329c48dd4d9390e133d8ddcf647340dded92
@benoitf
Copy link
Collaborator Author

benoitf commented May 9, 2023

I'll open follow-up PRs for timeouts and icons

@benoitf benoitf merged commit 52a0047 into containers:main May 9, 2023
7 checks passed
@podman-desktop-bot podman-desktop-bot added this to the 0.16.0 milestone May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants