157 Commits
Author SHA1 Message Date
Evan SimkowitzandGitHub c91cae9463 Fix some more improper border radii (#184) 2024-07-31 13:37:20 -07:00
Evan SimkowitzandGitHub 2157df85de Disable block pointer events during layout drag (#183)
This will ensure that the webview cannot capture the pointer events and
disrupt the drag functionality.

This also fixes an issue where greedy and imprecise bounds calculations
could result in thrashing of the layoutState.pendingAction field, which
could cause the placeholder to flicker.

This also fixes issues where some React Effects that were supposed to be
debounced or throttled were being invoked too much. This is because
useEffect regenerates the callback when it is run, resulting in the
debounce or throttle never taking effect. Moving the throttled or
debounced logic to a separate callback solves this.
2024-07-31 12:49:38 -07:00
Evan SimkowitzandGitHub 4df8e16a53 Adjust some styling in the directory and markdown previews (#182)
The column headers for the directory preview were a solid color, which
was conflicting with the translucent colors for the rest of the UI. I've
changed this to be more consistent. I've also updated a border color
that was conflicting with the rest of the UI.

The code blocks in the markdown preview were also solid colored and the
actions were causing the whole window UI to lose its transparency when
they were hovered over. This was due to it applying a backdrop-filter,
which breaks the window transparency. I've removed this blur and an
invalid color variable.

This also fixes the bottom margins for both blocks so there's more space
when scrolled all the way to the bottom of the block. Before, the
overlay scrollbars were obscuring the content.
2024-07-31 12:42:58 -07:00
sawka ec94bd51f6 fix icon centering in preview 2024-07-30 22:53:50 -07:00
sawka 827263d2d5 playing with a preview icon 2024-07-30 22:02:52 -07:00
sawka ea8914cb85 don't apply custom background to previews 2024-07-30 21:59:20 -07:00
sawka d68d32f96c terminal themes, use terminal bg to style the full block 2024-07-30 19:52:50 -07:00
Mike SawkaandGitHub cfc875bc21 metadata updates (frontend typing) (#174) 2024-07-30 12:33:28 -07:00
Evan SimkowitzandGitHub 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 SawkaandGitHub 9df9c99fbd checkpoint on domain sockets + update background colors + transparency (#160) 2024-07-26 13:30:11 -07:00
sawka 127b2bb9bf default block icon/title/name in the same way. use blockName atom from viewmodel 2024-07-25 18:05:32 -07:00
Red J AdayaandGitHub 96420ea3ef code editor responsiveness and various fixes (#129) 2024-07-25 12:00:35 -07:00
Sylvie CroweandGitHub 0e46b79c22 Open Ai Port (#154)
This brings over a simplified version of the open ai feature from the
previous app but in widget form. It still needs some work to reach
parity with that version, but this includes all of the basic building
blocks to get that working.
2024-07-25 02:30:49 -07:00
dcb4d5f2bf terminal themes feature (#135)
Co-authored-by: sawka
2024-07-24 20:34:22 -07:00
sawka ee51f2de12 more focus fixes -- write a viewmodel for terminal 2024-07-22 17:08:28 -07:00
sawka 198ec60e69 create an explicit giveFocus() method on the viewmodel. fix preview header text 2024-07-22 16:41:27 -07:00
Red J AdayaandGitHub 2a81f19b15 code editor header controls (#117) 2024-07-17 23:41:33 -07:00
Mike SawkaandGitHub 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
Red J AdayaandGitHub e140076801 webview controls (#110) 2024-07-15 09:40:28 -07:00
Jarek Ceborski e012cc16e6 Added window transparency ans styles 2024-07-12 21:12:34 +02:00
Red J AdayaandGitHub ff8fe94b1c use flexbox for responsive waveai (#107) 2024-07-09 18:15:37 -07:00
Mike SawkaandGitHub 4be8a1e37e move codeedit to directory. new useLongClick hook. show quick navig… (#105)
move codeedit to directory. new useLongClick hook. show quick navigation for directoryview on longclick of folder icon. lots more generic
stuff for header
new fitaddon for xtermjs
more fixes for xtermjs scrollbars
2024-07-08 23:13:12 -07:00
Red J AdayaandGitHub 6d6102b912 fix blocks blurry border (#104) 2024-07-08 22:31:38 -07:00
sawka b97802b1ac modifying viewmodel to be more flexible -- preicon button and endiconbuttons 2024-07-08 16:36:30 -07:00
sawka 3b01234914 POC to get new context menu items from the viewmodel -> settings 2024-07-08 15:32:10 -07:00