Commit Graph

755 Commits

Author SHA1 Message Date
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
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
Mike Sawka
d7a9006f13
new tevents analytics framework (#1894) 2025-02-03 15:32:44 -08:00
Myles J.
cca18eefa4
Proposal: Add ability to hide widgets via config (#1864)
👋 Hello, I'm not sure if this warranted an Issue first but it seemed
small enough to just raise a PR. I'm happy to add something to the
documentation as well if you agree with the proposal.

There are some widgets that I'd rather not be displayed in the sidebar -
at the moment these are default widgets for which I cannot see any
existing means of omitting them via configuration. I'm proposing a
`display:hidden` field on the widget settings such that I can configure
the following:

```json
{
    "defwidget@ai": {
        "display:hidden": true
    }
}
```

I'm considering this option to be distinct from any means of outright
"disabling" the widget - that is to say that I've not chosen to filter
the widgets from the configuration because I'm not fully aware of the
project goals. Where for example I imagine that it might be useful to be
able to interact with a widget or it's config via the CLI or shortcut
regardless of visibility?

<img width="1421" alt="example"
src="https://github.com/user-attachments/assets/7cafa942-727d-4140-8940-38b4022f2ef0"
/>
2025-02-03 14:50:18 -08:00
Sylvie Crowe
fc298f2a50
settings schema.json (#1874)
Adds schema.json support to the settings file to provide type hints and
other eventual details. This also adds a system to easily add more
schema files for other type of configurations.
2025-02-03 14:20:50 -08:00
Sylvie Crowe
1a70c83582
feat: add web zoom to help widget (#1893)
The web widget already had a zoom feature, but the help widget did not.
This change ports the zoom feature so it is available on the help widget
as well.
2025-01-31 18:11:38 -08:00
Sylvie Crowe
8cd35c4678
fix: frontend file delete add recursive false (#1892)
There was a recent backend change that update the interface to
FileDeleteCommand. This updated was not reflected in
directorypreview.tsx on the frontend. This updates the frontend to
match.
2025-01-31 16:37:23 -08:00
Sylvie Crowe
750e260174
fix: use correct mimetypes for .pem and .pub (#1891)
This changes the .pem mimetype to application/x-pem-file. It also
changes the .pub mimetype to text/plain. Lastly, it updates
textApplicationMimetypes with this change.
2025-01-31 13:51:07 -08:00
Evan Simkowitz
902ff9baf1
enable wsh file cross-remote copy/move (#1725)
This adds the ability to stream `tar` archives over channels between
`wsh` instances. The main use cases for this are remote copy and move
operations.

It also completes the `wavefs` implementation of the FileShare interface
to allow copy/move interoperability between wavefiles and other storage
types.

The tar streaming functionality has been broken out into the new
`tarcopy` package for easy reuse.

New `fileshare` functions are added for `CopyInternal`, which allows
copying files internal to a filesystem to bypass the expensive interop
layer, and `MoveInternal`, which does the same for moving a file within
a filesystem. Copying between remotes is now handled by `CopyRemote`,
which accepts the source `FileShareClient` as a parameter. `wsh`
connections use the same implementation for `CopyInternal` and
`CopyRemote` as they need to request the channel on the remote
destination, since we don't offer a way to pass channels as a parameter
to a remote call.

This also adds a recursive `-r` flag to `wsh file rm` to allow for
deleting a directory and all its contents.

S3 support will be addressed in a future PR.

---------

Co-authored-by: sawka <mike@commandline.dev>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-01-31 10:42:39 -08:00
Evan Simkowitz
437055cd12
Add image preview zoom functionality (#1870) 2025-01-29 11:18:10 -08:00
Sylvie Crowe
9db9ef26f5
Disconnect Connection Button (#1858)
Adds an item to disconnect the current connection in the connection
typeahead.
2025-01-28 11:08:29 -08:00
Evan Simkowitz
2895b61e10
Fix quicktips getting cut off (#1857)
fixes #1855
2025-01-27 11:34:18 -08:00
Mike Sawka
7b366c93b0
fix markdown padding (#1848) 2025-01-24 15:56:49 -08:00
Mike Sawka
c1dd0c99d9
first draft of release notes (#1847) 2025-01-24 15:43:26 -08:00
Mike Sawka
bba94a62d0
add jwt token back to wsl connections (#1841)
Co-authored-by: Evan Simkowitz <esimkowitz@users.noreply.github.com>
2025-01-24 14:24:15 -08:00
Sylvie Crowe
51c36efcc0
fix: connection error only shows in error state (#1838)
This ensures that an error of EOF does not get displayed in the
disconnected state.
2025-01-24 14:16:55 -08:00
Evan Simkowitz
3d9d17caef
Fix magnified block border radius (#1827) 2025-01-23 18:19:02 -08:00
Evan Simkowitz
e811eb9255
Add copy current url to webview context menu (#1821) 2025-01-23 17:33:41 -08:00
Evan Simkowitz
a0c6694665
Add icons to cards in docsite, adjust md padding (#1816) 2025-01-23 13:54:14 -08:00
Mike Sawka
acb14b84fc
match the exact calls in TableBody to set the selected row. (#1808) 2025-01-23 13:46:29 -08:00
Evan Simkowitz
2304b8be22
Close open modals on escape keydown (#1809) 2025-01-23 12:23:53 -08:00
Evan Simkowitz
19634ed5df
Fix markdown padding (#1810)
Moves the markdown padding inside the component so the scrollbar stays
glued to the edge
2025-01-23 12:23:45 -08:00
Evan Simkowitz
9406967edd
Fix offset regression in wshremote (#1807)
Co-authored-by: sawka <mike@commandline.dev>
2025-01-22 22:24:35 -08:00
Evan Simkowitz
50b80a10fd
Add license identifiers to missing files (#1806) 2025-01-22 20:06:36 -08:00
Evan Simkowitz
4e0a290ada
Fix padding for markdown preview (#1805) 2025-01-22 19:58:45 -08:00
Sylvie Crowe
6d32ae856c
Reveal Parent Directories in External Applications (#1791)
Adds context menu options to the directory preview to open the parent
directory in the native file viewer. Additionally, it adds context menu
options in the block header to open either a parent directory or a
different type of file in an external default application. These context
menu items are only available for local directory previews.
2025-01-22 19:09:07 -08:00
Mike Sawka
e3a9b80df5
return true (cancel) the enter key event in typeahead (#1804) 2025-01-22 18:22:45 -08:00
Sylvie Crowe
e2800b39b6
S3 Frontend (#1723)
Adds the following changes to the frontend as a part of the S3 Feature.
- Refactor of the Connections Typeahead to make the code easier to read
and navigate
- Adds a new section for s3 profiles to be added to the dropdown
2025-01-22 18:16:39 -08:00
Evan Simkowitz
a1f97bd91c
Fix border radii for webview container (#1803) 2025-01-22 18:15:42 -08:00
Evan Simkowitz
4abf839e39
Fix directory preview table padding (#1802) 2025-01-22 17:58:31 -08:00
Mike Sawka
735d963aae
actually call the getter (#1800) 2025-01-22 17:50:02 -08:00
Mike Sawka
68cf3fd412
fix statfile atom dependencies via formatRemoteUri (#1797) 2025-01-22 17:42:53 -08:00
Evan Simkowitz
62eec93b17
Improve preview and web widget padding (#1796)
Removes the padding for most of the specialized previews, moves where
it's defined for the directory preview so that the header borders extend
to the edge of the block
2025-01-22 17:08:25 -08:00
Evan Simkowitz
11fec5695c
wsh file overhaul without cross-remote copy and S3 (#1790) 2025-01-22 14:50:09 -08:00
Mike Sawka
84d4191a9d
ctrl-shift state fix + add new keybindings to docs (#1792) 2025-01-22 09:53:18 -08:00
Sylvie Crowe
8a853ded56
fix: connection status map wrapped in atom (#1783)
This wraps the connection status map in an atom so it properly updates
when an individual connection status changes.
2025-01-20 21:45:45 -08:00
Sylvie Crowe
5f65d85d00
fix: shrink the ssh connection box when no error (#1781)
This removes the rendering of the overlay scrollbars component when
there are no error messages to scroll.
2025-01-20 19:33:28 -08:00
Evan Simkowitz
900f4a3ff7
Add tab bar instructions to docsite (#1779)
Adds instructions for using the tab bar, moves tab layout docs to new
location with redirect, adds instructions for magnifying a block, cleans
up intro text.
2025-01-20 15:29:23 -08:00