Commit Graph
567 Commits
Author SHA1 Message Date
Evan SimkowitzandGitHub c892c39a73 Fix block content sizing (#280)
Make the block content sizing update once when its node moves or becomes
magnified. By manually updating this inner sizing rather than letting
the block flow in the DOM, the animations of the block frames are much
smoother.

This also fixes an issue where two scrollbars were being rendered for
the Directory Preview widget.

This also sets zero padding on nodes when there's only a single node
being rendered.
2024-08-27 13:41:36 -07:00
Evan Simkowitz 86fc45fc13 fix double scrollbars in directory preview 2024-08-27 13:28:10 -07:00
Evan Simkowitz 8fcc856740 fix node collapse edge case 2024-08-27 13:25:02 -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
Red J AdayaandGitHub a665d372e3 telemetry toggle (#278)
<img width="1316" alt="image"
src="https://github.com/user-attachments/assets/01dc517c-2e9c-46ea-aaf0-4fff1fd3909d">
2024-08-26 18:03:32 -07:00
sawka fd7fa9f6f1 useatomvaluesafe 2024-08-26 16:56:37 -07:00
sawka 19ebfa0361 fix local icon for term connections 2024-08-26 16:54:39 -07:00
Evan Simkowitz fac706fb4f remove .js from imports 2024-08-26 16:37:05 -07:00
Evan Simkowitz 56757e4bb0 fix layoutTree tests 2024-08-26 16:35:35 -07:00
Red J AdayaandGitHub 7d98aeb2c9 fix dynamic setting of suggestions modal (#272) 2024-08-26 16:33:05 -07:00
Evan Simkowitz cefc491bf2 fix layoutNode and layout util tests 2024-08-26 16:27:57 -07:00
Mike SawkaandGitHub c2fe3b18e1 move connection switching to blockheader (#276) 2024-08-26 16:19:03 -07:00
Mike SawkaandGitHub f28bdccb5d move CreateX functions to wcore (#275) 2024-08-26 15:17:37 -07:00
sawka 2118c24c0d fix ctrl:shift 2 2024-08-26 13:53:46 -07:00
Evan SimkowitzandGitHub eea57af80b Fix Cmd-W to close focused node (#273)
Fixes the in-memory focused node stack so it can be used to find the currently-focused node. This is necessary for `closeFocusedNode` to work.  Also fixes `validateFocusedNode` so it will set the first node to be focused if no focused node is available. Also cleans up leafOrder update pattern.
2024-08-26 12:32:28 -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
Mike SawkaandGitHub 62d9d53e52 fix terminal paste (inverted colors) (#271) 2024-08-23 22:12:27 -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 b9c87a0ce3 hide when Enter is pressed (#262) 2024-08-23 09:46:04 -07:00
Red J AdayaandGitHub c1684d28d1 suggestions modal (#260) 2024-08-23 00:18:49 -07:00
Red J AdayaandGitHub af3bc7d249 reduce target area for tab close btn (#261) 2024-08-23 00:15:54 -07:00
Evan Simkowitz 7c03a58b1b don't set ready in effect 2024-08-22 19:26:22 -07:00
sawka 43138f754c fix double model creation 2024-08-22 16:25:53 -07:00
sawka 9237208e49 quick edits to help 2024-08-22 11:36:35 -07:00