49 Commits

Author SHA1 Message Date
Mike Sawka 8ad84fd78a update all gopkg imports (#330) 2024-09-05 14:25:45 -07:00
Mike Sawka a5f563b52d new directory structure and oldmigrate (#327) 2024-09-05 14:05:42 -07:00
Mike Sawka 8630e23239 new config system (#283) 2024-08-27 18:49:49 -07:00
Mike Sawka f28bdccb5d move CreateX functions to wcore (#275) 2024-08-26 15:17:37 -07:00
Evan Simkowitz 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
Mike Sawka 037497e7f1 wsh edit working (#252) 2024-08-20 14:56:48 -07:00
sawka e70e08e531 implement history functions for preview 2024-08-19 22:07:35 -07:00
Sylvie Crowe c30188552f Add Unix Domain Socket Listener when Establishing Connections (#243)
This makes it possible to send wsh commands from wsh on a remote session
to wavesrv running locally. The exact behavior of running those commands
isn't implemented, but the underlying interface is added here.
2024-08-17 11:21:25 -07:00
Evan Simkowitz e85b0d205e New layout model (#210)
This PR is a large refactoring of the layout code to move as much of the
layout state logic as possible into a unified model class, with atoms
and derived atoms to notify the display logic of changes. It also fixes
some latent bugs in the node resize code, significantly speeds up
response times for resizing and dragging, and sets us up to fully
replace the React-DnD library in the future.
2024-08-14 18:40:41 -07:00
Mike Sawka ed0279ad72 adding telemetry updates (#209) 2024-08-08 18:24:54 -07:00
sawka fc7c640e6b remove topicbus (moved to wps). also have CreateWindow call CreateTab 2024-08-08 14:51:40 -07:00
Sylvie Crowe 7cba3c46d4 Additional Demo Fixes (#191) 2024-08-01 00:57:06 -07:00
sawka 49a365e10b remove video, make initial window larger to fill the screen 2024-08-01 00:52:15 -07:00
sawka 8456c57bc1 implement bg presets 2024-07-30 23:22:41 -07:00
Mike Sawka cfc875bc21 metadata updates (frontend typing) (#174) 2024-07-30 12:33:28 -07:00
Red J Adaya 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
Evan Simkowitz f3f272a47b Add action for magnifying a block (#172)
Adds the implementation for the "Magnify Block" context menu item. This
will pop a block out of the layout and bring it to the foreground.

This also cleans up some block styling to make radii more consistent.

<img width="814" alt="image"
src="https://github.com/user-attachments/assets/c81521e1-c91f-4bb5-9eec-ff0eda178268">
2024-07-30 10:59:53 -07:00
Mike Sawka 551802dbd7 background support (from metadata). colors, gradients, images. (#168) 2024-07-29 11:55:10 -07:00
sawka fd3581fc42 wsh deleteblock 2024-07-18 18:14:11 -07:00
Mike Sawka 01b5d71709 new wshrpc mechanism (#112)
lots of changes. new wshrpc implementation. unify websocket, web,
blockcontroller, domain sockets, and terminal inputs to all use the new
rpc system.

lots of moving files around to deal with circular dependencies

use new wshrpc as a client in wsh cmd
2024-07-17 15:24:43 -07:00
Mike Sawka 7b93354657 initial implementation of move block to window (#77) 2024-06-25 14:56:37 -07:00
sawka 7bf64fb268 wsh view works -- uses a WS event to send to the frontend 2024-06-24 19:04:08 -07:00
Mike Sawka 77b5acfc5a cmd blocks (#74) 2024-06-24 14:34:31 -07:00
Red J Adaya 9cc5d9d3ae Add ability to edit tab name (#67) 2024-06-21 10:23:04 -07:00
Mike Sawka fb668fd4e5 multi-window support (#62) 2024-06-19 19:10:53 -07:00