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
[poc] Add layout components #6239
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Philippe Martin <[email protected]>
Signed-off-by: Philippe Martin <[email protected]>
Signed-off-by: Philippe Martin <[email protected]>
Signed-off-by: Philippe Martin <[email protected]>
Signed-off-by: Philippe Martin <[email protected]>
Signed-off-by: Philippe Martin <[email protected]>
Signed-off-by: Philippe Martin <[email protected]>
Signed-off-by: Philippe Martin <[email protected]>
Signed-off-by: Philippe Martin <[email protected]>
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.
introducing component is looking a good enhancement but it should be done by UX team before
It should define the colors, how it looks, etc.
this.registerColor(`${invCt}card-bg-highlighted`, { | ||
dark: colorPalette.charcoal[700], | ||
light: colorPalette.gray[200], | ||
}); | ||
|
||
this.registerColor(`${invCt}card-divide`, { | ||
dark: colorPalette.gray[900], | ||
light: colorPalette.charcoal[50], | ||
}); | ||
|
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.
Look nice to introduce new components
but you can't introduce new components/colors "like that"
the colors are defined in the Podman Desktop design system
And there is not yet these colors or these components
if you need to extract values, it should be defined before the implementation
</div> | ||
<div class="px-2 mt-5 h-full"> | ||
<Card title="Learning center"> | ||
<svelte:fragment slot="content"> | ||
<LearningCenter /> | ||
</svelte:fragment> | ||
</Card> | ||
<Card title="Featured extensions"> | ||
<svelte:fragment slot="content"> | ||
<FeaturedExtensions /> | ||
</svelte:fragment> | ||
</Card> |
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.
I would be really cautious there
For example Learning center does not match the expected design
see #6221
<Card title="Featured Extensions"> | ||
<svelte:fragment slot="content"> | ||
<FeaturedExtensions /> | ||
</svelte:fragment> | ||
</Card> | ||
|
||
<Card title="Install a new extension from OCI Image" label="OCI image installation box"> | ||
<svelte:fragment slot="content"> | ||
<div class="flex flex-col w-full"> |
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.
this screen is being changed as part of #2170
so I'm not sure there should be changes for now in that page
What is the rationale of components and the slots for example are we not missing CardHeader, CardBody components ? |
We might want take some inspiration from existing library and implementation
Some remarks
|
What does this PR do?
What issues does this PR fix or reference?
How to test this PR?