Devin 07d47e726e PR G: portal /transactions page + 12-state machine view (arch step 8)
Adds the first portal page backed by the CurrenciCombo orchestrator
(PR A-F). Renders:

- /transactions           \u2014 list of recent plans with state chip,
                            instrument hint, owner, last-updated.
- /transactions/:planId   \u2014 detail view with three cards:
    1. 12-state machine grid highlighting current + visited states.
    2. Audit trail table: from\u2192to, actor, actor_role (SoD),
       reason, timestamp \u2014 straight from state_transitions.
    3. Signed event stream: id, type, signature, prev_hash, at \u2014
       straight from events (PR D).

Backend wiring (src/services/orchestrator.ts):
  - listPlans()        GET /api/plans
  - getPlanState(id)   GET /api/plans/:id/state
  - getPlanEvents(id)  GET /api/plans/:id/events
  - probeOrchestrator() GET /health

If VITE_ORCHESTRATOR_URL is unset (orchestrator not deployed yet),
every call returns deterministic demo data so the 12-state view and
audit trail still render. Mirrors how proxmox/dbisCore fall back.
Badge on every card shows LIVE / DEGRADED / DEMO.

Also registers the orchestrator in backendCatalog so the existing
BackendStatusBar on the Dashboard picks it up automatically.

PortalLayout gets a new 'Transactions' nav item (GitBranch icon).

Portal code from PR #2 is untouched except for the new route + nav
entry.
2026-04-22 16:49:53 +00:00
2026-04-18 17:19:24 +00:00
2026-04-18 17:19:24 +00:00

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default defineConfig([
  globalIgnores(['dist']),
  {
    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...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

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

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])
Description
No description provided
Readme MIT 1,022 KiB
Languages
TypeScript 75.5%
CSS 10%
Shell 9.9%
PowerShell 3.1%
PLpgSQL 0.6%
Other 0.8%