diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 50ed643..328aa98 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -65,24 +65,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v5
- - name: Install Node.js
- uses: actions/setup-node@v6
- with:
- node-version: 22
- cache: npm
- cache-dependency-path: apps/ui/package-lock.json
+ - name: Validate static UI files
+ run: |
+ test -f apps/ui/Dockerfile
+ test -f apps/ui/index.html
+ test -f apps/ui/nginx.conf
- - name: Install UI dependencies
- working-directory: apps/ui
- run: npm ci
-
- - name: Build UI
- working-directory: apps/ui
- run: npm run build
-
- - name: Run UI tests
- working-directory: apps/ui
- run: npm run test -- --run
+ - name: Build UI image
+ run: docker build -f apps/ui/Dockerfile .
deployment:
name: Deployment Artifacts
diff --git a/TASKS.md b/TASKS.md
index 3c46718..9f75cba 100644
--- a/TASKS.md
+++ b/TASKS.md
@@ -2,22 +2,21 @@
## Current
-### `feat/crank-rebrand`
+### `feat/remove-legacy-ui`
Status: completed
DoD:
-- проект переименован в `Crank` в документации, UI и package metadata
-- workspace и crate package names согласованы с новым брендом
-- `README.md` использует `Crank.png` как главное изображение
-- `origin` указывает на `git@github.com:bsodfather/crank.git`
-- Rust workspace и UI build остаются зелеными
+- текущая React/Vite UI-кодовая база удалена
+- `apps/ui` сохранен как статический placeholder для будущей замены
+- compose, deploy и CI не ломаются после удаления legacy UI
## Next
-- `feat/demo-assets`
+- `feat/alpine-ui`
## Backlog
+- `feat/alpine-ui`
- `feat/demo-assets`
diff --git a/apps/ui/Dockerfile b/apps/ui/Dockerfile
index f2db4be..8be8867 100644
--- a/apps/ui/Dockerfile
+++ b/apps/ui/Dockerfile
@@ -1,15 +1,7 @@
-FROM node:22-alpine AS build
-
-WORKDIR /app
-
-COPY apps/ui/package.json apps/ui/package-lock.json ./
-RUN npm ci
-COPY apps/ui/ ./
-RUN npm run build
-
FROM nginx:1.27-alpine
COPY apps/ui/nginx.conf /etc/nginx/conf.d/default.conf
-COPY --from=build /app/dist /usr/share/nginx/html
+COPY apps/ui/index.html /usr/share/nginx/html/index.html
+COPY Crank.png /usr/share/nginx/html/Crank.png
EXPOSE 3000
diff --git a/apps/ui/index.html b/apps/ui/index.html
index cfa159f..81d9d27 100644
--- a/apps/ui/index.html
+++ b/apps/ui/index.html
@@ -4,9 +4,91 @@
Crank Console
+
-
-
+
+
+ UI replacement in progress
+ Crank Console
+
+ The legacy React/Vite UI has been removed. A new operator console is being integrated on top of the same
+ deployment path.
+
+
+ Backend services, MCP endpoints and deployment contracts remain intact. Replace this static entrypoint with
+ the new Alpine.js UI when it is ready.
+
+