Commit Graph
567 Commits
Author SHA1 Message Date
Evan SimkowitzandGitHub 4e60880b8f Clean up spacing and padding of elements in the block header (#318)
This frees up some more space for content that was previously being
eaten up by unnecessary gaps and padding. It also centers some
off-center icons.
2024-09-03 23:14:22 -07:00
Mike SawkaandGitHub 7bc154771a implement wsh conn commands (#319) 2024-09-03 23:04:19 -07:00
Mike SawkaandGitHub afd83f0f6f wsh connreinstall (#317) 2024-09-03 22:15:02 -07:00
Evan SimkowitzandGitHub 0de41fab08 Fix the client version in the about modal (#315)
The client version in the about modal was hard-coded. Now, it will use
the same values that powered the Electron about modal.
2024-09-03 21:45:44 -07:00
Mike SawkaandGitHub f252531197 small update, show actual path iff path is ~ (#314) 2024-09-03 21:18:52 -07:00
Mike SawkaandGitHub a7746bc5cc fix rpc no-route errors, fix fileopen in preview (#313) 2024-09-03 21:08:51 -07:00
Evan SimkowitzandGitHub 6413d49119 Make default monaco theme transparent, remove import errors (#308)
This makes the background for the "wave-theme-dark" theme transparent.
The light theme is still opaque because otherwise it will look somewhat
dark.

This also suppresses TypeScript/JavaScript import errors in the default
linter, since we don't have support for project directories.

This also reworks the useWidth and useHeight hooks to use the
useResizeObserver hook, which limits the number of ResizeObserver
instances floating around, thereby improving performance
2024-09-03 18:43:59 -07:00
Evan SimkowitzandGitHub eeceb17c75 Clean up preview.tsx (#310) 2024-09-03 18:27:41 -07:00
Evan SimkowitzandGitHub f5fb1c2664 Move xterm.css to resolve Vite warning (#309) 2024-09-03 18:11:28 -07:00
Evan SimkowitzandGitHub 16e1b7f65c Unmagnify the final leaf in a layout (#307)
This handles an edge case where a user deletes all unmagnified nodes,
leaving a final node that is still magnified. Because we ignore
magnify/unmagnify operations when there's only one leaf remaining, this
would result in the last node being stuck magnified until a new node is
added.

Also fixes a bug where the layout would not always update when a new
block was added.
2024-09-03 14:26:29 -07:00
Evan SimkowitzandGitHub 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 9d344b899d fix issues with layouteffects in block 2024-09-03 10:24:00 -07:00
sawka c94ff3495b fix terminal paste handler -- use paste fn, unify key handlers. add extra if stmts to focusNode calls in block 2024-09-03 00:02:03 -07:00
sawka 70ef76be62 implement cmd:i, hook up telemetry switch, fix some settings types 2024-09-02 20:21:35 -07:00
Mike SawkaandGitHub e3b7ab73c0 preview refactor for keyboard/focus (#303) 2024-09-02 16:48:10 -07:00
Sylvie CroweandGitHub 226bc4ee6f Connect With Non-Terminal Widgets (#304)
- Adds connection buttons for previews
- Makes it possible for graphs and previews to connect on backend
(without a terminal open to connection)
- Changes the wsh install message
2024-09-02 12:34:49 -07:00
Red J AdayaandGitHub 63cfe1d279 preview edit (#302) 2024-08-31 11:57:45 -07:00
Evan SimkowitzandGitHub aab487541b Resolve BlockNum in WSH commands (#301) 2024-08-30 20:20:25 -07:00
Evan Simkowitz be1ce1f71e add delay to the magnify transition so I can actually see the animation 2024-08-30 17:45:37 -07:00
sawka 1975b9b1db connstatus icon 2024-08-30 14:36:16 -07:00
sawka 8aa4025907 add restart controller to context menu 2024-08-30 14:01:53 -07:00
sawka 74f551b212 connstatus fix, update connection icons appropriately for status 2024-08-30 13:56:53 -07:00
Evan Simkowitz ef95fd20ed remove magnify.less prefers-reduced-motion query 2024-08-30 12:52:58 -07:00
Evan Simkowitz cb664cff41 ignore prefers-reduced-motion for resize handle line delay 2024-08-30 12:52:02 -07:00
Evan Simkowitz 86d6c5cd60 set prefers-reduced-motion as a global override 2024-08-30 12:48:06 -07:00