Commit Graph
157 Commits
Author SHA1 Message Date
sawka 8fb831fac6 focus selection stuff 2024-09-19 16:47:59 -07:00
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
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
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
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
Evan Simkowitz 88158289d2 remove debug log 2024-09-06 17:13:30 -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
Evan Simkowitz 9ef6745d66 fix regression in nodeModel.innerRect 2024-09-05 18:07:55 -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 74c8044c73 Add gap size setting (#325)
Adds a new setting for the gap size between tiles in a layout. Also
updates the resize handle calculations so they are dynamically generated
based on the gap size. Also updates the styling for the resize handles
to be more robust.

This also updates the default gap size to 3px.

This also slims out the Block Frame padding so it is just enough that
the blocks don't overlap when there's no gap.
2024-09-04 22:07:47 -07:00
Evan SimkowitzandGitHub 072730f7eb Table of contents for markdown preview (#323)
Adds a table of contents in the markdown preview, with a button in the
header to toggle whether to show the TOC. When a user clicks one of the
TOC elements, the preview will scroll to the corresponding heading.

I've also cleaned up some MD preview styling that was inconsistent and
causing the preview to overflow unnecessarily. This also fixes some
terminology in the preview code.

<img width="574" alt="image"
src="https://github.com/user-attachments/assets/abb18ba9-21d3-4315-bdc3-e4bdcca39a4c">
2024-09-04 21:15:39 -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