mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 00:32:21 +00:00
Contract and docs text describe the ports and the Cesium renderer only
This commit is contained in:
1 parent
1fdf52198d
commit
9862b2a165
31 files changed
+80
-85
No files matched your search
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
/** A row of a group an application adds to the Display panel. */
|
||||
/** A row of a group added to the Display panel. */
|
||||
export type DisplayGroupRow =
|
||||
| {
|
||||
kind: 'toggle';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* Groups of controls an application adds to the Display panel, under
|
||||
* Effects: toggles, sliders and notes it describes and answers itself.
|
||||
* Groups of controls added to the Display panel, under
|
||||
* Effects: toggles, sliders and notes, each answered by whoever added it.
|
||||
*/
|
||||
import { applicationPinia } from './vueRuntime.js';
|
||||
import { useDisplayStore } from './stores/display.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// src/ui/displayGroups.test.mjs — an application's groups reach the Display
|
||||
// src/ui/displayGroups.test.mjs — added groups reach the Display
|
||||
// panel's store on the page's Pinia.
|
||||
import test from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
|
||||
@@ -803,7 +803,7 @@ test('the real portal lays out once the groups have moved and puts back the focu
|
||||
assert.deepEqual(layouts, [true]);
|
||||
});
|
||||
|
||||
test('a group an application adds to Effects shows its toggles, notes and sliders, and goes', async (t) => {
|
||||
test('a group added to Effects shows its toggles, notes and sliders, and goes', async (t) => {
|
||||
const { store, $ } = fixture(t);
|
||||
const changes = [];
|
||||
store.publishGroup('conditions', {
|
||||
|
||||
@@ -29,7 +29,7 @@ export const useDisplayStore = defineStore('gev-display', () => {
|
||||
}
|
||||
|
||||
/**
|
||||
* The groups an application adds under Effects, in the order first
|
||||
* The groups added under Effects, in the order first
|
||||
* published: each `{id, rows}`. A row is a `toggle` (`{kind, id, label,
|
||||
* icon?, title?, checked, onChange(checked)}`), a `slider` (`{kind, id,
|
||||
* label, min, max, value, onChange(value)}`, its value shown in percent)
|
||||
|
||||
Reference in new issue
Block a user