Commit Graph

681 Commits

Author SHA1 Message Date
Mike Sawka
48001ee734
make sure the user affirmatively acknowledged window deletion before deleting, fix for #1167 (#1181) 2024-10-31 18:13:27 -07:00
Mike Sawka
473225d94b
issue squashing #1175 #1038 #1086 #1081 #1066 #1020 (#1177) 2024-10-31 12:34:30 -07:00
Evan Simkowitz
b3fdbbc331
Various updater fixes (#1170)
- Fixes updater status not showing on tabs that were previously
unloaded.
- Fixes updater status showing as error when not connected to the
internet
- Adds delay after setting installing status to avoid race condition
with any window close event handlers. This may fix #1167
2024-10-30 14:20:19 -07:00
Evan Simkowitz
96cc2adc91
Fix Wave AI styling again (#1164) 2024-10-28 16:46:00 -07:00
Sylvie Crowe
bf8cc732af
feat: add checkmark next to current connection (#1159)
The is specifically for the typeahead dropdown for connections.
2024-10-27 23:55:43 -07:00
Sylvie Crowe
58ff42d9fd
Sysinfo Plot Height (#1158)
This makes two small changes
- renames a class to resolve two css classes having the same name
- ensures sysinfo's outermost element follows the *-view pattern
2024-10-27 23:02:28 -07:00
Mike Sawka
b746a0bfb6
fix long tab names and syncing tab renaming (#1160) 2024-10-27 23:01:47 -07:00
Evan Simkowitz
be5d73af21
Fix wave ai styling (#1157) 2024-10-27 21:34:20 -07:00
Mike Sawka
d0d9095c92
call isDev() function to properly hide workspace switcher in prod (#1154) 2024-10-27 14:23:52 -07:00
Red J Adaya
55c8e5a213
workspace switcher + new elements (in storybook) (#1148) 2024-10-27 13:22:06 -07:00
Sylvie Crowe
cbb825982b
fix: add gaps in plots where no data exists (#1065)
Scans the window from the most recent timestamp to however many seconds
back are being stored. Then adds blank spaces (NaN values) in between
data items that are too far apart. Lastly, if the earliest item is
blank, there are probably fewer than the expected number of items. In
that case, it adjusts the first timestamp to keep plot width mostly
consistent.
2024-10-27 12:00:15 -07:00
Sylvie Crowe
bbd530c052
AI Sliding Window (#1151)
Only send the 30 most recent ai questions and responses to the model
when making requests. This prevents the amount of data being sent from
getting too big.
2024-10-27 11:49:34 -07:00
Mike Sawka
a782d83628
vdom 6 (#1145) 2024-10-25 18:36:09 -07:00
Mike Sawka
416c26c1cd
vdom 5 (#1143) 2024-10-25 13:45:00 -07:00
Evan Simkowitz
e9fcb9b145
Merge branch 'main' into dev-v0.9 2024-10-25 10:21:33 -07:00
Evan Simkowitz
34e4ffc429
Use FloatingPortal to position menu above all other contents (#1136) 2024-10-24 23:32:54 -07:00
Evan Simkowitz
20d333f724
Make menubutton text clip to avoid overflow (#1135) 2024-10-24 23:24:54 -07:00
Mike Sawka
369fababa6
tab updates (#1134) 2024-10-24 23:16:44 -07:00
sawka
e1d538ed8b merge v0.8.13 changes 2024-10-24 17:02:35 -07:00
Mike Sawka
1742c19e13
resize terminal on restoring state (#1100) (backport from dev0.9) (#1116) 2024-10-24 11:01:58 -07:00
Mike Sawka
d65eabe494
termfontsize override (#1118) 2024-10-24 11:01:39 -07:00
Mike Sawka
701d93884d
vdom 4 (#1110) 2024-10-23 22:47:29 -07:00
Sylvie Crowe
8248637e00
WSL Integration (#1031)
Adds support for connecting to local WSL installations on Windows.

(also adds wshrpcmmultiproxy / connserver router)
2024-10-23 22:43:17 -07:00
Evan Simkowitz
df25c54a31
Merge branch 'main' into dev-v0.9 2024-10-22 21:19:56 -07:00
Evan Simkowitz
ec70ce8c91
Display error message on failed WebView page load (#1072)
closes #1023
2024-10-22 18:17:42 -07:00
Mike Sawka
fa160313ea
resize terminal on restoring state (#1100) 2024-10-22 12:50:44 -07:00
sawka
cf1b082c10 Merge remote-tracking branch 'origin/main' into dev-v0.9 2024-10-22 09:59:15 -07:00
Evan Simkowitz
33f05c6e0c
Update data and config paths to match platform defaults (#1047)
Going forward for new installations, config and data files will be
stored at the platform default paths, as defined by
[env-paths](https://www.npmjs.com/package/env-paths).

For backwards compatibility, if the `~/.waveterm` or `WAVETERM_HOME`
directory exists and contains valid data, it will be used. If this check
fails, then `WAVETERM_DATA_HOME` and `WAVETERM_CONFIG_HOME` will be
used. If these are not defined, then `XDG_DATA_HOME` and
`XDG_CONFIG_HOME` will be used. Finally, if none of these are defined,
the [env-paths](https://www.npmjs.com/package/env-paths) defaults will
be used.

As with the existing app, dev instances will write to `waveterm-dev`
directories, while all others will write to `waveterm`.
2024-10-22 09:26:58 -07:00
Evan Simkowitz
39fff9ecfd
Allow separate directories for each config part, add dropdown for editing AI presets (#1074)
Adds new functionality on the backend that will merge any file from the
config directory that matches `<partName>.json` or `<partName>/*.json`
into the corresponding config part (presets, termthemes, etc.). This
lets us separate the AI presets into `presets/ai.json` so that we can
add a dropdown in the AI preset selector that will directly open the
file so a user can edit it more easily. Right now, this will create a
preview block in the layout, but in the future we can look into making
this block disconnected from the layout.

If you put AI presets in the regular presets.json file, it will still
work, since all the presets get merged. Same for any other config part.
2024-10-21 16:51:18 -07:00
Evan Simkowitz
a173468e02
Fix telemetry link in TOS (#1087)
closes #1085
2024-10-21 11:56:29 -07:00
sawka
613a583513 add the use version of settingskeyatom 2024-10-18 17:21:18 -07:00
Mike Sawka
3c94669d93
metakeyatom and overrideconfigatom (#1078) 2024-10-18 17:07:44 -07:00
sawka
0590ba2509 merge main to dev 0.9 2024-10-18 09:29:39 -07:00
Mike Sawka
dc70ab4014
ws reconnection bug + clean up logging (#1058) 2024-10-17 23:42:55 -07:00
Evan Simkowitz
70811cb730
Add helpview callback to resolve failed webview loads (#1057) 2024-10-17 16:03:17 -07:00
Evan Simkowitz
f77b42d70c
Fix bug where helpview fails to load sub-pages after idle (#1056)
closes #1048
2024-10-17 15:38:42 -07:00
Sylvie Crowe
a5999aa02a
Plot Sysinfo (#1054)
Expands the cpuplot with memory plots and individual cpu plots. Also
improves the styling and handling of multiple plots.
2024-10-17 15:19:13 -07:00
Mike Sawka
46783ba315
vdom 3 (#1033) 2024-10-17 14:50:36 -07:00
Mike Sawka
c1c90bb4f8
browser view (#1005) 2024-10-17 14:34:02 -07:00
Evan Simkowitz
7628e667ca
Separate AppBackground into its own file (#1053)
Setup for command palette. I'm moving AppBackground to its own file and
simplifying the imports
2024-10-17 11:14:59 -07:00
Evan Simkowitz
a90e747f92
Fix runaway name appending on the default AI preset (#1051)
Shallow copy the presets when updating `display:name` so that the
appending of the model name for the default preset doesn't accumulate
every time the tab refreshes.

closes #1040
2024-10-17 09:53:49 -07:00
Mike Sawka
924d1495a3
add new generic open clipboard url (#1045) 2024-10-16 11:04:22 -07:00
Mike Sawka
fe70efab8d
fix bg image css processing (#1044) 2024-10-16 09:57:27 -07:00
Sylvie Crowe
0b3888d900
Quicklook only for local files on mac (#1039)
bug fix so quicklook does attempt to launch for remote directory
previews
2024-10-16 09:24:22 -07:00
Evan Simkowitz
69c99dd13a
Add button to mute audio when media is playing in webview (#1036)
![image](https://github.com/user-attachments/assets/202636dc-aab5-4164-9729-fecd0cc804ae)

Also fixes atom usage for the url bar so it will properly update when
any upstream atom states change
2024-10-15 15:15:33 -07:00
Mike Sawka
e24fab34dc
get json/yaml validation working (#1032) 2024-10-14 18:18:58 -07:00
Mike Sawka
a629b28194
implement a config error button + message modal that shows the errors (#1030) 2024-10-14 14:57:12 -07:00
Mike Sawka
a15b339f39
implement copy on select for terminal (#1029) 2024-10-14 10:05:38 -07:00
Evan Simkowitz
31535404f5
Fix menu stories (#1028) 2024-10-13 09:45:02 -07:00
Evan Simkowitz
0b88fa590d
Move AI model configs to presets and add a dropdown to swap between configs (#1024) 2024-10-12 18:40:14 -04:00