Commit graph

9 commits

Author SHA1 Message Date
Denis Golovin
e70eb8ec09
fix: show recommended ext card when podman is ready (#10853)
* fix: show recommended ext card when podman is ready

This PR introduces optional when field for recommendations.json
entries. Recommendation card is shown if 'when' condition is
evaluated to true.

Example:

```when="provider.podman.status==='ready'"```

shows recommendation card when there is running podman VM.

```when="provider.kind.status==='ready'"```

shows recommendation card when there is running kind instance.

This PR also improves component tests implementation.

Signed-off-by: Denis Golovin <dgolovin@redhat.com>
2025-02-06 16:45:49 -08:00
Florent Benoit
c2c237a607 fix: remove Red Hat extension pack from the recommendations
fixes https://github.com/containers/podman-desktop/issues/9413
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2024-10-23 21:50:11 +02:00
Florent Benoit
4d5e0a09f6 chore: apply missing formatting on some files
related to https://github.com/containers/podman-desktop/issues/8970
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2024-10-11 09:13:25 +02:00
Charlie Drage
aba56f0e96
chore: light dark mode for banners (#8343) 2024-08-05 11:05:20 -04:00
Stévan Le Meur
04e78f593e Update publish time for new extensions
Signed-off-by: Stévan Le Meur <1636769+slemeur@users.noreply.github.com>
2024-04-30 21:28:42 +02:00
axel7083
ce554860b3
chore(ExtensionBanner): adding lab extension to recommendation (#6951)
* feat(ExtensionBanner): adding lab extension

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
Co-authored-by: Florent BENOIT <fbenoit@redhat.com>
2024-04-25 19:58:34 +02:00
Florent BENOIT
8dc78b830f
feat: suggest extensions if building or pulling from some registries report errors (#6891)
* feat: suggest extensions if building/pulling from some registries report errors

fixes https://github.com/containers/podman-desktop/issues/6389
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2024-04-25 13:22:40 +02:00
axel7083
632b67d1d9
feat: adding dashboard extension banner (#6708)
* feat: adding dashboard extension banner

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

* test: ensuring multiple banner would be displayed

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

* fix: remove code comment

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

* fix(UI): using secondary variant for featured extension component

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

* fix(UI): moving extension banners above featured

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

* Revert d542d1dad63d9dfa102789e0b410c50c3fba5585

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

* fix(UI): margin bottom missing

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

---------

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
2024-04-10 14:02:51 +02:00
axel7083
74923cc173
feat: adding internal logic to manage recommended extensions based on featured extensions (#6681)
* feat: adding internal logic to manage recommended extensions

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

* fix: mock import path

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

* fix: relative path

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Florent BENOIT <fbenoit@redhat.com>
Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

* fix: remove hoisted vitest

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

* refactor: rename function name

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

---------

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
Co-authored-by: Florent BENOIT <fbenoit@redhat.com>
2024-04-08 15:31:17 +02:00