Commit Graph
55 Commits
Author SHA1 Message Date
Evan SimkowitzandGitHub 9e3c9f9253 Make IconButton its own element, move CopyButton to use it (#357) 2024-09-09 12:35:53 -07:00
Red J AdayaandGitHub a00dc5682e connection status overlay (#337) 2024-09-06 10:33:26 -07:00
Mike SawkaandGitHub a5f563b52d new directory structure and oldmigrate (#327) 2024-09-05 14:05:42 -07:00
Mike SawkaandGitHub 3e0ca6b41e connection handling / block controller handling (#326) 2024-09-05 00:21:08 -07:00
Evan SimkowitzandGitHub 74c8044c73 Add gap size setting (#325)
Adds a new setting for the gap size between tiles in a layout. Also
updates the resize handle calculations so they are dynamically generated
based on the gap size. Also updates the styling for the resize handles
to be more robust.

This also updates the default gap size to 3px.

This also slims out the Block Frame padding so it is just enough that
the blocks don't overlap when there's no gap.
2024-09-04 22:07:47 -07:00
Evan SimkowitzandGitHub 64a7a6e533 Truncate file paths from the left in the preview header (#322)
This adjusts the block header styling to remove a bunch of unnecessary
attributes and to ensure that we have more consistent shrinking
behavior. Now, file paths will truncate starting on the left side, to
preserve the file name as long as possible. Also, the widget name can
shrink down to zero, while preserving the widget icon, since it's
unnecessary to have both when the widget is small.

<img width="415" alt="image"
src="https://github.com/user-attachments/assets/46e0a74a-f35d-4d09-9c67-019936e67e41">
2024-09-04 15:25:25 -07:00
Evan SimkowitzandGitHub 4e60880b8f Clean up spacing and padding of elements in the block header (#318)
This frees up some more space for content that was previously being
eaten up by unnecessary gaps and padding. It also centers some
off-center icons.
2024-09-03 23:14:22 -07:00
Red J AdayaandGitHub 63cfe1d279 preview edit (#302) 2024-08-31 11:57:45 -07:00
Evan SimkowitzandGitHub 56a930c1dc Make disabled iconbuttons more distinct (#289)
Increases the idle opacity for enabled buttons in the header slightly
and decreases opacity for disabled buttons. Also sets a default cursor
when the button is disabled:

Forward button enabled and idle, back button disabled:

![image](https://github.com/user-attachments/assets/b2f4dfc3-2fe8-46e0-9eac-edfebf42dfdd)
Forward button enabled and hovered, back button disabled:

![image](https://github.com/user-attachments/assets/34b4f89d-ba6a-4b57-8533-527ef1bc9868)
2024-08-28 18:30:41 -07:00
Mike SawkaandGitHub c2fe3b18e1 move connection switching to blockheader (#276) 2024-08-26 16:19:03 -07:00
Mike SawkaandGitHub 62d9d53e52 fix terminal paste (inverted colors) (#271) 2024-08-23 22:12:27 -07:00
636d71e652 Change Connection UI (#269)
This allows the user to select different connections from the terminal
block. Some features include:
- a status bar at the top of the term block that shows your current
connection
- an icon next to the status bar that shows whether the connection is
currently connected
- the ability to click the status bar and type in a new connection in
order to change the current connection

---------

Co-authored-by: sawka <mike.sawka@gmail.com>
2024-08-23 18:12:40 -07:00
Red J AdayaandGitHub c1684d28d1 suggestions modal (#260) 2024-08-23 00:18:49 -07:00
Evan SimkowitzandGitHub d5140129cd Fix block numbering and switching with arrow keys (#258) 2024-08-21 17:43:11 -07:00
Evan Simkowitz a01d735db3 Remove unnecessary icon styling for block, update header flex 2024-08-06 14:20:19 -07:00
Evan SimkowitzandGitHub e29cb2debe Make magnify icon always visible, transition from magnify to minimize (#197)
I'm updating the magnify button to be always visible and animate a
transition between being a "Magnify" button and a "Minimize" button.

This also cleans up some text shrinking behavior in the block frame
header so the end icons are always visible.

Also fixes some height discrepancies in the block frame header.

Also implements a `prefers-reduced-motion` query for the tilelayout and
block frame to ensure transitions are not set if the user does not want
them.
2024-08-05 16:13:26 -07:00
Evan SimkowitzandGitHub 5143aefd3c Simplify blockframe header styling (#199)
This cleans up styling for the BlockFrame header, which had a lot of redundant and unnecessary declarations, which produced inconsistent styling.
2024-08-05 14:54:33 -07:00
sawka 694311c6dc allow pointer events (to eventually allow blocknum/id copying on click) 2024-08-02 16:54:57 -07:00
sawka 9f8042fb87 new keybindings for switching tabs/blocks 2024-08-02 16:50:11 -07:00
sawka 4f74b232e2 trap Shift:Cmd, and enable special blockmask action to show block indexes 2024-08-02 15:39:22 -07:00
Sylvie CroweandGitHub 7098c8b3ea fix: don't allow the block title to grow (#192) 2024-08-01 01:29:47 -07:00
Sylvie CroweandGitHub c5707de2fd Fixes For the Demo (#190) 2024-07-31 23:50:38 -07:00
Evan SimkowitzandGitHub c91cae9463 Fix some more improper border radii (#184) 2024-07-31 13:37:20 -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