Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
b6fd174
updated concurrently dependency to version 8.2.2 in package.json and …
Baibhab23 Nov 21, 2026
ff2b256
Chore: restore concurrently v10 with Node 22, add .nvmrc
Baibhab23 Nov 22, 2026
9053bcb
Chore: revert .nvmrc and package-lock.json changes
Baibhab23 Nov 23, 2026
da10fee
updatec README.md to enhance project documentation and clarify envir…
Baibhab23 Nov 23, 2026
5e4d8c2
Docs: update UI Docker build to use env-file and document full stack
Baibhab23 Nov 23, 2026
6677fd6
Chore: revert docker-compose.yml changes
Baibhab23 Nov 23, 2026
2378c9e
Chore: add .nvmrc for Node 22 to pipeline-ui
Baibhab23 Nov 23, 2026
72695f5
Feat: Dockerfile accepts ENV_FILE build arg for env-file-based builds
Baibhab23 Nov 23, 2026
cb70d84
Added running-containers.md for full stack and monitoring setup
Baibhab23 Dec 1, 2026
a01db01
updated running-containers.md and README.md
Baibhab23 Dec 1, 2026
f2614fa
improved README
Baibhab23 Dec 2, 2026
20fc35e
updated Dockerfile to properly load environment variables from specif…
Baibhab23 Dec 2, 2026
b3f24be
Added mock API setup and updated documentation for UI with mock server
Baibhab23 Dec 2, 2026
d1258db
Fix: add required fields to OpenAPI spec and wire ts-nocheck into Doc…
Baibhab23 Dec 2, 2026
d21429c
updated Docker Compose to include mock services and adjust profiles …
Baibhab23 Dec 2, 2026
b2c3f54
updated environment variable defaults in docker-compose.yml for bette…
Baibhab23 Dec 2, 2026
b7f3ff8
updated required fields in Pipeline and PipelineBuild schemas
Baibhab23 Dec 2, 2026
562bd89
removed ts-nocheck generation from client code build process
Baibhab23 Dec 2, 2026
0f547c3
Refactored Dockerfile to streamline environment variable handling and…
Baibhab23 Dec 4, 2026
6f855b4
Merge branch 'main' into 281-bug-ui-starting-with-different-profile-l…
Baibhab23 Dec 4, 2026
977b43c
fix: smoke tests - add --profile full and fix UI port to 3001
Baibhab23 Dec 4, 2026
22cd5db
docs: fix profile flags, UI port, and mock command in running-contain…
Baibhab23 Dec 4, 2026
37d7851
fix: resolve Grafana/UI port conflict (Grafana→3002), fix mock port a…
Baibhab23 Dec 4, 2026
6871c2b
fix: revert UI port back to 3000, Grafana stays on 3001
Baibhab23 Dec 4, 2026
3cf9cc2
Merge main: adopt no-profile docker compose, keep mock profile
Baibhab23 Dec 4, 2026
f23bf7c
fix: remove ENV_FILE pattern from UI Docker build
Baibhab23 Dec 4, 2026
b770adf
revert: remove unnecessary docker-compose and .env.local changes
Baibhab23 Dec 5, 2026
b06bed1
fix: document VITE_IDP requirement for production command and fix ESL…
Baibhab23 Dec 5, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion autobuild-docs/setup/dev-env-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Ensure you have atleast JAVA 17, Node 22 and Apache Maven 3.9 installed and conf
npm ci
```
See [Local Backend Execution](./backend/local-backend-execution.md) for running the application locally.
See [Running Backend Container](./backend/running-backend-containers.md) for running containerized backend with db.
See [Running Containers](./running-fullstack-containers.md) for running the full containerized stack.

For the ease of local development install [VS Code](https://code.visualstudio.com/) and the following extensions,
1. [JAVA Extension Pack](https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-pack)
Expand Down
5 changes: 0 additions & 5 deletions pipeline-ui/.env.local

This file was deleted.

1 change: 1 addition & 0 deletions pipeline-ui/.env.local-with-mock
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
VITE_ENV=local
VITE_API_BASE_URL=http://127.0.0.1:4010
VITE_IDP=mock
VITE_MOCK_USER=dummy
VITE_MOCK_USER_EMAIL=dummy@dummy.com
1 change: 1 addition & 0 deletions pipeline-ui/.nvmrc
Comment thread
Baibhab23 marked this conversation as resolved.
Resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22
88 changes: 42 additions & 46 deletions pipeline-ui/README.md
Original file line number Diff line number Diff line change
@@ -1,72 +1,68 @@
# React + TypeScript + Vite
# Pipeline UI

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
React + TypeScript + Vite frontend for the AutoBuild pipeline service.

Currently, two official plugins are available:
## Prerequisites

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
- Node.js 22 (see [.nvmrc](.nvmrc))
- npm

## React Compiler
## Getting Started

The React Compiler is currently not compatible with SWC. See [this issue](https://github.com/vitejs/vite-plugin-react/issues/428) for tracking the progress.
> **Prerequisite:** Java must be installed — the API client generator (`openapi-generator-cli`) requires a JVM to run.

## Expanding the ESLint configuration
```bash
npm install
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
npm run generate:clean-client-code
```

## Running Locally

| Command | Description |
|---|---|
| `npm run local-e2e` | Vite dev server using `.env.local-e2e` (connects to real local backend + Keycloak) |
| `npm run local-with-mock` | Vite dev server with mocked API (no backend required) |
| `npm run production` | Build + preview with production settings (requires `VITE_IDP=keycloak` and other env vars — set via shell or a `.env` file) |

## Environment Files

| File | Mode | Purpose |
|---|---|---|
| `.env.local-e2e` | `local-e2e` | Local end-to-end testing against a locally running backend and Keycloak |
| `.env.local-with-mock` | `local-with-mock` | Local development with a mocked OpenAPI server (no real backend) |

## ESLint

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
For type-aware lint rules in production applications, add a typed config entry to `eslint.config.js` alongside the existing rules:

```js
export default defineConfig([
globalIgnores(['dist']),
globalIgnores(["dist", "./src/components/ui/", "./src/gen", "./test"]),
{
files: ['**/*.{ts,tsx}'],
files: ["**/*.{ts,tsx}"],
extends: [
// Other configs...

// Remove tseslint.configs.recommended and replace with this
tseslint.configs.recommendedTypeChecked,
// Alternatively, use this for stricter rules
tseslint.configs.strictTypeChecked,
// Optionally, add this for stylistic rules
tseslint.configs.stylisticTypeChecked,

// Other configs...
js.configs.recommended,
tseslint.configs.recommended,
reactHooks.configs.flat.recommended,
reactRefresh.configs.vite,
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
ecmaVersion: 2020,
globals: globals.browser,
},
rules: {
"react-refresh/only-export-components": "off",
},
},
])
```

You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:

```js
// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
globalIgnores(['dist']),
// Add this for type-aware linting:
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Enable lint rules for React
reactX.configs['recommended-typescript'],
// Enable lint rules for React DOM
reactDom.configs.recommended,
],
extends: [tseslint.configs.recommendedTypeChecked],
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])
Expand Down
Loading