Commit Graph

761 Commits

Author SHA1 Message Date
sawka
a6f6640ae1 Merge remote-tracking branch 'origin/main' into red/tabs-new-design-2 2024-12-05 13:46:38 -08:00
Evan Simkowitz
b22dd07929
Fix null ref in getConnConfigKeyAtom (#1396) 2024-12-05 12:11:17 -08:00
Mike Sawka
7386fc19f7
activity update + dont allow empty workspace names (#1393) 2024-12-05 10:35:54 -08:00
Sylvie Crowe
b4b0222c9d
New Connections Configs (#1383)
This adds the following connections changes:
- connections can be hidden from the dropdown in our internal
connections.json config
- `wsh ssh` -i will write identity files to the internal
connections.json config for that connection
- the internal connections.json config will also be used to get identity
files when connecting
- the internal connections.json config allows setting theme, fontsize,
and font for specific connections
- successful connections (including those using wsh ssh) are saved to
the internal connections.json config
- the connections.json config will be used to help pre-populate the
dropdown list
- adds an item to the dropdown to edit the connections config in an
ephemeral block

---------

Co-authored-by: Evan Simkowitz <esimkowitz@users.noreply.github.com>
2024-12-05 10:02:07 -08:00
Red Adaya
106975b1f0 merge main 2024-12-05 09:40:04 +08:00
Evan Simkowitz
df2889f280
Fix zombie tab context menus (#1390)
The memoizing of the tabs was causing the callbacks for
handleContextMenu to become dead ends. This makes more of the callbacks
into memoized callbacks and makes the handleContextMenu function itself
a memoized callback to ensure it's properly updated when its upstream
callbacks change.
2024-12-04 17:30:28 -08:00
Evan Simkowitz
87aea21184
Better flicker prevention when switching tabs (#1389)
There was still some flicker when nohover took effect before the tab
view actually switched. Now, we override the active tab in the tabbar
when the app is switching tabs. We also override active tab behavior so
that the close button is always visible while nohover is in effect. This
effectively removes the flickering
2024-12-04 17:20:06 -08:00
Red Adaya
7782d6e59f merge main 2024-12-05 09:05:22 +08:00
Mike Sawka
72f36a9639
wsh run (#1376)
implements `wsh run` command.  lots of fixes (and new options) for command blocks.  cleans up the UX/UI for command blocks.  lots of bug fixes for blockcontrollers.  other minor bug fixes.

also makes editor:* vars into settings override atoms.
2024-12-04 14:16:50 -08:00
Evan Simkowitz
d8edea9fbc
Oops i actually made the tabs wrong (#1384)
forgot to update .editorconfig to include scss...
2024-12-04 13:49:14 -08:00
Evan Simkowitz
aa77b2c259
Pinned tabs (#1375)
![image](https://github.com/user-attachments/assets/a4072368-b204-4eed-bb65-8e3884687f9a)

This functions very similarly to VSCode's pinned tab feature. To pin a
tab, you can right-click on it and select "Pin tab" from the context
menu. Once pinned, a tab will be fixed to the left-most edge of the tab
bar, in order of pinning. Pinned tabs can be dragged around like any
others. If you drag an unpinned tab into the pinned tabs section (any
index less than the highest-index pinned tab), it will be pinned. If you
drag a pinned tab out of the pinned tab section, it will be unpinned.
Pinned tabs' close button is replaced with a persistent pin button,
which can be clicked to unpin them. This adds an extra barrier to
accidentally closing a pinned tab. They can still be closed from the
context menu.
2024-12-04 13:34:22 -08:00
Evan Simkowitz
0145e8fe99
Fix SCSS formatting after migration (#1382)
The migration tool we used didn't take into account our formatting
standards so I'm bulk-formatting the SCSS files to bring them back up to
our standards. Basically this just changes the tab size for all the
files.
2024-12-04 12:49:44 -08:00
Evan Simkowitz
60031ef8c0
Add Save and Cancel buttons to dir preview entry manager (#1381) 2024-12-04 11:48:26 -08:00
Red Adaya
d6bda531df revert to using tab name 2024-12-04 22:11:53 +08:00
Red J Adaya
1b8ac7f8bf
Merge branch 'main' into red/tabs-new-design-2 2024-12-04 22:01:59 +08:00
Red Adaya
b7702acfee fix issues 2024-12-04 14:15:36 +08:00
Evan Simkowitz
29e8929f91
Hack to prevent tabbar flicker when switching tabs (#1379) 2024-12-03 20:08:06 -08:00
Red Adaya
c324259a9b handle hiding/showing of separators on hover programmatically 2024-12-04 09:50:48 +08:00
Red Adaya
993249583c more on dynamically hiding separators 2024-12-04 08:45:15 +08:00
Evan Simkowitz
2bd7579cd5
Fix missing field in global.ts (#1377) 2024-12-03 16:43:58 -08:00
Red J Adaya
42cbbcdc2a
tabs new design (#1352)
Co-authored-by: sawka <mike@commandline.dev>
Co-authored-by: Evan Simkowitz <esimkowitz@users.noreply.github.com>
2024-12-03 13:53:27 -08:00
Red Adaya
1fb76e7749 more tracking the three tabs that should be dynamically styled while a tab is dragged 2024-12-03 21:59:08 +08:00
Red Adaya
e6810fdd36 fix hiding/showing of separating 2024-12-03 20:56:48 +08:00
Evan Simkowitz
04c4f0a203
Create and rename files and dirs in dirpreview (#1156)
New context menu options are available in the directory preview to
create and rename files and directories

It's missing three pieces of functionality, none of which are a
regression:
- Editing or creating an entry does not update the focused index. Focus
index right now is pretty dumb, it doesn't factor in the column sorting
so if you change that, the selected item will change to whatever is now
at that index. We should update this so we use the actual file name to
determine which element to focus and let the table determine which index
to then highlight given the current sorting algo
- Open in native preview should not be an option on remote connections
with the exception of WSL, where it should resolve the file in the
Windows filesystem, rather than the WSL one
- We should catch CRUD errors in the dir preview and display a popup
2024-12-02 22:23:44 -08:00
Red Adaya
601fc44823 merge main 2024-12-03 08:47:46 +08:00
Evan Simkowitz
82f53dc1fb
Workspaces are back! (#1282) 2024-12-02 10:56:56 -08:00
Sylvie Crowe
24103213aa
SSH without using WSH (#1355) 2024-11-27 16:52:00 -08:00
Red Adaya
790e5ffff8 fix dev label positioning 2024-11-26 19:59:23 +08:00
Red Adaya
b71db296d9 smooth resize tab resizing 2024-11-26 19:14:11 +08:00
Red Adaya
97d5071308 Merge branch 'red/tabs-new-design' of github.com:wavetermdev/waveterm into red/tabs-new-design 2024-11-26 14:47:48 +08:00
Red Adaya
2e43d01e6d refactor 2024-11-26 14:47:11 +08:00
sawka
737431a297 Merge remote-tracking branch 'origin/main' into red/tabs-new-design 2024-11-25 18:07:53 -08:00
Mike Sawka
b6ce2cd022
misc v0.9.3 fixes -- numToString, block counts, fix docsite images/video (#1354) 2024-11-25 18:07:29 -08:00
Red Adaya
1a09c4ae1c remove before and separator of current hovered tab 2024-11-24 21:20:16 +08:00
Red Adaya
e24c551db4 do not add separator on the last tab 2024-11-23 23:24:48 +08:00
Red Adaya
4b6a84c858 remove transition 2024-11-23 23:23:38 +08:00
Red Adaya
950986657f use theme colors 2024-11-23 23:20:20 +08:00
Red Adaya
390f1e0e4d separator 2024-11-23 22:06:59 +08:00
Red Adaya
6e2d36ba09 separator 2024-11-22 22:59:48 +08:00
Red Adaya
524879ae6f Merge branch 'main' of github.com:wavetermdev/waveterm into red/tabs-new-design 2024-11-22 21:08:34 +08:00
Evan Simkowitz
2e91ee843c
Switch from Less to Scss (#1335)
Less hasn't received an update in over a year and the parser is missing
some modern syntax like relative colors so this switches us to scss
2024-11-21 16:05:04 -08:00
Red Adaya
e2a4cbe8ca cleanup 2024-11-22 07:16:54 +08:00
Red Adaya
3e90be4953 vertical separator 2024-11-22 07:16:30 +08:00
Red Adaya
1c7e01ebce init 2024-11-22 07:10:41 +08:00
Mike Sawka
b2b9432a7a
fix terminal theming when applying global defaults #1287 (#1332) 2024-11-21 10:44:16 -08:00
Evan Simkowitz
11b257d7a3
Simplify app transparency and background color handling (#1331) 2024-11-21 10:30:02 -08:00
Mike Sawka
d41d96c621
docs updates (and other misc items) for v0.9.3 (#1330) 2024-11-20 22:17:57 -08:00
Mike Sawka
3136291140
temp oid in client (can use with wavefile) (#1329) 2024-11-20 18:48:46 -08:00
Mike Sawka
24807cfd34
add display resolutions to activity updates, update docs (#1323) 2024-11-19 19:41:53 -08:00
Mike Sawka
271d8e2e9c
wsh getva, setvar, and file commands (#1317) 2024-11-19 17:20:47 -08:00