-
Notifications
You must be signed in to change notification settings - Fork 25
chore: add disclaimer that to test VM, have to add ssh key #1685
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
base: main
Are you sure you want to change the base?
Conversation
<!-- If on Linux, warn that during the build, credentials will be asked in order to run an escalated privileged build prompt --> | ||
{#if isLinux} | ||
<p class="text-sm text-[var(--pd-content-text)] pt-1"> | ||
<p class="text-sm text-[var(--pd-content-text)] m-0 pt-0"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI, I changed the margin as well as the padding so it looks nicer. The default (from text-sm) was adding too much spacing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR check (missing type) needs to be fixed.
I'd personally prefer the text was above (before) the button, but precedent already set with the existing Linux text. Nice update.
packages/frontend/src/Build.spec.ts
Outdated
|
||
|
||
// The below mocks are the same across all tests. | ||
const setupPlatformMocks = (isMac: boolean, isWindows: boolean, isLinux: boolean) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: const setupPlatformMocks = (platform: string) => {
and
vi.mocked(bootcClient.isMac).mockResolvedValue(platform == 'macOS'); ...
and
{ platform: 'macOS', shouldShow: true }, ...
seems simpler?
### What does this PR do? * Adds a small disclaimer that only appears on mac or linux that you should add your SSH key + do output as raw or qcow2 * For this PR, I also did an alternative way of doing tests since I did not want to copy / paste and only be changing one thing. So in this PR the tests are "table-based". ### Screenshot / video of UI <!-- If this PR is changing UI, please include screenshots or screencasts showing the difference --> ### What issues does this PR fix or reference? <!-- Include any related issues from Podman Desktop repository (or from another issue tracker). --> Closes podman-desktop#1569 ### How to test this PR? <!-- Please explain steps to reproduce --> 1. pnpm watch 2. See that the disclaimer is shwon on the build page. Signed-off-by: Charlie Drage <[email protected]>
chore: add disclaimer that to test, have to add ssh key
What does this PR do?
should add your SSH key + do output as raw or qcow2
not want to copy / paste and only be changing one thing. So in this PR
the tests are "table-based".
Screenshot / video of UI
What issues does this PR fix or reference?
Closes #1569
How to test this PR?
Signed-off-by: Charlie Drage [email protected]