Commit Graph
22 Commits
Author SHA1 Message Date
Sylvie CroweandGitHub f4c52d0037 Tips Component (#789)
Add the tips as a component in addition to the initial modal.
2024-09-19 11:32:24 -07:00
Evan SimkowitzandGitHub 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 SimkowitzandGitHub 9e3c9f9253 Make IconButton its own element, move CopyButton to use it (#357) 2024-09-09 12:35:53 -07:00
Mike SawkaandGitHub acae25f6e3 connmodal updates. connection colors, conn status in modal (#335) 2024-09-05 23:09:30 -07:00
Sylvie CroweandGitHub fc0b1929ec Connection Typeahead/Suggestions (#332)
Adds a list of potential remotes to add and filters it as you type. It
also provides options for reconnecting on a disconnection and
specifically connecting to a local connection
2024-09-05 17:02:44 -07:00
Mike SawkaandGitHub a5f563b52d new directory structure and oldmigrate (#327) 2024-09-05 14:05:42 -07:00
Mike SawkaandGitHub 3e0ca6b41e connection handling / block controller handling (#326) 2024-09-05 00:21:08 -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
Mike SawkaandGitHub e3b7ab73c0 preview refactor for keyboard/focus (#303) 2024-09-02 16:48:10 -07:00
sawka 1975b9b1db connstatus icon 2024-08-30 14:36:16 -07:00
sawka 74f551b212 connstatus fix, update connection icons appropriately for status 2024-08-30 13:56:53 -07:00
Evan SimkowitzandGitHub 637eaa4206 Use webview's built-in history for navigation (#232) 2024-08-29 13:37:05 -07:00
Red J AdayaandGitHub c440fb774e suggestions UI (#286) 2024-08-28 23:47:45 -07:00
Mike SawkaandGitHub 8630e23239 new config system (#283) 2024-08-27 18:49:49 -07:00
sawka c2d2ad9136 separate cmd+o from switch connection (disconnect typeaaheadatom), and allow width to 95% 2024-08-26 21:03:12 -07:00
sawka 19ebfa0361 fix local icon for term connections 2024-08-26 16:54:39 -07:00
Mike SawkaandGitHub c2fe3b18e1 move connection switching to blockheader (#276) 2024-08-26 16:19:03 -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
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
Evan SimkowitzandGitHub e29cb2debe Make magnify icon always visible, transition from magnify to minimize (#197)
I'm updating the magnify button to be always visible and animate a
transition between being a "Magnify" button and a "Minimize" button.

This also cleans up some text shrinking behavior in the block frame
header so the end icons are always visible.

Also fixes some height discrepancies in the block frame header.

Also implements a `prefers-reduced-motion` query for the tilelayout and
block frame to ensure transitions are not set if the user does not want
them.
2024-08-05 16:13:26 -07:00
Evan SimkowitzandGitHub 5143aefd3c Simplify blockframe header styling (#199)
This cleans up styling for the BlockFrame header, which had a lot of redundant and unnecessary declarations, which produced inconsistent styling.
2024-08-05 14:54:33 -07:00
sawka 94d6c14011 reorganize block view more 2024-08-01 15:35:13 -07:00