* feat: introduce a svelte ui package
the renderer package has a dependency to this new module
we could publish the ui-svelte package so other components could
reuse components defined there
for now, there is no component being defined but stay tuned 🎉
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
### What does this PR do?
`yarn watch` now works, looks like we did not explicitly say to use join
from `node:path`.
### Screenshot/screencast of this PR
<!-- Please include a screenshot or a screencast
explaining what is doing this PR -->
N/A
### What issues does this PR fix or reference?
<!-- Include any related issues from Podman Desktop
repository (or from another issue tracker). -->
Closes https://github.com/containers/podman-desktop/issues/4956
### How to test this PR?
<!-- Please explain steps to reproduce -->
`yarn watch` should now work
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
* chore: watch all extensions from extension folder
for now we were listing explicitely all extension one by one
but for example kubectl-cli was missing
now, loop on the folder so we won't miss a new extension
fixes https://github.com/containers/podman-desktop/issues/4944
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
* Update scripts/watch.mjs
Co-authored-by: Denis Golovin <dgolovin@users.noreply.github.com>
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
---------
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
Co-authored-by: Denis Golovin <dgolovin@users.noreply.github.com>
it has been moved to a separate repository https://github.com/crc-org/crc-extension
Change-Id: Ib3a0ed0bc81a04cba35575a652e1351270d71793
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
* feat: show suggested registries in Podman Desktop
### What does this PR do?
* Shows suggested registries when going to add a registry
* Adds an API call to "suggest" a registry which can be done by any
extension added (for example, a custom extension that provides a
private registry to be added)
* Show base64 encoded logo (no need to use fs / async / await load a
logo, since they are small 40x40px icons
* UI/UX rework of the registry page to make sure that login works
correctly when adding a new registry
### Screenshot/screencast of this PR
<!-- Please include a screenshot or a screencast explaining what is doing this PR -->
### What issues does this PR fix or reference?
<!-- Please include any related issue from Podman Desktop repository (or from another issue tracker).
-->
Closes https://github.com/containers/podman-desktop/issues/895
### How to test this PR?
<!-- Please explain steps to reproduce -->
`yarn watch`
Go to registry and try it out! Login to Docker Hub / Quay / etc.
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
* update based on review, add more container registries, deactivate and remove reactively
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
update
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
* Update based on review
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
* use disposable not void
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
* update: remove unsuggestRegistry
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
* Fix build command + package.json files
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
* change ui/ux
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
* remove suggested
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
* add forgotten div for buttons
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
https://vitejs.dev/blog/announcing-vite4.html
also update vite svelte plug-in to a v4 vite compliant version
Change-Id: Ib83831ccff175b757c997a1321a2b60eb09b83e5
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
chore: enable svelte check on the repository on each PR
allows to check if code is valid
For now threshold is at error but it should be turned to hints
Change-Id: Id1af31a438775f38c8cf37ad75552fea9f21fe3e
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
Signed-off-by: Florent Benoit <fbenoit@redhat.com>