Commit Graph

1584 Commits

Author SHA1 Message Date
wave-builder[bot]
d2bc4c2364
chore: bump package version to 0.10.1 2024-12-13 03:25:08 +00:00
wave-builder[bot]
7bca363932
chore: bump package version to 0.10.1-beta.0 2024-12-13 01:22:12 +00:00
Evan Simkowitz
ec4f6c01de
Create workspace will always create a saved workspace (#1509)
Also moves icon and color definitions to the backend and makes it so the
new workspaces get created with a different icon color for each index.

If an ephemeral window has more than one tab, always create a new window
when switching workspaces

Also fixes workspace accelerators on macOS
2024-12-12 17:21:09 -08:00
Evan Simkowitz
c34f2da0c0
Fix SwitchWorkspace when no workspaces are saved (#1508)
Also cleans up a workspace created with "Create new workspace" if you
hit cancel when switching to it.
2024-12-12 15:16:34 -08:00
Evan Simkowitz
247d84e8e8
Fix environment variable access for winget script (#1506) 2024-12-12 12:15:03 -08:00
wave-builder[bot]
d7409e6588
chore: bump package version to 0.10.0 2024-12-12 18:38:16 +00:00
dependabot[bot]
17bd6e7f91
Bump golang.org/x/crypto from 0.29.0 to 0.31.0 (#1503)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from
0.29.0 to 0.31.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b4f1988a35"><code>b4f1988</code></a>
ssh: make the public key cache a 1-entry FIFO cache</li>
<li><a
href="7042ebcbe0"><code>7042ebc</code></a>
openpgp/clearsign: just use rand.Reader in tests</li>
<li><a
href="3e90321ac7"><code>3e90321</code></a>
go.mod: update golang.org/x dependencies</li>
<li><a
href="8c4e668694"><code>8c4e668</code></a>
x509roots/fallback: update bundle</li>
<li>See full diff in <a
href="https://github.com/golang/crypto/compare/v0.29.0...v0.31.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/crypto&package-manager=go_modules&previous-version=0.29.0&new-version=0.31.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/wavetermdev/waveterm/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-12 09:59:58 -08:00
dependabot[bot]
10497f40f9
Bump nanoid from 3.3.7 to 3.3.8 (#1446)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.7 to 3.3.8.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/ai/nanoid/blob/main/CHANGELOG.md">nanoid's
changelog</a>.</em></p>
<blockquote>
<h2>3.3.8</h2>
<ul>
<li>Fixed a way to break Nano ID by passing non-integer size (by <a
href="https://github.com/myndzi"><code>@​myndzi</code></a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="3044cd5e73"><code>3044cd5</code></a>
Release 3.3.8 version</li>
<li><a
href="4fe34959c3"><code>4fe3495</code></a>
Update size limit</li>
<li><a
href="d643045f40"><code>d643045</code></a>
Fix pool pollution, infinite loop (<a
href="https://redirect.github.com/ai/nanoid/issues/510">#510</a>)</li>
<li>See full diff in <a
href="https://github.com/ai/nanoid/compare/3.3.7...3.3.8">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=nanoid&package-manager=npm_and_yarn&previous-version=3.3.7&new-version=3.3.8)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/wavetermdev/waveterm/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-12 09:56:01 -08:00
Evan Simkowitz
98548f2df8
Add two more items to release notes (#1505) 2024-12-12 09:54:33 -08:00
wave-builder[bot]
27621b746b
chore: bump package version to 0.10.0-beta.7 2024-12-12 02:26:45 +00:00
Evan Simkowitz
a9eeb55021
Fix inconsistent tab sizing between views (#1502)
The windowdrag right spacer was acting erratic. It's also not necessary,
since we can just use margins to let the banner buttons fill empty space
so they float to the right side of the tab bar. Without it, though, I
had to add more padding for the add tab button so it has more room.
2024-12-11 18:25:36 -08:00
Evan Simkowitz
9ce0093751
Fix errors in loading of help view (#1501)
When clicking on one of the cards from the home page of the docsite and
when initially loading the home page of the docsite, the webviewTag was
emitting a `did-frame-navigate` event, which we weren't tracking. This
meant that we were not properly recording that a navigation had
occurred. This caused three separate issues:

- We were never setting the meta url for the block, which meant that
when you navigated to a different tab or reloaded the app, you'd lose
what page you were last on.
- The site would reload after we fixed a broken docsite url, but we
wouldn't remove the error text that blocks the broken site.
- Clicking on the "open in external browser" button wouldn't do
anything.
2024-12-11 16:09:47 -08:00
wave-builder[bot]
98027204ca
chore: bump package version to 0.10.0-beta.6 2024-12-11 21:25:42 +00:00
Evan Simkowitz
3bcd0e16e8
Make the Wave logo icons slightly smaller (#1500)
The scale of the old icons was inconsistent with the rest of the Font
Awesome kit so I updated the aspect ratio to make it a little narrower.
I also am adding the outline assets to our repo
2024-12-11 13:24:12 -08:00
Mike Sawka
f4de338bc3
add a refocus at the end of wave reinit (#1499) 2024-12-11 13:13:40 -08:00
Evan Simkowitz
4918737044
Remove unnecessary log (#1498) 2024-12-11 12:54:23 -08:00
Evan Simkowitz
4070abadde
Squash some leftover bugs (#1495)
Only create new tab in `CheckAndFixWindow` if no tabs or pinned tabs
exist

Update `resolvers.resolveTabNum` to account for pinned tabs

Remove obsolete and unused `wstore.DeleteTab`

Only show accelerators for first 9 workspaces in workspace app menu to
be consistent with other keybindings

Fix tabbar spacing to remove min size for drag right spacer, account for
workspace switcher button size

Fix updatebanner size calculations
2024-12-11 12:52:15 -08:00
Mike Sawka
87ebbdd2f9
updated release notes. date, docs, and links (#1497) 2024-12-11 12:36:57 -08:00
Mike Sawka
164c15f1b2
create ref in model, also remove isRunning (#1496) 2024-12-11 12:26:56 -08:00
Evan Simkowitz
7df441a389
Wrap yarn install with retry for Testdriver and Build Helper (#1494)
Yarn Install (specifically the `sharp` builds) are flaky on Windows. I'm
adding a retry around this step to prevent unnecessary failures
2024-12-11 11:33:41 -08:00
wave-builder[bot]
58fbbd78f6
chore: bump package version to 0.10.0-beta.5 2024-12-11 19:05:47 +00:00
Evan Simkowitz
d975869542
Stop event propagation for contextmenu show event (#1493) 2024-12-11 11:03:30 -08:00
Mike Sawka
ab5e7b5bd9
add try/catch around workspace menu (#1492) 2024-12-11 10:48:50 -08:00
Evan Simkowitz
448262c17f
Fix nullchecks in wave.ts (#1491) 2024-12-11 10:46:08 -08:00
Evan Simkowitz
7ecdf249bd
Remove some unnecessary logs from webview (#1490) 2024-12-11 10:39:12 -08:00
Evan Simkowitz
6684a5c2b8
Only call WebViewModel.handleNavigate for main frame navigations (#1488)
Navigation events are issued not just for main page navigations, but
also for iframes, among other things. With our old behavior, if an
iframe tries to load in a webpage, we would update the webview url and
make the iframe the primary page, which is wrong. Now, we only do this
for main frame navigations.

closes #1487
2024-12-11 10:33:37 -08:00
Evan Simkowitz
ed17c76ada
Final workspace doc icon fix, use inline custom icon (#1485) 2024-12-11 10:08:04 -08:00
Mike Sawka
8dbdb4425f
new wsh docs, style updates across the docs site (#1486) 2024-12-10 20:52:10 -08:00
Evan Simkowitz
fd2f2b1ed1
One more try at fixing the SVG for the workspace, fix another syntax error (#1484) 2024-12-10 18:23:48 -08:00
Mike Sawka
aa001bf53d
getting started doc fleshed out (#1483) 2024-12-10 18:20:02 -08:00
Mike Sawka
4fccd71227
minor docs fixups (consistency) (#1480) 2024-12-10 18:03:48 -08:00
Evan Simkowitz
7c76a438b2
Fix workspace icon in docs (#1482) 2024-12-10 17:58:18 -08:00
Evan Simkowitz
1e5626bed3
Make note an info in workspaces doc (#1481) 2024-12-10 17:50:26 -08:00
Evan Simkowitz
c8bcf08fff
Workspace doc, moving around images (#1479)
Also adds missing global keybindings.

Also reorders docs in the sidebar, introduces new mechanisms for
indicating how an img should float in a document, and adds a `<div
style="clear: both">` before every heading.
2024-12-10 17:43:56 -08:00
wave-builder[bot]
c52d229cd3
chore: bump package version to 0.10.0-beta.4 2024-12-11 00:35:59 +00:00
Mike Sawka
41f960c60c
fix for tabs out of order in tabbar (#1478) 2024-12-10 16:33:55 -08:00
wave-builder[bot]
3ccdcb6ed6
chore: bump package version to 0.10.0-beta.3 2024-12-11 00:00:29 +00:00
Mike Sawka
d3d8f9492e
reorganize AI presets, make the other docs consistent (#1477) 2024-12-10 15:57:45 -08:00
Evan Simkowitz
677ecc3ef8
Fix tab name reload for pinned tabs (#1476) 2024-12-10 15:47:26 -08:00
Evan Simkowitz
1d74e56c26
Add license identifiers to my changes (#1475) 2024-12-10 15:18:14 -08:00
Evan Simkowitz
c95f3b2283
Fix unawaited promises in dir preview (#1474) 2024-12-10 15:13:11 -08:00
Sylvie Crowe
e49480e628
Fix Preview for Uninitialized Connections (#1473)
If a connection had not been previously initialized, selecting it in the
preview dropdown was bug-prone. This ensures the connection is complete
before checking the mimetype and selecting the type of preview.
2024-12-10 15:03:35 -08:00
Sylvie Crowe
9e7293d98a
Docs Updates (#1469)
A couple additions to the release notes and small details added to the
connections.mdx file. Additionally, a new preview photo has been added.
2024-12-10 14:41:35 -08:00
Mike Sawka
6693e66098
fix some docs formatting, link to other parts of the docs (#1471) 2024-12-10 14:29:55 -08:00
Evan Simkowitz
c2312f1c7f
Make default workspace icon the Wave logo (#1470)
I made our logo a custom icon in Font Awesome so we can add it to our
workspace switcher as the default icon
2024-12-10 13:54:11 -08:00
Mike Sawka
8957e0405a
try to fix drag region above tabs (#1466)
just a temporary fix for now, needs a more extensive fix later
2024-12-10 12:50:58 -08:00
Evan Simkowitz
712f9d9706
Use highlight.js scss instead of css in markdown styling (#1468) 2024-12-10 12:47:39 -08:00
Mike Sawka
ff459743cd
v10 docs / release notes (#1467) 2024-12-10 12:43:38 -08:00
Evan Simkowitz
9ab7b25aa1
Move markdown css import so it doesn't affect Storybook (#1465) 2024-12-10 12:38:49 -08:00
Evan Simkowitz
f7875bc4f0
Auto-select workspace name (#1464) 2024-12-10 12:26:42 -08:00