From d41d96c62180bcc5193233afc7b24e29c9a90e99 Mon Sep 17 00:00:00 2001 From: Mike Sawka Date: Wed, 20 Nov 2024 22:17:57 -0800 Subject: [PATCH] docs updates (and other misc items) for v0.9.3 (#1330) --- .vscode/settings.json | 6 ++++++ docs/docs/keybindings.mdx | 6 ++++++ docs/docs/releasenotes.mdx | 20 ++++++++++++++++++++ docs/docs/telemetry.mdx | 1 + docs/docs/wsh.mdx | 1 + frontend/app/workspace/workspace.tsx | 4 ++-- 6 files changed, 36 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 17dd10412..d0b01c951 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -36,5 +36,11 @@ }, "[go]": { "editor.defaultFormatter": "golang.go" + }, + "[mdx]": { + "editor.wordWrap": "on" + }, + "[md]": { + "editor.wordWrap": "on" } } diff --git a/docs/docs/keybindings.mdx b/docs/docs/keybindings.mdx index 9751288c0..23f264533 100644 --- a/docs/docs/keybindings.mdx +++ b/docs/docs/keybindings.mdx @@ -62,4 +62,10 @@ replace "Cmd" with "Alt" (note that "Ctrl" is "Ctrl" on both Mac, Windows, and L | | Back | | | Forward | +## WaveAI Keybindings + +| Key | Function | +| ---------------- | ------------- | +| | Clear AI Chat | + diff --git a/docs/docs/releasenotes.mdx b/docs/docs/releasenotes.mdx index d0a4ac047..34704bcb0 100644 --- a/docs/docs/releasenotes.mdx +++ b/docs/docs/releasenotes.mdx @@ -6,6 +6,26 @@ sidebar_position: 200 # Release Notes +### v0.9.3 — Nov 20, 2024 + +New minor release that introduces Wave's connected computing extensions. We've introduced new `wsh` commands that allow you to store variables and files, and access them across terminal sessions (on both local and remote machines). + +- `wsh setvar/getvar` to get and set variables -- [Docs](https://docs.waveterm.dev/wsh#getvarsetvar) +- `wsh file` operations (cat, write, append, rm, info, cp, and ls) -- [Docs](https://docs.waveterm.dev/wsh#file) +- Improved golang panic handling to prevent backend crashes +- Improved SSH config logging and fixes a reused connection bug +- Updated telemetry to track additional counters +- New configuration settings (under "window:magnifiedblock") to control magnified block margins and display +- New block/zone aliases (client, global, block, workspace, temp) +- `wsh ai` file attachments are now rendered with special handling in the AI block +- New ephemeral block type for creating modal widgets which will not disturb the underlying layout +- New button to clear the AI chat (also bound to Cmd-L) +- [bugfix] Presets directory was not loading correctly on Windows +- [bugfix] Magnified blocks were not showing correct on startup +- [bugfix] Window opacity and background color was not getting applied properly in all cases +- MacOS 10.15 (Catalina) is no longer supported +- Other bug fixes, docs improvements, and dependency bumps + ### v0.9.2 — Nov 11, 2024 New minor release with bug fixes and new features! Fixed the bug around making Wave fullscreen (also affecting certain window managers like Hyprland). We've also put a lot of work into the doc site (https://docs.waveterm.dev), including documenting how [Widgets](./widgets) and [Presets](./presets) work! diff --git a/docs/docs/telemetry.mdx b/docs/docs/telemetry.mdx index a9a21b75e..81b7eaa64 100644 --- a/docs/docs/telemetry.mdx +++ b/docs/docs/telemetry.mdx @@ -56,6 +56,7 @@ When telemetry is active, we collect the following data. It is stored in the `te | NumShutdown | The number of times waveterm has been shut down on a given day. | | SetTabTheme | The number of times the tab theme is changed from the context menu | | NumMagnify | The number of times any block is magnified | +| NumPanics | The number of backend (golang) panics caught in the current day | | NumSSHConn | The number of distinct SSH connections that have been made to distinct hosts | | NumWSLConns | The number of distinct WSL connections that have been made to distinct distros | | Renderers | The number of new block views of each type are open on a given day. | diff --git a/docs/docs/wsh.mdx b/docs/docs/wsh.mdx index 127e1038a..002ad50c3 100644 --- a/docs/docs/wsh.mdx +++ b/docs/docs/wsh.mdx @@ -416,6 +416,7 @@ Note: Wave file locations can be: - `wavefile://tab/...` - stored in the current tab - `wavefile://workspace/...` - stored in the current workspace ("ws" is also an alias for "workspace") - `wavefile://client/...` - stored globally for the client ("global" is also an alias for "client") +- `wavefile://temp/...` - stored globally, but removed on startup/shutdown - `wavefile://[uuid]/...` - an entity id (can be a block, tab, workspace, etc.) All file operations respect a maximum file size of 10MB. diff --git a/frontend/app/workspace/workspace.tsx b/frontend/app/workspace/workspace.tsx index 80e5891b6..9932b8b6b 100644 --- a/frontend/app/workspace/workspace.tsx +++ b/frontend/app/workspace/workspace.tsx @@ -6,7 +6,7 @@ import { CenteredDiv } from "@/app/element/quickelems"; import { ModalsRenderer } from "@/app/modals/modalsrenderer"; import { TabBar } from "@/app/tab/tabbar"; import { TabContent } from "@/app/tab/tabcontent"; -import { atoms, createBlock } from "@/store/global"; +import { atoms, createBlock, isDev } from "@/store/global"; import { isBlank, makeIconClass } from "@/util/util"; import { useAtomValue } from "jotai"; import { memo } from "react"; @@ -64,9 +64,9 @@ const Widgets = memo(() => {
- ) : null} + {isDev() ? : null}
); });