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: show lima instance name in connection name #5227

Merged
merged 2 commits into from Feb 27, 2024

Conversation

afbjorklund
Copy link
Contributor

@afbjorklund afbjorklund commented Dec 12, 2023

What does this PR do?

Shows the name of the preferred instance

Lima ${LIMA_INSTANCE}

Screenshot / video of UI

pd-lima-name-u7s

What issues does this PR fix or reference?

Closes: #5207

How to test this PR?

@afbjorklund afbjorklund requested review from benoitf and a team as code owners December 12, 2023 11:50
@afbjorklund afbjorklund requested review from dgolovin and feloy and removed request for a team December 12, 2023 11:50
Copy link
Collaborator

@benoitf benoitf left a comment

Choose a reason for hiding this comment

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

LGTM but it's missing a unit test for prettyInstanceName

@afbjorklund
Copy link
Contributor Author

It didn't have any tests at all, as far as I could see?

@benoitf
Copy link
Collaborator

benoitf commented Dec 14, 2023

yes I think at some time we had no test for some extension but now (since almost one year) we're requesting tests for new code change
https://github.com/containers/podman-desktop/blob/main/CONTRIBUTING.md#step-4-write-and-run-tests

so each time we change something, we add some unit test so it increases regression tests

Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
@benoitf benoitf enabled auto-merge (rebase) February 27, 2024 08:29
@benoitf benoitf merged commit 01dba0a into containers:main Feb 27, 2024
8 checks passed
@podman-desktop-bot podman-desktop-bot added this to the 1.8.0 milestone Feb 27, 2024
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.

Show the name of the Lima instance under Resources
3 participants