Commit Graph
35 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 53d3ad04b7 focus/key handling for directory preview (#291) 2024-08-29 17:00:24 -07:00
Mike SawkaandGitHub 8630e23239 new config system (#283) 2024-08-27 18:49:49 -07:00
Red J AdayaandGitHub 1841669525 tab animations (#167)
Implements animations when adding and removing tabs.
2024-07-31 12:54:43 -07:00
sawka 8456c57bc1 implement bg presets 2024-07-30 23:22:41 -07:00
sawka f7531b895f allow ten characters, also count glyphs not chars 2024-07-30 22:22:21 -07:00
Jarek Ceborski e012cc16e6 Added window transparency ans styles 2024-07-12 21:12:34 +02:00
Red J AdayaandGitHub 0cb9b8940b new tabs design 2 (#100) 2024-07-08 15:02:52 -07:00
Red J AdayaandGitHub 1d83062507 new tabs design (#99) 2024-07-05 19:54:28 -07:00
Mike SawkaandGitHub 4f627a0342 react.memo (#79) 2024-06-26 09:31:43 -07:00
sawka bd2bb5293f enable copy/paste via Cmd:Shift:C and Cmd:Shift:V in the terminal 2024-06-24 17:58:40 -07:00
sawka b2e12e4171 reimplement closetab context menu 2024-06-24 17:50:06 -07:00
Red J AdayaandGitHub 4714b88be7 Move tab bar to top edge (#72) 2024-06-23 12:03:09 -07:00
Mike SawkaandGitHub 0ea8e5ac88 integrate part of keyutil, and implement tab and block movement with keyboard (#70) 2024-06-21 12:32:38 -07:00
Red J AdayaandGitHub 9cc5d9d3ae Add ability to edit tab name (#67) 2024-06-21 10:23:04 -07:00
Red J AdayaandGitHub b8b03ea817 Scrollable tab bar fixes (#69) 2024-06-21 10:18:13 -07:00
Red J AdayaandGitHub e83b5c8763 Scrollable tabs using OverlayScrollbars (#60) 2024-06-20 20:04:00 -07:00
Red J AdayaandGitHub b6c85e38f6 DnD tabs (#44) 2024-06-17 21:50:33 -07:00
Mike SawkaandGitHub 1874d9a252 port to electron (#33) 2024-06-11 17:42:10 -07:00
Evan SimkowitzandGitHub 1b52160794 Remove unnecessary generic definition (#42) 2024-06-11 16:19:17 -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
Evan SimkowitzandGitHub f12e246c15 Break layout node into its own Wave Object (#21)
I am updating the layout node setup to write to its own wave object. 

The existing setup requires me to plumb the layout updates through every
time the tab gets updated, which produces a lot of annoying and
unintuitive design patterns. With this new setup, the tab object doesn't
get written to when the layout changes, only the layout object will get
written to. This prevents collisions when both the tab object and the
layout node object are getting updated, such as when a new block is
added or deleted.
2024-06-05 17:21:40 -07:00
Evan SimkowitzandGitHub 28cef5f22f Add ready param to determine when to render content (#19) 2024-06-05 11:56:04 -07:00
c3e71c5c7d Integrate Faraday layout system (#16)
Co-authored-by: Mike Sawka <sawka@users.noreply.github.com>
Co-authored-by: sawka <mike.sawka@gmail.com>
2024-06-04 13:05:44 -07:00