Commit Graph
44 Commits
Author SHA1 Message Date
sawka b805014837 fix widget key 2024-09-19 14:49:57 -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
sawka 766a976718 errorboundary fallback, errorboundary in block frame header. fix workspace error boundary 2024-09-09 18:20:57 -07:00
sawka 70ef76be62 implement cmd:i, hook up telemetry switch, fix some settings types 2024-09-02 20:21:35 -07:00
Mike SawkaandGitHub 8630e23239 new config system (#283) 2024-08-27 18:49:49 -07:00
sawka 9e7df9787d move widgets back to right hand side 2024-08-22 11:36:35 -07:00
sawka a639fc3c8d implement defaultwidgets 2024-08-19 17:21:44 -07:00
sawka 5e1da4805f move widgets to left, fix some paddings 2024-08-09 11:49:19 -07:00
sawka 6ebc2e44c3 change 'home' to 'files' and switch the icon 2024-08-02 09:04:13 -07:00
Sylvie CroweandGitHub c5707de2fd Fixes For the Demo (#190) 2024-07-31 23:50:38 -07:00
Mike SawkaandGitHub cfc875bc21 metadata updates (frontend typing) (#174) 2024-07-30 12:33:28 -07:00
9233b3dbd7 modals component and model and TOS modal (#164)
Co-authored-by: Sylvia Crowe <software@oneirocosm.com>
Co-authored-by: sawka <mike.sawka@gmail.com>
2024-07-30 11:44:19 -07:00
Sylvie CroweandGitHub f3743f90ec User Input (#119)
Port the User Input feature from the previous version of the app. This
is currently being used to verify a few different prompts for ssh.
2024-07-18 15:21:33 -07:00
sawka 741ea2d0ae null pointer defense for widgets. log settings.json at startup in console 2024-07-03 14:44:48 -07:00
Red J AdayaandGitHub 566f6764c2 Web view (#78) 2024-06-26 09:39:41 -07:00
Mike SawkaandGitHub 4f627a0342 react.memo (#79) 2024-06-26 09:31:43 -07:00
Red J AdayaandGitHub edb8eb25b8 CSV view (#73) 2024-06-24 10:17:35 -07:00
sawka e7550c0a3e add block icon 2024-06-21 15:15:38 -07:00
sawka 68ca79fcbc update widgets, add label, color, description, change top two widgets 2024-06-20 13:03:50 -07:00
Sylvie CroweandGitHub 21fa9a601f Add filewatcher for config files (#63)
This adds the filewatcher and forwards events to the frontend. It also
sets up the widgets as something that can be controlled with a config
file.
2024-06-19 23:59:41 -07:00
Mike SawkaandGitHub 4ded6d94b6 stickers and terminal serialization (#57) 2024-06-17 22:38:48 -07:00
Red J AdayaandGitHub b6c85e38f6 DnD tabs (#44) 2024-06-17 21:50:33 -07:00
Evan Simkowitz 9adecebbf2 remove unnecessary useCallback in Widgets component 2024-06-17 14:23:57 -07:00
Mike SawkaandGitHub 1874d9a252 port to electron (#33) 2024-06-11 17:42:10 -07:00
Evan SimkowitzandGitHub 0a45311f30 Implement outer drop direction, add rudimentary drag preview image rendering (#29)
This PR adds support for Outer variants of each DropDirection.

When calculating the drop direction, the cursor position is calculated
relevant to the box over which it is hovering. The following diagram
shows how drop directions are calculated. The colored in center is
currently not supported, it is assigned to the top, bottom, left, right
direction for now, though it will ultimately be its own distinct
direction.

![IMG_3505](https://github.com/wavetermdev/thenextwave/assets/16651283/a7ea7387-b95d-4831-9e29-d3225b824c97)

When an outer drop direction is provided for a move operation, if the
reference node flexes in the same axis as the drop direction, the new
node will be inserted at the same level as the parent of the reference
node. If the reference node flexes in a different direction or the
reference node does not have a grandparent, the operation will fall back
to its non-Outer variant.

This also removes some chatty debug statements, adds a blur to the
currently-dragging node to indicate that it cannot be dropped onto, and
simplifies the deriving of the layout state atom from the tab atom so
there's no longer another intermediate derived atom for the layout node.

This also adds rudimentary support for rendering custom preview images
for any tile being dragged. Right now, this is a simple block containing
the block ID, but this can be anything. This resolves an issue where
letting React-DnD generate its own previews could take up to a half
second, and would block dragging until complete. For Monaco, this was
outright failing.

It also fixes an issue where the tile layout could animate on first
paint. Now, I use React Suspense to prevent the layout from displaying
until all the children have loaded.
2024-06-11 13:03:41 -07:00