Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
402 changes: 402 additions & 0 deletions sch/pydiris.py

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions tools/iris-config-ui/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
IRIS Config Editor (minimal)

This is a small Vite + React app that uses react-jsonschema-form (rjsf) to render
an editable form driven by the `irisconfig.json` schema.

Quick start

1. cd tools/iris-config-ui
2. npm install
3. npm run dev

4. Start the persistence server (runs on port 5174 by default): npm run start:server


Open http://localhost:5173 and you should see the form preview on the right and
editable JSON schema + uiSchema editors on the left.

Notes

- `public/irisconfig.json` was copied from the repository's top-level `irisconfig.json`.
- The left column lets you edit the raw JSON Schema and apply changes interactively.
- The uiSchema textarea accepts a JSON object to customize widgets/layout.
18 changes: 18 additions & 0 deletions tools/iris-config-ui/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>IRIS Config Editor</title>
<!-- Bootstrap CSS (CDN) -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Prevent browser requesting /favicon.ico (use empty data URI) -->
<link rel="icon" href="data:;base64,=" />
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
<!-- Bootstrap JS (Bundle with Popper) -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
23 changes: 23 additions & 0 deletions tools/iris-config-ui/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "iris-config-ui",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"start:server": "node server.js"
},
"dependencies": {
"@rjsf/bootstrap-4": "^5.0.0",
"@rjsf/core": "^5.0.0",
"@rjsf/validator-ajv8": "^5.0.0",
"cors": "^2.8.5",
"express": "^4.18.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"vite": "^7.2.2"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sldfkjs
Copy link

Copilot AI Nov 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file appears to be a placeholder with a descriptive filename and dummy content ("sldfkjs"). The filename suggests it should mirror content from ../../sch but currently contains only gibberish. This file should either be removed or properly implemented with the intended mirrored content.

Suggested change
sldfkjs
[CONTENTS OF ../../sch GO HERE]

Copilot uses AI. Check for mistakes.
Loading
Loading