Commit 51765538 authored by Christos Tranoris's avatar Christos Tranoris
Browse files

update links

parent 4a84baf6
Loading
Loading
Loading
Loading
+7 −7
Changes for .changelog/20260616_0030_documentation_set.md: 7 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ auditors, and operators.

## What was created

New `.changelog/` directory:
New `.changelog/guides/` directory:

- `developer-guide.md` — prerequisites, scripts, hexagonal architecture, path
  aliases, ESLint boundaries, directory map, conventions (hooks/gateways/pages/
@@ -51,11 +51,11 @@ gap).
## Files touched

- `README.md` (rewritten)
- `.changelog/developer-guide.md` (new)
- `.changelog/api-guide.md` (new)
- `.changelog/administrator-guide.md` (new)
- `.changelog/requester-guide.md` (new)
- `.changelog/auditor-guide.md` (new)
- `.changelog/operations-guide.md` (new)
- `.changelog/guides/developer-guide.md` (new)
- `.changelog/guides/api-guide.md` (new)
- `.changelog/guides/administrator-guide.md` (new)
- `.changelog/guides/requester-guide.md` (new)
- `.changelog/guides/auditor-guide.md` (new)
- `.changelog/guides/operations-guide.md` (new)
- `.changelog20260616_0030_documentation_set.md` (this file)
- `.changelogindex.md` (index entry added)
+2 −2
Changes for .changelog/20260616_0100_docker_runtime_config.md: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ build` directly. **Action item for the team:** fix the theme types to unbreak

## Docs updated

- `.changelog/operations-guide.md` — §2 dual build-time/runtime config, new §3a
- `.changelog/guides/operations-guide.md` — §2 dual build-time/runtime config, new §3a
  Docker section, updated checklist.
- `README.md` — "Run with Docker" quick start + containerization links.
- `CLAUDE.md` — runtime injection, Docker assets, and the `tsc -b` build gotcha.
@@ -71,5 +71,5 @@ build` directly. **Action item for the team:** fix the theme types to unbreak

- `src/config.ts`, `src/vite-env.d.ts`, `index.html`, `public/config.js`
- `Dockerfile`, `docker-compose.yml`, `nginx.conf`, `docker-entrypoint.sh`, `.dockerignore`
- `.changelog/operations-guide.md`, `README.md`, `CLAUDE.md`
- `.changelog/guides/operations-guide.md`, `README.md`, `CLAUDE.md`
- `.changelog20260616_0100_docker_runtime_config.md` (this file), `.changelogindex.md`
+1 −1
Changes for .changelog/index.md: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@
| 2026-08-06 13:06 | [Reservation detail — activate (promote hold to ACTIVE)](20260806_1306_activate_reservation_promote_hold.md) | Added an Activate action beside Cancel on `activity/reservations/{id}`; the only operator path to ACTIVE is promoting a tentative hold (`POST /reservations/holds/{id}/promote`, already wired via `usePromoteHold`); new capability-gated, state-aware `ActivateReservationButton` shown only for holds, surfacing the FeasibilityResult via OutcomePanel; 729 tests passing |
| 2026-08-06 10:50 | [Pool detail — per-resource reservations](20260806_1050_pool_resource_reservations.md) | New `GET /reservations/by-resource/{tmf639Id}` endpoint surfaced on the Members tab: each resource row expands to an inline sub-table of its reservations (firm + tentative holds), defaulting to active-only with an Include-past toggle; extracted shared reservation-display chips |
| 2026-06-16 01:00 | [Dockerization with runtime config injection](20260616_0100_docker_runtime_config.md) | Added Dockerfile, docker-compose, nginx.conf, and entrypoint; app reads runtime window.__CHRONOS_CONFIG__ overlaid on build-time env so one image runs anywhere; found pre-existing `tsc -b`/`npm run build` breakage (MUI v9 theme types) |
| 2026-06-16 00:30 | [Documentation set (README hub + guides)](20260616_0030_documentation_set.md) | Rewrote README as a hub and added .changelog/: developer, REST API, administrator, requester, auditor, and operations guides — grounded in capabilities.ts, api-docs.json, and the requirements spec |
| 2026-06-16 00:30 | [Documentation set (README hub + guides)](20260616_0030_documentation_set.md) | Rewrote README as a hub and added .changelog/guides/: developer, REST API, administrator, requester, auditor, and operations guides — grounded in capabilities.ts, api-docs.json, and the requirements spec |
| 2026-06-16 00:10 | [Reconcile MUI version in docs](20260616_0010_reconcile_mui_version_docs.md) | Updated v6 → v9 references across design v1.2, implementation plan v0.2, requirements, and README to match the installed MUI v9; left dated task logs as historical record |
| 2026-06-16 00:00 | [Refresh CLAUDE.md](20260616_0000_refresh_claude_md.md) | Rewrote CLAUDE.md to match the now-implemented codebase: corrected doc versions, MUI v9, path aliases, ESLint boundaries, actual directory map, hook/gateway/page conventions, env var names, roles/capabilities |
| 2026-06-07 12:00 | [Init CLAUDE.md](20260607_1200_init_claude_md.md) | Created initial CLAUDE.md documenting planned architecture, build commands, codec boundary, and implementation order for the pre-implementation Chronos UI project |
+1 −1
Changes for CLAUDE.md: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -136,7 +136,7 @@ Keep `buildTimeEnv` using dotted `import.meta.env.X` access (Vite static replace

## Containerization & build gotcha

- `Dockerfile` (multi-stage Node→nginx), `docker-compose.yml`, `nginx.conf` (SPA fallback + `/healthz`), `docker-entrypoint.sh`. See `.changelog/operations-guide.md` §3a.
- `Dockerfile` (multi-stage Node→nginx), `docker-compose.yml`, `nginx.conf` (SPA fallback + `/healthz`), `docker-entrypoint.sh`. See `.changelog/guides/operations-guide.md` §3a.
- **`npm run build` (`tsc -b && vite build`) currently fails** on pre-existing MUI v9 theme typing errors (`colorSchemes`/`colorSchemeSelector`/`theme.vars` in `src/ui/theme.ts` + theme/token tests) — unrelated to most changes. `vite build` alone succeeds, so the Docker image runs `npx vite build` directly. `npm run typecheck` is a **no-op** (root `tsconfig.json` has `files: []`); the real type gate is `tsc -b`. Fix the theme types to unbreak `npm run build`.

## Testing
+17 −17
Changes for README.md: 17 added lines, 17 removed lines.
Original line number Diff line number Diff line
@@ -15,12 +15,12 @@ an operation in [`api-docs.json`](api-docs.json).

| You are a… | You can… | Start here |
|---|---|---|
| **Administrator** | Manage the scheduling substrate: resource pools, memberships, calendars, blackouts, and operational health flags | [Administrator Guide](.changelog/administrator-guide.md) |
| **Reservation Requester** | Search availability, check feasibility, place and modify reservations, assess service-order fulfilment | [Requester Guide](.changelog/requester-guide.md) |
| **Auditor** | Review reservation activity, inconsistency flags, and global statistics (read-only) | [Auditor Guide](.changelog/auditor-guide.md) |
| **Developer** | Build, test, and extend the UI | [Developer Guide](.changelog/developer-guide.md) |
| **Operator / DevOps** | Configure, deploy, and run the app and its Keycloak client | [Operations Guide](.changelog/operations-guide.md) |
| **API integrator** | Understand the REST surface the UI consumes | [REST API Guide](.changelog/api-guide.md) |
| **Administrator** | Manage the scheduling substrate: resource pools, memberships, calendars, blackouts, and operational health flags | [Administrator Guide](.changelog/guides/administrator-guide.md) |
| **Reservation Requester** | Search availability, check feasibility, place and modify reservations, assess service-order fulfilment | [Requester Guide](.changelog/guides/requester-guide.md) |
| **Auditor** | Review reservation activity, inconsistency flags, and global statistics (read-only) | [Auditor Guide](.changelog/guides/auditor-guide.md) |
| **Developer** | Build, test, and extend the UI | [Developer Guide](.changelog/guides/developer-guide.md) |
| **Operator / DevOps** | Configure, deploy, and run the app and its Keycloak client | [Operations Guide](.changelog/guides/operations-guide.md) |
| **API integrator** | Understand the REST surface the UI consumes | [REST API Guide](.changelog/guides/api-guide.md) |

Roles come from Keycloak (`chronos.admin`, `chronos.requester`, `chronos.auditor`).
A user may hold several; the UI shows the union of what they permit. UI role
@@ -38,8 +38,8 @@ npm install
npm run dev                # http://localhost:5173
```

See the [Developer Guide](.changelog/developer-guide.md) for the full workflow
and the [Operations Guide](.changelog/operations-guide.md) for deployment.
See the [Developer Guide](.changelog/guides/developer-guide.md) for the full workflow
and the [Operations Guide](.changelog/guides/operations-guide.md) for deployment.

## Run with Docker

@@ -55,7 +55,7 @@ docker compose up -d --build # UI on http://localhost:8080, health at /heal
```

Details (plain `docker run`, how runtime injection works, caching) are in the
[Operations Guide](.changelog/operations-guide.md#3a-docker-recommended).
[Operations Guide](.changelog/guides/operations-guide.md#3a-docker-recommended).

## Environment variables

@@ -108,18 +108,18 @@ Adapters (src/adapters)
Chronos /api/v1/*
```

The deep dive lives in the [Developer Guide](.changelog/developer-guide.md) and
The deep dive lives in the [Developer Guide](.changelog/guides/developer-guide.md) and
[`chronos-ui-design-v1.2.md`](chronos-ui-design-v1.2.md).

## Documentation map

- **Guides** ([.changelog/](.changelog/))
  - [Developer Guide](.changelog/developer-guide.md) — setup, architecture, conventions, testing
  - [REST API Guide](.changelog/api-guide.md) — the `/api/v1` surface, auth, error model, codec quirks
  - [Administrator Guide](.changelog/administrator-guide.md) — pools, memberships, calendars, blackouts, flags
  - [Requester Guide](.changelog/requester-guide.md) — availability, holds, reservations, modifications, assessment
  - [Auditor Guide](.changelog/auditor-guide.md) — activity, flags, statistics
  - [Operations Guide](.changelog/operations-guide.md) — deployment, Keycloak, configuration
- **Guides** ([.changelog/guides/](.changelog/guides/))
  - [Developer Guide](.changelog/guides/developer-guide.md) — setup, architecture, conventions, testing
  - [REST API Guide](.changelog/guides/api-guide.md) — the `/api/v1` surface, auth, error model, codec quirks
  - [Administrator Guide](.changelog/guides/administrator-guide.md) — pools, memberships, calendars, blackouts, flags
  - [Requester Guide](.changelog/guides/requester-guide.md) — availability, holds, reservations, modifications, assessment
  - [Auditor Guide](.changelog/guides/auditor-guide.md) — activity, flags, statistics
  - [Operations Guide](.changelog/guides/operations-guide.md) — deployment, Keycloak, configuration
- **Specifications** (repo root)
  - [`chronos-ui-requirements-v0.1.md`](chronos-ui-requirements-v0.1.md) — functional requirements R1–R19
  - [`chronos-ui-design-v1.2.md`](chronos-ui-design-v1.2.md) — architecture and ADRs