Commit Graph
44 Commits
Author SHA1 Message Date
Red J AdayaandGitHub dae72e7009 more on button refactor (#388)
- Removed opacity for hover effect. Now uses a brighter variant of color
- Updated other Button usages
2024-09-17 22:38:17 -07:00
Red J AdayaandGitHub 09f4616ae0 button refactor (#383)
Refactored to be more flexible. Now, it has three types

- solid
- outline
- ghost

and subtypes

- green
- grey
- red
- yellow

It defaults to solid and green when no className is provided. It
concatenates defaults if custom classNames are provided.
2024-09-16 22:23:05 -07:00
Mike SawkaandGitHub 3939648bbb fe wsh router + wsh client impl (#381) 2024-09-16 11:59:39 -07:00
sawka 766a976718 errorboundary fallback, errorboundary in block frame header. fix workspace error boundary 2024-09-09 18:20:57 -07:00
Sylvia Crowe 639e796296 fix: clamp connection rowIndex to list size 2024-09-09 17:06:48 -07:00
Sylvie CroweandGitHub 663cb2cce7 Connection Typeahead Arrow Keys (#352)
This is a first pass to get arrow keys to work with the connection
typeahead.
2024-09-09 16:26:24 -07:00
Evan SimkowitzandGitHub 9e3c9f9253 Make IconButton its own element, move CopyButton to use it (#357) 2024-09-09 12:35:53 -07:00
sawka c00749efeb fix useWidth usage, use overlayref directly 2024-09-06 11:10:45 -07:00
Red J AdayaandGitHub a00dc5682e connection status overlay (#337) 2024-09-06 10:33:26 -07:00
Mike SawkaandGitHub acae25f6e3 connmodal updates. connection colors, conn status in modal (#335) 2024-09-05 23:09:30 -07:00
sawka 975b77e728 updates for suggestions 2024-09-05 22:15:14 -07:00
sawka a22b1cb9f5 fix reconnect suggestion 2024-09-05 19:25:52 -07:00
sawka a3296fc530 fix icon position, plus sign, etc. 2024-09-05 18:58:51 -07:00
sawka 98a55b2290 updates for local 2024-09-05 18:54:12 -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 3e0ca6b41e connection handling / block controller handling (#326) 2024-09-05 00:21:08 -07:00
Evan SimkowitzandGitHub 64a7a6e533 Truncate file paths from the left in the preview header (#322)
This adjusts the block header styling to remove a bunch of unnecessary
attributes and to ensure that we have more consistent shrinking
behavior. Now, file paths will truncate starting on the left side, to
preserve the file name as long as possible. Also, the widget name can
shrink down to zero, while preserving the widget icon, since it's
unnecessary to have both when the widget is small.

<img width="415" alt="image"
src="https://github.com/user-attachments/assets/46e0a74a-f35d-4d09-9c67-019936e67e41">
2024-09-04 15:25:25 -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
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
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
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