An open-source, cross-platform terminal for seamless workflows
Go to file
Evan Simkowitz 75c9e211d9
Add resize handles to the layout system (#66)
Adds resizability to the layout system.

Hovering in the margins of a block will highlight the available resize
handle and show a cursor indicating its resize direction. Dragging will
cause the resizing nodes to blur out and be replaced by an outline.
Releasing the handle will commit the new resize operation and cause the
underlying nodes to update to their new sizes.

We'll want to refactor this in the future to move all layout and resize
logic into a shared model that the TileLayout code can talk to, but
that's a future improvement. For now, this makes some compromises,
mainly that the logic is kind of distributed around.

---------

Co-authored-by: sawka <mike.sawka@gmail.com>
2024-07-03 14:31:02 -07:00
.github/workflows Add CodeQL action 2024-06-28 11:21:43 -07:00
.storybook Fix bad merge 2024-06-26 12:26:27 -07:00
.vscode Integrate Faraday layout system (#16) 2024-06-04 13:05:44 -07:00
build remove wails deps 2024-06-12 11:58:17 -07:00
cmd initial implementation of move block to window (#77) 2024-06-25 14:56:37 -07:00
db Break layout node into its own Wave Object (#21) 2024-06-05 17:21:40 -07:00
emain Fix new window from menu bar (#91) 2024-06-28 16:24:40 -07:00
frontend Add resize handles to the layout system (#66) 2024-07-03 14:31:02 -07:00
pkg Hidden Files (#86) 2024-06-27 18:13:42 -07:00
public Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
.editorconfig Fix prettier formatting 2024-05-28 12:12:28 -07:00
.gitignore port to electron (#33) 2024-06-11 17:42:10 -07:00
.prettierignore Add filewatcher for config files (#63) 2024-06-19 23:59:41 -07:00
.yarnrc.yml Fix prettier formatting 2024-05-28 12:12:28 -07:00
electron.vite.config.ts Fix Storybook for TileLayout (#81) 2024-06-26 12:22:27 -07:00
eslint.config.js Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
go.mod Add filewatcher for config files (#63) 2024-06-19 23:59:41 -07:00
go.sum Add filewatcher for config files (#63) 2024-06-19 23:59:41 -07:00
index.html Simplify frontend/wave path in index.html (#48) 2024-06-13 17:00:07 -07:00
package.json webview fixes (#83) 2024-06-27 18:09:30 -07:00
prettier.config.cjs Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
README.md Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
Taskfile.yml fun customization for the block title 2024-06-21 14:44:11 -07:00
tsconfig.json port to electron (#33) 2024-06-11 17:42:10 -07:00
version.cjs Get version for Taskfile from version.js (#49) 2024-06-13 18:11:21 -07:00
vitest.config.ts Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
yarn.lock Bump ws from 8.17.0 to 8.17.1 in the npm_and_yarn group across 1 directory (#90) 2024-06-28 14:52:50 -07:00

The Next Wave

Prereqs:

You'll need to install "task" (which we're using as a build/run system):

brew install go-task

On first checkout:

yarn
go mod tidy

Then, run the following command to start the app using the Vite dev server (this will enable Hot Module Reloading):

task electron:dev

To run the app without the dev server, run the following instead:

task electron:start