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

chore: move FormPage to its own component #7472

Merged
merged 2 commits into from
Jun 10, 2024

Conversation

benoitf
Copy link
Collaborator

@benoitf benoitf commented Jun 5, 2024

What does this PR do?

remove tinro dependency to include it in the UI library
keep a tinro FormPage in renderer part that is just delegating the calls

Screenshot / video of UI

What issues does this PR fix or reference?

fixes #6920

How to test this PR?

  • Tests are covering the bug fix or the new feature

@benoitf benoitf requested a review from a team as a code owner June 5, 2024 12:26
@benoitf benoitf requested review from cdrage and lstocchi and removed request for a team June 5, 2024 12:26
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.

Tested and looks good!!

Copy link
Contributor

@axel7083 axel7083 left a comment

Choose a reason for hiding this comment

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

LGTM

@benoitf
Copy link
Collaborator Author

benoitf commented Jun 6, 2024

the problem I have is that my PR is failing on CI :-( but on my side it's working so I'm still investigating

@@ -0,0 +1,82 @@
<script lang="ts">
import { CloseButton, LinearProgress, Link } from '@podman-desktop/ui-svelte';
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we should not import itself as a package ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

what is strange is why it's only reproducing on the CI, I would hope that developers have the same failure

Copy link
Contributor

Choose a reason for hiding this comment

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

maybe try to delete the export/dist folder, and you should be able to reproduce ?

Copy link
Contributor

Choose a reason for hiding this comment

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

Or delete node_modules? i.e. you've already done a yarn install and have a local cache of what it will build here.

@axel7083
Copy link
Contributor

axel7083 commented Jun 6, 2024

the problem I have is that my PR is failing on CI :-( but on my side it's working so I'm still investigating

I just tried locally, and tests are passing too... but I think it may come from the import itself package

remove tinro dependency in the UI component

keep a tinro FormPage in renderer part that is just delegating the calls

fixes containers#6920
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
@benoitf benoitf enabled auto-merge (squash) June 10, 2024 07:12
@benoitf benoitf merged commit f25dc1b into containers:main Jun 10, 2024
9 checks passed
@podman-desktop-bot podman-desktop-bot added this to the 1.11.0 milestone Jun 10, 2024
cdrage pushed a commit to cdrage/podman-desktop that referenced this pull request Jun 19, 2024
* chore: move FormPage to its own component

remove tinro dependency in the UI component

keep a tinro FormPage in renderer part that is just delegating the calls

fixes containers#6920
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
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.

Implement FormPage UI component
5 participants