nit: adds temporary fix for rendering bug for podman global onboarding

### What does this PR do?

This adds a temporary fix for global onboarding that adds two extra
"contents" to forcefully re-render / override the "cache" content that
still lingers despite going to a different screen.

### 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). -->

Reference: https://github.com/containers/podman-desktop/issues/6313

### How to test this PR?

<!-- Please explain steps to verify the functionality,
do not forget to provide unit/component tests -->

- [ ] Tests are covering the bug fix or the new feature

Do global onboarding:
1. Delete ` ~/.local/share/containers/podman-desktop/configuration/settings.json`, or remote 'welcome: initial' part.
2. Go through onboarding and you should no longer see the configuration
   "autostart" appearing on the last screen.

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
This commit is contained in:
Charlie Drage 2024-03-07 10:52:16 -05:00 committed by Florent BENOIT
parent 46f23dcf88
commit e075c2a70a

View file

@ -279,6 +279,8 @@
"when": "!onboardingContext:podmanIsNotInstalled",
"state": "completed",
"content": [
[],
[],
[
{
"value": "#### How to use podman \nRun `podman help` in the terminal for a list of commands to interact with Podman. For example, try the 'Create' button within the Containers tab of Podman Desktop and view your containers with `podman`:\n\n`$ podman ps`",