# HG changeset patch # User drewp@bigasterisk.com # Date 1685040368 25200 # Node ID 91ae65157e5ff3a5b60b91a842d97da11f4cb9a9 # Parent 7a7877eb7e8b6b50e85709903aae4bbf8891ad77 logging and comments diff -r 7a7877eb7e8b -r 91ae65157e5f light9/live/Effect.ts --- a/light9/live/Effect.ts Wed May 24 14:45:25 2023 -0700 +++ b/light9/live/Effect.ts Thu May 25 11:46:08 2023 -0700 @@ -5,6 +5,7 @@ import { SyncedGraph } from "../web/SyncedGraph"; import { shortShow } from "../web/show_specific"; +// todo: Align these names with newtypes.py, which uses HexColor and VTUnion. type Color = string; export type ControlValue = number | Color | NamedNode; diff -r 7a7877eb7e8b -r 91ae65157e5f light9/live/Light9DeviceControl.ts --- a/light9/live/Light9DeviceControl.ts Wed May 24 14:45:25 2023 -0700 +++ b/light9/live/Light9DeviceControl.ts Thu May 25 11:46:08 2023 -0700 @@ -84,9 +84,10 @@ a + ${this.deviceAttrs.map( (dattr: DeviceAttrRow) => html` -
+
attr { sortBy(this.graph.subjects(U("rdf:type"), dc), "value").forEach((dev) => { - log(`found dev ${dev.value}`) + log(`found dev ${dev.value}`); this.devices.push(dev as NamedNode); }); });