diff --git a/base/assets/icons/presets/rest.svg b/base/assets/icons/presets/rest.svg new file mode 100644 index 000000000..63ea814f9 --- /dev/null +++ b/base/assets/icons/presets/rest.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/base/src/main/java/io/quarkus/code/service/PlatformService.java b/base/src/main/java/io/quarkus/code/service/PlatformService.java index 90fa57f9a..bf503689c 100644 --- a/base/src/main/java/io/quarkus/code/service/PlatformService.java +++ b/base/src/main/java/io/quarkus/code/service/PlatformService.java @@ -50,6 +50,12 @@ public class PlatformService { public static final List PRESETS = List.of( // Some presets are duplicated to support platforms before and after the Big Reactive Renaming + new Preset("rest-service", "REST service", + "https://raw.githubusercontent.com/quarkusio/code.quarkus.io/main/base/assets/icons/presets/rest.svg", + List.of("io.quarkus:quarkus-rest")), + new Preset("rest-service", "REST service", + "https://raw.githubusercontent.com/quarkusio/code.quarkus.io/main/base/assets/icons/presets/rest.svg", + List.of("io.quarkus:quarkus-resteasy-reactive")), new Preset("db-service", "REST service with database", "https://raw.githubusercontent.com/quarkusio/code.quarkus.io/main/base/assets/icons/presets/db-service.svg", List.of("io.quarkus:quarkus-rest", "io.quarkus:quarkus-rest-jackson", diff --git a/base/src/main/resources/web/lib/components/extensions-picker/selected-extensions.tsx b/base/src/main/resources/web/lib/components/extensions-picker/selected-extensions.tsx index 3012fed47..f1a3240eb 100644 --- a/base/src/main/resources/web/lib/components/extensions-picker/selected-extensions.tsx +++ b/base/src/main/resources/web/lib/components/extensions-picker/selected-extensions.tsx @@ -122,7 +122,7 @@ export const SelectedExtensions = (props: { Selected Extensions {props.extensions.length > 0 && } {props.extensions.length === 0 && (