149 Commits
Author SHA1 Message Date
sawka 74f551b212 connstatus fix, update connection icons appropriately for status 2024-08-30 13:56:53 -07:00
Mike SawkaandGitHub 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
Mike SawkaandGitHub 53d3ad04b7 focus/key handling for directory preview (#291) 2024-08-29 17:00:24 -07:00
Mike SawkaandGitHub a104a6e446 new focus system part 1 (#290) 2024-08-29 16:06:15 -07:00
Evan SimkowitzandGitHub 637eaa4206 Use webview's built-in history for navigation (#232) 2024-08-29 13:37:05 -07:00
Evan SimkowitzandGitHub fb65ec1e23 Explicitly set focus on insert (#285)
Adds a flag to the insert layout action to explicitly set the focus of a
newly inserted node. This also adds a flag in the starter layout to
focus on the terminal block.
2024-08-27 23:16:07 -07:00
Mike SawkaandGitHub a3aa941b68 implement wsh setconfig (#284) 2024-08-27 22:02:21 -07:00
Mike SawkaandGitHub 8630e23239 new config system (#283) 2024-08-27 18:49:49 -07:00
Evan SimkowitzandGitHub c9c555452a Establish wlayout for coordinating backend layout actions (#282) 2024-08-27 18:38:57 -07:00
Mike SawkaandGitHub f28bdccb5d move CreateX functions to wcore (#275) 2024-08-26 15:17:37 -07:00
164afeeb66 Unified node model to pass data from layout to blocks (#259)
This adds a new NodeModel, which can be passed from the TileLayout to
contained blocks. It contains all the layout data that the block should
care about, including focus status, whether a drag operation is
underway, whether the node is magnified, etc.

This also adds a focus stack for the layout, which will let the focus
switch to the last-focused node when the currently-focused one is
closed.

This also addresses a regression in the resize handles that caused them
to be offset from the cursor when dragged.

---------

Co-authored-by: sawka <mike.sawka@gmail.com>
2024-08-26 11:56:00 -07:00
Sylvia Crowe fe8b1c1924 fix: correct ConnStatus uninitialized field 2024-08-24 15:27:14 -07:00
636d71e652 Change Connection UI (#269)
This allows the user to select different connections from the terminal
block. Some features include:
- a status bar at the top of the term block that shows your current
connection
- an icon next to the status bar that shows whether the connection is
currently connected
- the ability to click the status bar and type in a new connection in
order to change the current connection

---------

Co-authored-by: sawka <mike.sawka@gmail.com>
2024-08-23 18:12:40 -07:00
Red J AdayaandGitHub c1684d28d1 suggestions modal (#260) 2024-08-23 00:18:49 -07:00
Mike SawkaandGitHub dedfc31344 implement Cmd-I and restructure block viewmodels (#257) 2024-08-21 15:49:23 -07:00
Evan SimkowitzandGitHub e527e2ab77 Add authkey header for requests to the backend (#256)
With this PR, Electron will generate a new authorization key that the Go
backend will look for in any incoming requests. The Electron backend
will inject this header with all requests to the backend to ensure no
additional work is required on the frontend.

This also adds a `fetchutil` abstraction that will use the Electron
`net` module when calls are made from the Electron backend to the Go
backend. When using the `node:fetch` module, Electron can't inject
headers to requests. The Electron `net` module is also faster than the
Node module.

This also breaks out platform functions in emain into their own file so
other emain modules can import them.
2024-08-21 15:04:39 -07:00
Evan SimkowitzandGitHub 23261a7a98 Add flag for specifying a new node as magnified on insert (#253) 2024-08-20 20:14:14 -07:00
Evan SimkowitzandGitHub bd4bf93d4a Update copyright indicators on a bunch of files (#255) 2024-08-20 17:01:29 -07:00
Mike SawkaandGitHub 037497e7f1 wsh edit working (#252) 2024-08-20 14:56:48 -07:00
sawka a0734a3bbe implement cmd+t 2024-08-19 18:28:28 -07:00
Red J AdayaandGitHub 964c422a02 about modal (#244) 2024-08-19 15:49:40 -07:00
Mike SawkaandGitHub 534fcc5d0a client support for rpc cancel (#249) 2024-08-19 15:44:30 -07:00
sawka 00958b8fed refactor 2024-08-19 15:01:00 -07:00
Mike SawkaandGitHub 0d8c159101 remote file preview (streaming) working (#248) 2024-08-19 14:37:52 -07:00