76 Commits

Author SHA1 Message Date
Evan Simkowitz 4907552379 Fix number parsing for MetaSettingsType (#806)
json.Unmarshal parses all numbers to float64, which breaks any integer
settings values. This PR changes MetaSettingsType.UnmarshalJSON to use
json.Decoder, which is capable of parsing into a meta-type json.Number,
which can be interpreted as a float or an integer. It also properly
handles pointer types.
2024-09-23 18:51:30 -07:00
Mike Sawka 62cc9d8a6b telemetry fix, log no-telemetry (#802) 2024-09-23 13:33:39 -07:00
Mike Sawka c7a60a80f8 initwshrpc in electron (#391) 2024-09-17 23:10:09 -07:00
sawka d94a4bc666 don't bookstrap the newwindow layout for the first run 2024-09-17 00:00:20 -07:00
Mike Sawka 3939648bbb fe wsh router + wsh client impl (#381) 2024-09-16 11:59:39 -07:00
Evan Simkowitz 936d4bfb30 Migrate websocket eventbus messages to wps (#367)
This migrates all remaining eventbus events sent over the websocket to
use the wps interface. WPS is more flexible for registering events and
callbacks and provides support for more reliable unsubscribes and
resubscribes.
2024-09-11 18:03:55 -07:00
Evan Simkowitz 4bfb96b001 Add a new terminal to the default tab in a new window (#368) 2024-09-11 17:39:08 -07:00
Red J Adaya df2af04a6e telemetry fix (#365) 2024-09-11 09:26:43 -07:00
Mike Sawka 5fe0cae244 wsh web (#358) 2024-09-10 12:50:55 -07:00
sawka 62eb04090a fix shell integration directories, add bash/zsh completion scripts 2024-09-09 22:26:10 -07:00
sawka 16d01b43eb make some wsh commands hidden 2024-09-09 21:00:47 -07:00
sawka b85cfc9d2d write wsh conn disconnectall 2024-09-06 15:58:54 -07:00
Mike Sawka 8ad84fd78a update all gopkg imports (#330) 2024-09-05 14:25:45 -07:00
Mike Sawka a5f563b52d new directory structure and oldmigrate (#327) 2024-09-05 14:05:42 -07:00
Evan Simkowitz debbed7003 Remove WOS dependency from wshrpc (#329)
The frontend wshserver.ts had a weird circuitous dependency on wos.ts,
which was unnecessary. This moves the misplaced functions into wshrpc.ts
and updates the generation logic.
2024-09-05 13:17:35 -07:00
Mike Sawka 3e0ca6b41e connection handling / block controller handling (#326) 2024-09-05 00:21:08 -07:00
Mike Sawka 7bc154771a implement wsh conn commands (#319) 2024-09-03 23:04:19 -07:00
Mike Sawka afd83f0f6f wsh connreinstall (#317) 2024-09-03 22:15:02 -07:00
sawka f5d2d4c5a4 working on wsh ssh 2024-09-03 13:02:38 -07:00
Evan Simkowitz 383a71fc25 Fix infinite loop in layoutAtom, improve iconbutton disable code (#306)
Fixes an infinite loop in the layoutModel atom synchronization that
would cause the atom to update indefinitely when the root node is
deleted.

Also adds a dedicated `disabled` flag for the IconButton decl so we can
disable the onClick handler when the button is disabled.

Also updates the Magnify toggle button to use this new flag, so that
when there's only one leaf in a layout, the magnify button is disabed.
2024-09-03 11:24:45 -07:00
sawka 0084f8eb97 view/edit, fix wsh editor (this is the one for EDITOR var) 2024-09-03 10:44:16 -07:00
sawka 70ef76be62 implement cmd:i, hook up telemetry switch, fix some settings types 2024-09-02 20:21:35 -07:00
Evan Simkowitz aab487541b Resolve BlockNum in WSH commands (#301) 2024-08-30 20:20:25 -07:00
Mike Sawka e488862355 remote sysinfo data plotting (#294) 2024-08-30 11:33:04 -07:00
sawka 6e704f74e3 suppress the error message after it has shown once 2024-08-29 18:08:05 -07:00