Skip to content

Commit f8b917d

Browse files
refactor: remove Thymeleaf UI, consolidate to React SPA
Remove the legacy Thymeleaf+HTMX UI at /ui to consolidate on the React SPA at /. This removes ExplorerController, all Thymeleaf templates, htmx/alpine static assets, the explorer-tailwind config, and the spring-boot-starter-thymeleaf Maven dependency. - Delete ExplorerController.java and ExplorerControllerTest.java - Delete src/main/resources/templates/ (10 HTML files) - Delete htmx.min.js and alpine.min.js from static/js/ - Remove spring-boot-starter-thymeleaf from pom.xml - Delete explorer-tailwind.config.ts and build:explorer-css script - All 1440 tests pass, clean package build verified Co-Authored-By: Paperclip <noreply@paperclip.ing>
1 parent 1d4fff9 commit f8b917d

17 files changed

Lines changed: 1 addition & 1673 deletions

File tree

pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@
5757
<groupId>org.springframework.boot</groupId>
5858
<artifactId>spring-boot-starter-cache</artifactId>
5959
</dependency>
60-
<dependency>
61-
<groupId>org.springframework.boot</groupId>
62-
<artifactId>spring-boot-starter-thymeleaf</artifactId>
63-
</dependency>
6460
<dependency>
6561
<groupId>org.springframework.boot</groupId>
6662
<artifactId>spring-boot-starter-actuator</artifactId>

src/main/frontend/explorer-tailwind.config.ts

Lines changed: 0 additions & 57 deletions
This file was deleted.

src/main/frontend/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
8-
"build": "tsc -b && vite build && npm run build:explorer-css",
9-
"build:explorer-css": "npx tailwindcss -c ./explorer-tailwind.config.ts -i ./src/explorer.css -o ../resources/static/css/explorer.css --minify",
8+
"build": "tsc -b && vite build",
109
"preview": "vite preview"
1110
},
1211
"dependencies": {

src/main/java/io/github/randomcodespace/iq/web/ExplorerController.java

Lines changed: 0 additions & 108 deletions
This file was deleted.

src/main/resources/static/js/alpine.min.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/main/resources/static/js/htmx.min.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/main/resources/templates/explorer/detail.html

Lines changed: 0 additions & 70 deletions
This file was deleted.

src/main/resources/templates/explorer/fragments/breadcrumb.html

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)