Skip to content

Commit e61f15b

Browse files
authored
Merge pull request #347 from synnaxlabs/sy-175-line-plot-hold
Sy 175 line plot hold
2 parents 985b880 + 9be3b54 commit e61f15b

File tree

215 files changed

+3425
-3272
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

215 files changed

+3425
-3272
lines changed

alamos/ts/src/dev/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
// included in the file licenses/APL.txt.
99

1010
import { trace } from "@opentelemetry/api";
11-
import { RUNTIME } from "@synnaxlabs/x";
11+
import { runtime } from "@synnaxlabs/x";
1212
import uptrace from "@uptrace/web";
1313

1414
import { Instrumentation } from "@/instrumentation";
1515
import { Logger } from "@/log";
1616
import { Tracer } from "@/trace";
1717

1818
const configureOpentelemetry = (config: uptrace.Config): void => {
19-
if (RUNTIME === "browser") {
19+
if (runtime.RUNTIME === "browser") {
2020
uptrace.configureOpentelemetry(config);
2121
} else {
2222
// eslint-disable-next-line @typescript-eslint/no-var-requires

alamos/ts/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ export default defineConfig({
1515
plugins: [lib({ name: "alamos" })],
1616
build: {
1717
sourcemap: true,
18-
minify: true,
18+
minify: false,
1919
},
2020
});

client/py/synnax/control/a.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,4 @@
11

22
from typing import Callable
33

4-
class Tank:
5-
pt_chan: str
6-
press_chan: str
7-
vent_chan: str
8-
press_calc_method: Callable[[float], float]
9-
10-
def __init__(self, pt_channel: str):
11-
...
12-
13-
def step(self, state: dict[str, float]) -> dict[str, float]:
14-
press_valve_value = state[self.press_chan]
15-
if (press_valve_value > 0.5):
16-
state[self.pt_chan] = self.pt_chan + self.press_calc_method(press_valve_value)
17-
else:
18-
state[self.pt_chan] = self.pt_chan + self.press_calc_method(press_valve_value)
194

client/ts/src/transport.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@
99

1010
import {
1111
HTTPClient,
12-
JSONEncoderDecoder,
1312
WebSocketClient,
1413
type Middleware,
1514
type StreamClient,
1615
type UnaryClient,
1716
} from "@synnaxlabs/freighter";
18-
import { type URL } from "@synnaxlabs/x";
17+
import { binary, type URL } from "@synnaxlabs/x";
1918

2019
const baseAPIEndpoint = "/api/v1/";
2120

@@ -28,7 +27,7 @@ export class Transport {
2827
constructor(url: URL, secure: boolean = false) {
2928
this.secure = secure;
3029
this.url = url.child(baseAPIEndpoint);
31-
const ecd = new JSONEncoderDecoder();
30+
const ecd = new binary.JSONEncoderDecoder();
3231
this.unary = new HTTPClient(this.url, ecd, this.secure);
3332
this.stream = new WebSocketClient(this.url, ecd, this.secure);
3433
}

client/ts/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { defineConfig } from "vite";
1313
export default defineConfig({
1414
plugins: [lib({ name: "client" })],
1515
build: {
16-
minify: true,
16+
minify: false,
1717
},
1818
test: {
1919
globals: true,

configs/vite/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const tsConfigPaths = ({ name }: Options): Plugin => {
5050
},
5151
build: {
5252
sourcemap: true,
53-
minify: true,
53+
minify: false,
5454
lib: {
5555
name,
5656
formats: ["es", "cjs"],

delta/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@synnaxlabs/delta",
33
"private": true,
4-
"version": "0.10.4",
4+
"version": "0.11.0",
55
"type": "module",
66
"scripts": {
77
"dev": "tauri dev",

delta/src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"package": {
1010
"productName": "Synnax",
11-
"version": "0.10.4"
11+
"version": "0.11.0"
1212
},
1313
"tauri": {
1414
"allowlist": {

delta/src/cluster/selectors.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
// License, use of this software will be governed by the Apache License, Version 2.0,
88
// included in the file licenses/APL.txt.
99

10-
import { Cluster } from "@/cluster/core";
11-
import { SliceState, StoreState, SLICE_NAME } from "@/cluster/slice";
10+
import { type Cluster } from "@/cluster/core";
11+
import { type SliceState, type StoreState, SLICE_NAME } from "@/cluster/slice";
1212
import { selectByKey, selectByKeys, useMemoSelect } from "@/hooks";
1313

1414
/**

delta/src/docs/layout.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
// License, use of this software will be governed by the Apache License, Version 2.0,
88
// included in the file licenses/APL.txt.
99

10-
import { type LayoutState } from "@/layout";
10+
import { type LayoutState } from "@/layout/layout";
1111

1212
export const createLayout = (overrides?: LayoutState): LayoutState => ({
13+
windowKey: "docs",
1314
key: "docs",
1415
type: "docs",
1516
location: "mosaic",

0 commit comments

Comments
 (0)