Commit graph

926 commits

Author SHA1 Message Date
Tenet
aaca301a14
Feat add editor fontsize (#2088)
I added editor fontsize configuration.
I found an issue that had related requirements, so I added it.
I hope I can be of some help.


![feat-editorFontsize](https://github.com/user-attachments/assets/e6b4567b-384f-4132-861d-6675ff5543de)
2025-05-02 11:10:17 -07:00
Mike Sawka
c840c39052
fix issue with directory "oversearch" causing an error with pinned rows (#2134) 2025-04-28 12:49:00 -07:00
Sylvie Crowe
6ffc3f57bd
fix: sysinfo scroll data on initialization (#2023)
A bug in sysinfo made it so the initial data would load but not update
until refreshed. This updates the subscription handler with the correct
addContinuousData function to correct this.
2025-02-21 17:53:57 -08:00
Evan Simkowitz
a1950fd6f6
Fix row pinning effect so it always runs (#2022)
The old effect wasn't running on every data change, since it depended on
table, which is a ref. Now, it will always run on any data change and as
a Layout Effect so it will run before paint.
2025-02-21 16:57:29 -08:00
Evan Simkowitz
d469432b75
Don't show .. dir on root dir (#2021) 2025-02-21 16:35:41 -08:00
Evan Simkowitz
d51ff87c26
Not found paths in prefix fs always treated as dir (#2002)
Gracefully handle prefix paths that don't exist, representing them as
directories so they can be escaped from.

Also removes the ".." file info from the backend, instead only creating
it on the frontend
2025-02-21 16:32:14 -08:00
Sylvie Crowe
1a90474830
Frontend S3 Improvements (#2018)
This adds the following changes:
- S3 icons have been changed to the database icon
- S3 icons always show up in green
- frontend crash errors are now wrapped within their block
- fileinfo errors have a special case view and display the error in the
modal
2025-02-21 12:03:09 -08:00
Sylvie Crowe
27c01cfb28
fix: dismiss the error when changing path
The error overlay used to persist even after the path was changed. This
changes this behavior so it is automatically dismissed when changing the
path.
2025-02-20 12:09:50 -08:00
Evan Simkowitz
b0e3b6d777
Fix move & copy for prefix filesystems (#1998)
Also makes recursive the default for copy, adds better error for move
without recursive
2025-02-20 10:17:32 -08:00
Sylvie Crowe
1f430201bd
Stat File Error Overlay and Clear Errors on Connection Change (#1997)
This adds two small features:
- if a backend file stat operation fails, an error overlay is shown on
the frontend
- for all frontend error overlays, if the connection changes, the error
is cleared
2025-02-19 16:45:43 -08:00
Mike Sawka
2df1c2e7bd
fix multi-input paste (#2000)
a fix for #1862. so now when pasting information into a terminal when
multi-input is active, the data will be sent to all terminals in the
tab.
2025-02-19 15:44:16 -08:00
Mike Sawka
ce9775c00c
ansiline implementation, new ansi tailwind colors (#1996) 2025-02-19 12:16:59 -08:00
Mike Sawka
7d2c3a3f2d
update modal buttons (#1993) 2025-02-18 21:43:05 -08:00
Sylvie Crowe
faa2510d27
fix: resizes the error message before close btn (#1992)
This changes the error overlay so it resizes the error message before
the close button in narrow blocks.
2025-02-18 17:42:12 -08:00
Evan Simkowitz
772ea41990
Clean up atom usage in preview (#1986) 2025-02-18 16:40:36 -08:00
Mike Sawka
b59225ccf9
fix tab (#1990) 2025-02-18 16:39:04 -08:00
Sylvie Crowe
ff4b71dfae
Error Popups and Context Menu Items (#1989)
This makes the following changes:
- Connects various context menu items to the error overlay on failure
- Connects read file errors to the error overlay on failure
- Consolidates context menu items for open and reveal
- Reduces duplication in context menu items
- Removes an unnecessary File Stat RPC call for the parent directory

---------

Co-authored-by: Evan Simkowitz <esimkowitz@users.noreply.github.com>
Co-authored-by: sawka <mike@commandline.dev>
2025-02-18 16:25:03 -08:00
Mike Sawka
db1a477cc0
fix two weird slash issues in file url (#1988) 2025-02-18 15:56:30 -08:00
Mike Sawka
da1f8dea38
s3 suggestions + widget cache (#1987) 2025-02-18 15:15:12 -08:00
Sylvie Crowe
7c25ebfcb1
fix: s3 copy overwrite/sync buttons (#1983)
The copy overwrite/sync buttons were not appearing on s3 do to s3
operations having different error messages. This accounts for those so
the options will be available with those files as well.
2025-02-18 04:50:04 -08:00
Mike Sawka
e15d38a795
fix stream-file urls to use new remoteuri (#1984) 2025-02-17 17:55:57 -08:00
Mike Sawka
1929c70e04
add a key to specializedviewcomponent so that we don't get stale content displayed (#1981) 2025-02-17 14:37:09 -08:00
Evan Simkowitz
3c75d1314c
Revert replacehomedir (#1976)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: sawka <mike@commandline.dev>
Co-authored-by: Sylvia Crowe <software@oneirocosm.com>
2025-02-14 18:28:03 -08:00
Sylvie Crowe
6d7356fbf9
Drag and Drop Copy Sync or Replace UI (#1975)
Co-authored-by: Evan Simkowitz <esimkowitz@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: sawka <mike@commandline.dev>
2025-02-14 17:41:29 -08:00
Evan Simkowitz
71e126072e
Add S3 fileshare implementation, improve cp behavior (#1896)
Adds the S3 `fileshare` implementation

This also updates `wsh file cp` so it behaves more like `cp` for things
like copying directories and directory entries. It's not meant to align
with `cp` on everything, though. Our `wsh cp` will be recursive and will
create intermediate directories by default.

This also adds new aliases for `wsh view`: `wsh preview` and `wsh open`

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: sawka <mike@commandline.dev>
Co-authored-by: Sylvia Crowe <software@oneirocosm.com>
2025-02-14 17:27:02 -08:00
Sylvie Crowe
eff01f0b98
feat: add an overlay to show general preview errs (#1974)
This adds an overlay much like the connection error and copy error ones,
but it is for general use in the various preview widgets.
2025-02-14 16:09:13 -08:00
Mike Sawka
c53c3d0f85
osc9283 and term bg (#1959) 2025-02-14 13:31:31 -08:00
Mike Sawka
e126463029
keyboard chord support, split up/down/left/right, and clear block (#1957) 2025-02-14 13:25:25 -08:00
Sylvie Crowe
2897053339
fix: remove final row during directory search (#1962)
A bug prevented the final row from being removed while searching for
directory files. Additionally, a console error would come up when the
directory was filtered far enough. This corrects a react dependency so
that is no longer an issue.
2025-02-14 01:12:41 -08:00
Sylvie Crowe
4978ea459f
fix: add tips widget to BlockRegistry (#1960)
A recent refactor introduced the BlockRegistry to add different types of
widgets. This was missing the tips widget, so it has been added to
correct that.
2025-02-14 00:20:51 -08:00
Mike Sawka
66249a0dc0
move viewprompt to the aiprompts dir (#1956) 2025-02-13 15:08:51 -08:00
Sylvie Crowe
075d3b1302
Shadcn Form and Label Components (#1958)
The first step in setting up the connmanager. Adds shadcn components for
form and label in addition to shadcn utils.
2025-02-13 15:07:08 -08:00
Sylvie Crowe
ef30221e0b
Allow AI Presets To Automatically Update Widgets (#1954)
This change makes it so changes to the presets file are no longer being
written to metadata. Instead, the preset data is read separately
(although it is still possible to override it with metadata if done
manually).

Because presets are being tracked separately, if the associated metadata
key is not set, changes to the `presets/ai.json` file will be applied
immediately without switching the preset choice. Note that `ai:preset`
is still used in metadata to associate a block with a preset.

Additionallly, this introduces a database migration to clear out the
metadata items starting with `ai:` except for `ai:preset`. This will
allow the change to apply to existing blocks in addition to new ones.
2025-02-13 13:38:12 -08:00
Mike Sawka
932376d8df
widgets context menu (#1955) 2025-02-12 14:29:59 -08:00
Mike Sawka
539559c603
launcher block (#1948) 2025-02-11 21:58:03 -08:00
Mike Sawka
af65c2cc8d
fix onFailLoad for helpview (#1951) 2025-02-11 17:20:45 -08:00
Mike Sawka
d36bd388e4
new replace, split-horizontal, and split-vertical layout actions... hook up cmd-d and cmd-shift-d... (#1931)
Co-authored-by: Evan Simkowitz <esimkowitz@users.noreply.github.com>
2025-02-10 16:32:23 -08:00
Mike Sawka
f0927879fd
quick refactor on viewmodels and components to make them more uniform (#1945) 2025-02-10 16:26:12 -08:00
Sylvie Crowe
2b060ebc98
File Drag and Drop Overwrite Prompt (#1932)
If a file drag and drop file fails because the file already exists, this
adds a popup to allow the operation to be retried with the overwrite
flag set. Additionally, it will make a similar dismissible popup to
cover other copy errors.
2025-02-10 15:21:52 -08:00
Mike Sawka
a73381296d
web bookmarks (#1930) 2025-02-07 16:11:40 -08:00
Sylvie Crowe
3e0712c55e
feat: add schema for widgets.json (#1929) 2025-02-07 15:39:57 -08:00
Sylvie Crowe
43a7451e8f
feat: add ai presets schema (#1928) 2025-02-07 14:56:11 -08:00
Sylvie Crowe
134a1f1ab8
Embedded Structs in Code Generation (#1909)
This allows code generation to properly embed structs when embedded in
the original types. It affects the generation of `gotypes.d.ts` and
`metaconsts.go`.

Additionally, the `AiSettingsType` has been split off and embedded into
the original `SettingsType` to make schema generation easier.
2025-02-07 13:13:47 -08:00
Mike Sawka
392fa508b1
new file typeahead control (#1913) 2025-02-06 18:02:16 -08:00
Sylvie Crowe
e018e7bb44
Drag and Drop File Copy (#1910)
Let's you drag and drop to copy files between preview widgets, even if
they use different connections.

---------

Co-authored-by: Evan Simkowitz <esimkowitz@users.noreply.github.com>
2025-02-06 15:31:45 -08:00
Mike Sawka
2aa3e4b6e6
fix crazy tab to 'preview' behavior (#1912) 2025-02-06 15:20:52 -08:00
Mike Sawka
6e2ff6c5fc
add tailwind to wave, support shadcn + donut chart as a POC (#1775) 2025-02-04 17:58:36 -08:00
Mike Sawka
3c5ff51cd0
fix directory scroll into view (#1901) 2025-02-04 17:49:27 -08:00
Sylvie Crowe
affd846388
feat: add connections schema (#1900)
This adds the schema needed for the connections.json file
2025-02-04 15:48:42 -08:00
Sylvie Crowe
6bcf65da56
feat: add read only marker and read only mode (#1899) 2025-02-04 12:11:42 -08:00