Commit Graph
21 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 f6fc0125fd fix issue where tabs are immediately visible while they're still stacked on load (#362)
This fixes the visual bug where the active tab seems to be the first tab
and then switches to the actual active tab after the tabs are
positioned.
2024-09-10 23:06:27 -07:00
Red J AdayaandGitHub af3bc7d249 reduce target area for tab close btn (#261) 2024-08-23 00:15:54 -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 fe708d1d37 small updates to tab colors 2024-07-30 15:43:49 -07:00
Evan SimkowitzandGitHub f475c7432f Make close button always show on hover, even for inactive tabs (#178) 2024-07-30 15:06:02 -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
Mike SawkaandGitHub 551802dbd7 background support (from metadata). colors, gradients, images. (#168) 2024-07-29 11:55:10 -07:00
Red J AdayaandGitHub 96420ea3ef code editor responsiveness and various fixes (#129) 2024-07-25 12:00:35 -07:00
Evan SimkowitzandGitHub 0fbb42863c Remove left indent for tab-bar for non-Mac targets and when in full screen (#128)
This adds a new global atom to track whether a window is in full screen.
It also updates the behavior of the tab bar so that it will only add an
extra left indent on macOS windows that are not in full screen.
Otherwise, the indent will be much smaller.
2024-07-22 13:33:10 -07:00
Jarek Ceborski e012cc16e6 Added window transparency ans styles 2024-07-12 21:12:34 +02:00
Red J AdayaandGitHub 6d6102b912 fix blocks blurry border (#104) 2024-07-08 22:31:38 -07: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
Red J AdayaandGitHub 4714b88be7 Move tab bar to top edge (#72) 2024-06-23 12:03:09 -07:00
Red J AdayaandGitHub 9cc5d9d3ae Add ability to edit tab name (#67) 2024-06-21 10:23:04 -07:00
Red J AdayaandGitHub b6c85e38f6 DnD tabs (#44) 2024-06-17 21:50:33 -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
sawka 80f9447c21 remove some padding/margin, style scrollbars 2024-06-03 22:18:54 -07:00
sawka 1db615bb3a markdown preview 2024-05-14 09:37:41 -07:00
sawka 77a4987384 big reorg, move frontend to the top level, moves yarn, node_modules, vite, etc. 2024-05-13 21:42:25 -07:00