Skip to content

Commit

Permalink
qs web-components
Browse files Browse the repository at this point in the history
  • Loading branch information
ia3andy committed Feb 21, 2024
1 parent 75e70c2 commit 5eea1fd
Show file tree
Hide file tree
Showing 25 changed files with 1,033 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ pom.xml.versionsBackup
release.properties
.flattened-pom.xml

# web-bundler uses it for IDE support
node_modules/

# Eclipse
.project
.classpath
Expand Down
2 changes: 2 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -256,3 +256,5 @@ you will need to set up a few things manually:
== License

This project is licensed under the Apache License Version 2.0.

The web assets in `src/main/resources/web` are licensed under the Creative Commons Attribution 3.0 International License.
40 changes: 37 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.quarkus.search</groupId>
<artifactId>search-quarkus-io</artifactId>
Expand Down Expand Up @@ -107,6 +106,31 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-reactive</artifactId>
</dependency>
<dependency>
<groupId>io.quarkiverse.web-bundler</groupId>
<artifactId>quarkus-web-bundler</artifactId>
<version>${quarkus-web-bundler.version}</version>
</dependency>
<!-- Web Dependencies -->
<dependency>
<groupId>org.mvnpm</groupId>
<artifactId>lit</artifactId>
<version>3.1.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.mvnpm</groupId>
<artifactId>lodash</artifactId>
<version>4.17.21</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.mvnpm.at.types</groupId>
<artifactId>lodash</artifactId>
<version>4.14.202</version>
<scope>provided</scope>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-smallrye-openapi</artifactId>
Expand Down Expand Up @@ -186,6 +210,13 @@
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.quarkiverse.playwright</groupId>
<artifactId>quarkus-playwright</artifactId>
<version>0.0.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.awaitility</groupId>
Expand Down Expand Up @@ -333,4 +364,7 @@
</plugin>
</plugins>
</build>
<profiles>

</profiles>
</project>
7 changes: 7 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ quarkus.test.integration-test-profile=integrationtest
%dev,test,integrationtest.indexing.scheduled.cron=off
# Allow localhost in particular
%dev.quarkus.http.cors.origins=/.*/
%dev.quarkus.http.header."Access-Control-Allow-Private-Network".value=true

########################
# Logging
Expand Down Expand Up @@ -233,3 +234,9 @@ quarkus.helm.values."@.opensearch.resources.limits.cpu".value=2000m
quarkus.helm.values."@.opensearch.resources.requests.cpu".value=1000m
quarkus.helm.values."@.opensearch.resources.limits.memory".value=3Gi
quarkus.helm.values."@.opensearch.resources.requests.memory".value=2Gi

# Web Bundler configuration
quarkus.web-bundler.loaders.data-url=svg
quarkus.web-bundler.loaders.file=
quarkus.web-bundler.bundle-redirect=true
quarkus.web-bundler.dependencies.node-modules=node_modules
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions src/main/resources/web/app/assets/icons/docsicon-pdf.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions src/main/resources/web/app/assets/icons/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import tutorials from './docsicon-tutorials.svg';
import guides from './docsicon-guides.svg';
import howto from './docsicon-guides.svg';
import pdf from './docsicon-pdf.svg';
import concepts from './docsicon-concepts.svg';
import reference from './docsicon-reference.svg';
import quarkus from './quarkus_icon_default.svg';
import quarkiverse from './quarkiverse_icon_default.svg';
import loading from './loading.svg';

const icons = {
docs: {
tutorials,
guides,
howto,
pdf,
concepts,
reference
},
origins: {
quarkus,
quarkiverse
},
loading
}

export default icons;
45 changes: 45 additions & 0 deletions src/main/resources/web/app/assets/icons/loading.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 5eea1fd

Please sign in to comment.