From fc3b749ef1a0b99e443932ba7d9f3e95e1ee5e6e Mon Sep 17 00:00:00 2001 From: Paul Moeller Date: Wed, 18 Feb 2026 23:15:39 +0000 Subject: [PATCH 1/3] fix #194 Static widget is a string only --- .readthedocs.yml | 2 +- ui/src/components/widget/VStatic.vue | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index a420660..fa10316 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -4,7 +4,7 @@ version: 2 build: os: ubuntu-22.04 tools: - python: "3.9" + python: "3.13" jobs: pre_build: - curl https://radia.run | bash -s readthedocs diff --git a/ui/src/components/widget/VStatic.vue b/ui/src/components/widget/VStatic.vue index 46a8548..2ddae02 100644 --- a/ui/src/components/widget/VStatic.vue +++ b/ui/src/components/widget/VStatic.vue @@ -7,12 +7,9 @@ :ctx="ctx" />
- +
+ {{ ctx[field].value }} +
From 66ed0b5c922e166f3277aecaf9024e5d9127b132 Mon Sep 17 00:00:00 2001 From: Paul Moeller Date: Thu, 5 Mar 2026 17:49:38 +0000 Subject: [PATCH 2/3] unwritabled text/float/integer fields displayed with VStatic --- ui/src/components/layout/VCell.vue | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/ui/src/components/layout/VCell.vue b/ui/src/components/layout/VCell.vue index ee4677c..aca795b 100644 --- a/ui/src/components/layout/VCell.vue +++ b/ui/src/components/layout/VCell.vue @@ -19,10 +19,18 @@ />
- +
+ +
+
+ +
Date: Thu, 5 Mar 2026 18:01:11 +0000 Subject: [PATCH 3/3] removed static widget def, use writable status instead --- slicops/package_data/sliclet/fractals.yaml | 2 -- slicops/package_data/sliclet/screen.yaml | 2 -- slicops/package_data/sliclet/yaml_db.yaml | 1 - ui/src/components/layout/VCell.vue | 8 +------- 4 files changed, 1 insertion(+), 12 deletions(-) diff --git a/slicops/package_data/sliclet/fractals.yaml b/slicops/package_data/sliclet/fractals.yaml index 060e579..969d76e 100644 --- a/slicops/package_data/sliclet/fractals.yaml +++ b/slicops/package_data/sliclet/fractals.yaml @@ -32,7 +32,6 @@ fields: prototype: String ui: label: Fractal Status - widget: static writable: false plot: prototype: Dict @@ -46,7 +45,6 @@ fields: plot_file: prototype: String ui: - widget: static writable: false #TODO(robnagler) need a "base.yaml" or something revert: diff --git a/slicops/package_data/sliclet/screen.yaml b/slicops/package_data/sliclet/screen.yaml index 7077f25..a1bc909 100644 --- a/slicops/package_data/sliclet/screen.yaml +++ b/slicops/package_data/sliclet/screen.yaml @@ -46,13 +46,11 @@ fields: ui: label: PV writable: false - widget: static target_status: prototype: String ui: label: Target Status writable: false - widget: static single_button: prototype: Button ui: diff --git a/slicops/package_data/sliclet/yaml_db.yaml b/slicops/package_data/sliclet/yaml_db.yaml index 54cdd63..38d2123 100644 --- a/slicops/package_data/sliclet/yaml_db.yaml +++ b/slicops/package_data/sliclet/yaml_db.yaml @@ -18,7 +18,6 @@ fields: ui: label: 'Output #1' writable: False - widget: static output2: prototype: output1 ui: diff --git a/ui/src/components/layout/VCell.vue b/ui/src/components/layout/VCell.vue index aca795b..9b7fbf4 100644 --- a/ui/src/components/layout/VCell.vue +++ b/ui/src/components/layout/VCell.vue @@ -18,7 +18,7 @@ :ctx="ctx" />
-
+
-
- -