Commit Graph

1609 Commits

Author SHA1 Message Date
wave-builder[bot]
4d3105e9b0
chore: bump package version to 0.10.0-beta.1 2024-12-07 03:41:25 +00:00
Mike Sawka
ac8dc25ead
fix block controller status (add version) (#1430) 2024-12-06 19:39:58 -08:00
Evan Simkowitz
f858d3ba0f
Pass workspace id to contextmenu-show (#1429)
Sometimes, the context menu click handlers don't seem to get passed any
window object. Here, I'm sending over the workspace id with the
`contextmenu-show` event so that we can resolve our cached copy of the
object in case the value from the click handler is empty.
2024-12-06 19:10:34 -08:00
Evan Simkowitz
7d21f55b84
Retry the macOS builds in case of notarize failures (#1428)
The notarize operation is flaky so I'm wrapping it in a retry
2024-12-06 17:26:40 -08:00
wave-builder[bot]
297f006cce
chore: bump package version to 0.10.0-beta.0 2024-12-07 00:36:27 +00:00
Evan Simkowitz
e0ede0ff60
Add workspace switch accelerators, skip prompt if workspace is already open (#1427) 2024-12-06 16:35:01 -08:00
Evan Simkowitz
7bf1ca5a49
Remove unused vars in wcore (#1426) 2024-12-06 15:55:36 -08:00
Evan Simkowitz
e2b999c4b0
Rename "Default workspace" to "Starter workspace" (#1425) 2024-12-06 15:50:52 -08:00
Mike Sawka
9f6cdfdbf6
closetab / tab destroy fixes (#1424) 2024-12-06 15:42:29 -08:00
Evan Simkowitz
72ea58267d
Workspace app menu (#1423)
Adds a new app menu for creating a new workspace or switching to an
existing one. This required adding a new WPS event any time a workspace
gets updated, since the Electron app menus are static.

This also fixes a bug where closing a workspace could delete it if it
didn't have both a pinned and an unpinned tab.
2024-12-06 15:33:00 -08:00
Sylvie Crowe
66d1686e84
fix: changes for nowsh compatibility with wsl (#1422)
The wsl largely ignores most nowsh stuff, but there are some options
that can be specified for wsl. This ensures that it will still work
whether or not they are set.

Additionally if fixes the wsh not installed icon.
2024-12-06 14:19:19 -08:00
Evan Simkowitz
ab565409cb
Even simpler tab flicker fix (#1421) 2024-12-06 12:13:49 -08:00
Mike Sawka
925389fc70
force createTab to go through the queue as well (#1420) 2024-12-06 12:00:24 -08:00
Mike Sawka
00e3c4ec75
fix bcstart -- don't allow two controllers to start simultaneously (#1418) 2024-12-06 11:08:51 -08:00
Sylvie Crowe
6dfc85b324
Retry Without Wsh on Fail (#1406)
Adds the ability for connections to continue without wsh if they fail.
This involves creating a menu that warns the user that wsh could not be
used.
2024-12-06 10:11:38 -08:00
Mike Sawka
9f10be5629
add more extensions to mimetype database. (#1417)
fallback to text/plain for 0 byte files
2024-12-06 09:36:26 -08:00
dependabot[bot]
74bb5c7317
Bump github.com/sashabaranov/go-openai from 1.35.7 to 1.36.0 (#1409)
Bumps
[github.com/sashabaranov/go-openai](https://github.com/sashabaranov/go-openai)
from 1.35.7 to 1.36.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/sashabaranov/go-openai/releases">github.com/sashabaranov/go-openai's
releases</a>.</em></p>
<blockquote>
<h2>v1.36.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Make user field optional in embedding request by <a
href="https://github.com/nagar-ajay"><code>@​nagar-ajay</code></a> in <a
href="https://redirect.github.com/sashabaranov/go-openai/pull/899">sashabaranov/go-openai#899</a></li>
<li>feat: add gpt-4o-2024-11-20 model by <a
href="https://github.com/liushuangls"><code>@​liushuangls</code></a> in
<a
href="https://redirect.github.com/sashabaranov/go-openai/pull/905">sashabaranov/go-openai#905</a></li>
<li>feat: add RecvRaw by <a
href="https://github.com/WqyJh"><code>@​WqyJh</code></a> in <a
href="https://redirect.github.com/sashabaranov/go-openai/pull/896">sashabaranov/go-openai#896</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/nagar-ajay"><code>@​nagar-ajay</code></a> made
their first contribution in <a
href="https://redirect.github.com/sashabaranov/go-openai/pull/899">sashabaranov/go-openai#899</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/sashabaranov/go-openai/compare/v1.35.7...v1.36.0">https://github.com/sashabaranov/go-openai/compare/v1.35.7...v1.36.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="c203ca001f"><code>c203ca0</code></a>
feat: add RecvRaw (<a
href="https://redirect.github.com/sashabaranov/go-openai/issues/896">#896</a>)</li>
<li><a
href="21fa42c18d"><code>21fa42c</code></a>
feat: add gpt-4o-2024-11-20 model (<a
href="https://redirect.github.com/sashabaranov/go-openai/issues/905">#905</a>)</li>
<li><a
href="74ed75f291"><code>74ed75f</code></a>
Make user field optional in embedding request (<a
href="https://redirect.github.com/sashabaranov/go-openai/issues/899">#899</a>)</li>
<li>See full diff in <a
href="https://github.com/sashabaranov/go-openai/compare/v1.35.7...v1.36.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/sashabaranov/go-openai&package-manager=go_modules&previous-version=1.35.7&new-version=1.36.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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-06 09:21:17 -08:00
Mike Sawka
3b03a7ab3d
tab race condition fixes (#1407) 2024-12-06 00:10:17 -08:00
Evan Simkowitz
0fe05a725a
Refuse setActiveTab if tab is already set (#1405) 2024-12-05 20:50:55 -08:00
Evan Simkowitz
3c69237d9b
Prevent crashes when user spams Cmd:T (#1404)
When a user spams Cmd:T, a WaveTabView might be created but never end up
getting mounted to the window, since another will come along before it
can. In these cases, the WaveTabView is essentially in a bad state and
attempting to switch to it will result in the window becoming
unresponsive. While we could recover it by running waveInit again, it's
easier to just dispose of it and treat it as an unloaded tab next time
it gets switched to.

This adds a timeout to each WaveTabView where once it gets assigned a
tab ID, it has 1 second to respond "ready" or it will be destroyed. This
should help prevent resource leakages for these dead views.
2024-12-05 20:03:30 -08:00
Mike Sawka
5744f4b06f
closeTab fix (#1403)
fixes bug with closeTab when the tab didn't exist in the waveWindow cache.  also adds Cmd-Shift-W to close a tab (doesn't work for pinned tabs).  and restores Cmd-W for killing blocks on pinned tabs
2024-12-05 18:26:20 -08:00
Evan Simkowitz
7a61f25331
Auditing async usage in frontend code (#1402)
I found a lot of places where asyncs weren't being properly wrapped or
awaited
2024-12-05 18:09:54 -08:00
Evan Simkowitz
297e2b627f
Patch version of path-to-regexp (#1401)
Fixes https://github.com/wavetermdev/waveterm/security/dependabot/50
2024-12-05 16:23:53 -08:00
Evan Simkowitz
1e804f4d15
Use window destroy instead of forceClose (#1400)
`destroy` bypasses the `close` event and forces the window to close.
This means that we can use it instead of `forceClose` and we don't need
to call it in the `closed` event.
2024-12-05 16:18:42 -08:00
Evan Simkowitz
5fbd72b590
Fix edge case when dragging pinnned tabs (#1399) 2024-12-05 14:58:04 -08:00
Evan Simkowitz
898d21d1b2
Small tweak to nohover to only start timeout on requestanimationframe (#1398) 2024-12-05 14:25:02 -08:00
Evan Simkowitz
cb50023d79
Fix issue where WaveAI text area would resize on launch (#1397) 2024-12-05 14:06:52 -08:00
Evan Simkowitz
8ec3c3f330
Update Go toolchain to 1.23.4 (#1395)
Because Electron now has a macOS 11 minimum supported version, we have
no blockers to adopting the latest Go toolchain. This also lets us use
the new `range` features in Go, among other things.
2024-12-05 12:13:45 -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
Mike Sawka
942eeaa8e9
wsh setbg + updated tab background docs (#1394) 2024-12-05 10:27:08 -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
Evan Simkowitz
5c315779ba
Remove another instance of redundant Vite Sass config (#1391) 2024-12-04 17:35:05 -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
dependabot[bot]
402cf2db98
Bump @types/react from 18.3.12 to 18.3.13 in the dev-dependencies group across 1 directory (#1388)
Bumps the dev-dependencies group with 1 update in the / directory:
[@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react).

Updates `@types/react` from 18.3.12 to 18.3.13
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/react&package-manager=npm_and_yarn&previous-version=18.3.12&new-version=18.3.13)](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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-04 16:27:10 -08:00
Evan Simkowitz
6400678686
Upgrade Vite and other deps to resolve packaging issue (#1387)
There was a bug in Vite 6.0.1
(https://github.com/vitejs/vite/issues/18810) that was preventing NodeJS
libraries from being bundled in the main process. This meant that our
packaged app would refuse to run as it would be unable to find its Node
libraries.

This updates to Vite 6.0.2 to resolve this issue and also updates a few
other deps while we're at it.

Also removes the SASS modern-compiler config from our Vite config since
this is the default behavior in Vite 6.

closes #1373
2024-12-04 16:22:53 -08:00
dependabot[bot]
ea55904a80
Bump the dev-dependencies group across 1 directory with 2 updates (#1364)
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some
time.

Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps the dev-dependencies group with 2 updates in the / directory:
[@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) and
[eslint](https://github.com/eslint/eslint).

Updates `@eslint/js` from 9.15.0 to 9.16.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/eslint/eslint/releases"><code>@​eslint/js</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v9.16.0</h2>
<h2>Features</h2>
<ul>
<li><a
href="8f70eb142c"><code>8f70eb1</code></a>
feat: Add <code>ignoreComputedKeys</code> option in
<code>sort-keys</code> rule (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19162">#19162</a>)
(Milos Djermanovic)</li>
</ul>
<h2>Documentation</h2>
<ul>
<li><a
href="9eefc8f813"><code>9eefc8f</code></a>
docs: fix typos in <code>use-isnan</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19190">#19190</a>)
(루밀LuMir)</li>
<li><a
href="0c8cea8c80"><code>0c8cea8</code></a>
docs: switch the order of words in <code>no-unreachable</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19189">#19189</a>)
(루밀LuMir)</li>
<li><a
href="0c19417c64"><code>0c19417</code></a>
docs: add missing backtick to <code>no-async-promise-executor</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19188">#19188</a>)
(루밀LuMir)</li>
<li><a
href="8df927646c"><code>8df9276</code></a>
docs: add backtick in <code>-0</code> in <code>description</code> of
<code>no-compare-neg-zero</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19186">#19186</a>)
(루밀LuMir)</li>
<li><a
href="7e16e3fb85"><code>7e16e3f</code></a>
docs: fix <code>caseSensitive</code> option's title of
<code>sort-keys</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19183">#19183</a>)
(Tanuj Kanti)</li>
<li><a
href="0c6b842121"><code>0c6b842</code></a>
docs: fix typos in <code>migration-guide.md</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19180">#19180</a>)
(루밀LuMir)</li>
<li><a
href="353266edf8"><code>353266e</code></a>
docs: fix a typo in <code>debug.md</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19179">#19179</a>)
(루밀LuMir)</li>
<li><a
href="5ff318a528"><code>5ff318a</code></a>
docs: delete unnecessary horizontal rule(<code>---</code>) in
<code>nodejs-api</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19175">#19175</a>)
(루밀LuMir)</li>
<li><a
href="576bcc5461"><code>576bcc5</code></a>
docs: mark more rules as handled by TypeScript (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19164">#19164</a>)
(Tanuj Kanti)</li>
<li><a
href="742d054ac1"><code>742d054</code></a>
docs: note that <code>no-restricted-syntax</code> can be used with any
language (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19148">#19148</a>)
(Milos Djermanovic)</li>
</ul>
<h2>Chores</h2>
<ul>
<li><a
href="feb703b3dc"><code>feb703b</code></a>
chore: upgrade to <code>@eslint/js@9.16.0</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19195">#19195</a>)
(Francesco Trotta)</li>
<li><a
href="df9bf9519a"><code>df9bf95</code></a>
chore: package.json update for <code>@​eslint/js</code> release
(Jenkins)</li>
<li><a
href="f831893b6e"><code>f831893</code></a>
chore: add type for <code>ignoreComputedKeys</code> option of
<code>sort-keys</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19184">#19184</a>)
(Tanuj Kanti)</li>
<li><a
href="3afb8a1dcf"><code>3afb8a1</code></a>
chore: update dependency <code>@​eslint/json</code> to ^0.8.0 (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19177">#19177</a>)
(Milos Djermanovic)</li>
<li><a
href="1f77c53b12"><code>1f77c53</code></a>
chore: add <code>repository.directory</code> property to
<code>package.json</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19165">#19165</a>)
(루밀LuMir)</li>
<li><a
href="d46059410a"><code>d460594</code></a>
chore: update dependency <code>@​arethetypeswrong/cli</code> to ^0.17.0
(<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19147">#19147</a>)
(renovate[bot])</li>
<li><a
href="45cd4ead9c"><code>45cd4ea</code></a>
refactor: update default options in rules (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19136">#19136</a>)
(Milos Djermanovic)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/eslint/eslint/blob/main/CHANGELOG.md"><code>@​eslint/js</code>'s
changelog</a>.</em></p>
<blockquote>
<p>v9.16.0 - November 29, 2024</p>
<ul>
<li><a
href="feb703b3dc"><code>feb703b</code></a>
chore: upgrade to <code>@eslint/js@9.16.0</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19195">#19195</a>)
(Francesco Trotta)</li>
<li><a
href="df9bf9519a"><code>df9bf95</code></a>
chore: package.json update for <code>@​eslint/js</code> release
(Jenkins)</li>
<li><a
href="9eefc8f813"><code>9eefc8f</code></a>
docs: fix typos in <code>use-isnan</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19190">#19190</a>)
(루밀LuMir)</li>
<li><a
href="0c8cea8c80"><code>0c8cea8</code></a>
docs: switch the order of words in <code>no-unreachable</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19189">#19189</a>)
(루밀LuMir)</li>
<li><a
href="0c19417c64"><code>0c19417</code></a>
docs: add missing backtick to <code>no-async-promise-executor</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19188">#19188</a>)
(루밀LuMir)</li>
<li><a
href="8df927646c"><code>8df9276</code></a>
docs: add backtick in <code>-0</code> in <code>description</code> of
<code>no-compare-neg-zero</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19186">#19186</a>)
(루밀LuMir)</li>
<li><a
href="7e16e3fb85"><code>7e16e3f</code></a>
docs: fix <code>caseSensitive</code> option's title of
<code>sort-keys</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19183">#19183</a>)
(Tanuj Kanti)</li>
<li><a
href="f831893b6e"><code>f831893</code></a>
chore: add type for <code>ignoreComputedKeys</code> option of
<code>sort-keys</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19184">#19184</a>)
(Tanuj Kanti)</li>
<li><a
href="8f70eb142c"><code>8f70eb1</code></a>
feat: Add <code>ignoreComputedKeys</code> option in
<code>sort-keys</code> rule (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19162">#19162</a>)
(Milos Djermanovic)</li>
<li><a
href="0c6b842121"><code>0c6b842</code></a>
docs: fix typos in <code>migration-guide.md</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19180">#19180</a>)
(루밀LuMir)</li>
<li><a
href="353266edf8"><code>353266e</code></a>
docs: fix a typo in <code>debug.md</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19179">#19179</a>)
(루밀LuMir)</li>
<li><a
href="3afb8a1dcf"><code>3afb8a1</code></a>
chore: update dependency <code>@​eslint/json</code> to ^0.8.0 (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19177">#19177</a>)
(Milos Djermanovic)</li>
<li><a
href="5ff318a528"><code>5ff318a</code></a>
docs: delete unnecessary horizontal rule(<code>---</code>) in
<code>nodejs-api</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19175">#19175</a>)
(루밀LuMir)</li>
<li><a
href="576bcc5461"><code>576bcc5</code></a>
docs: mark more rules as handled by TypeScript (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19164">#19164</a>)
(Tanuj Kanti)</li>
<li><a
href="1f77c53b12"><code>1f77c53</code></a>
chore: add <code>repository.directory</code> property to
<code>package.json</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19165">#19165</a>)
(루밀LuMir)</li>
<li><a
href="d46059410a"><code>d460594</code></a>
chore: update dependency <code>@​arethetypeswrong/cli</code> to ^0.17.0
(<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19147">#19147</a>)
(renovate[bot])</li>
<li><a
href="45cd4ead9c"><code>45cd4ea</code></a>
refactor: update default options in rules (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19136">#19136</a>)
(Milos Djermanovic)</li>
<li><a
href="742d054ac1"><code>742d054</code></a>
docs: note that <code>no-restricted-syntax</code> can be used with any
language (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19148">#19148</a>)
(Milos Djermanovic)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="df9bf9519a"><code>df9bf95</code></a>
chore: package.json update for <code>@​eslint/js</code> release</li>
<li>See full diff in <a
href="https://github.com/eslint/eslint/commits/v9.16.0/packages/js">compare
view</a></li>
</ul>
</details>
<br />

Updates `eslint` from 9.15.0 to 9.16.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/eslint/eslint/releases">eslint's
releases</a>.</em></p>
<blockquote>
<h2>v9.16.0</h2>
<h2>Features</h2>
<ul>
<li><a
href="8f70eb142c"><code>8f70eb1</code></a>
feat: Add <code>ignoreComputedKeys</code> option in
<code>sort-keys</code> rule (<a
href="https://redirect.github.com/eslint/eslint/issues/19162">#19162</a>)
(Milos Djermanovic)</li>
</ul>
<h2>Documentation</h2>
<ul>
<li><a
href="9eefc8f813"><code>9eefc8f</code></a>
docs: fix typos in <code>use-isnan</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19190">#19190</a>)
(루밀LuMir)</li>
<li><a
href="0c8cea8c80"><code>0c8cea8</code></a>
docs: switch the order of words in <code>no-unreachable</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19189">#19189</a>)
(루밀LuMir)</li>
<li><a
href="0c19417c64"><code>0c19417</code></a>
docs: add missing backtick to <code>no-async-promise-executor</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19188">#19188</a>)
(루밀LuMir)</li>
<li><a
href="8df927646c"><code>8df9276</code></a>
docs: add backtick in <code>-0</code> in <code>description</code> of
<code>no-compare-neg-zero</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19186">#19186</a>)
(루밀LuMir)</li>
<li><a
href="7e16e3fb85"><code>7e16e3f</code></a>
docs: fix <code>caseSensitive</code> option's title of
<code>sort-keys</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19183">#19183</a>)
(Tanuj Kanti)</li>
<li><a
href="0c6b842121"><code>0c6b842</code></a>
docs: fix typos in <code>migration-guide.md</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19180">#19180</a>)
(루밀LuMir)</li>
<li><a
href="353266edf8"><code>353266e</code></a>
docs: fix a typo in <code>debug.md</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19179">#19179</a>)
(루밀LuMir)</li>
<li><a
href="5ff318a528"><code>5ff318a</code></a>
docs: delete unnecessary horizontal rule(<code>---</code>) in
<code>nodejs-api</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19175">#19175</a>)
(루밀LuMir)</li>
<li><a
href="576bcc5461"><code>576bcc5</code></a>
docs: mark more rules as handled by TypeScript (<a
href="https://redirect.github.com/eslint/eslint/issues/19164">#19164</a>)
(Tanuj Kanti)</li>
<li><a
href="742d054ac1"><code>742d054</code></a>
docs: note that <code>no-restricted-syntax</code> can be used with any
language (<a
href="https://redirect.github.com/eslint/eslint/issues/19148">#19148</a>)
(Milos Djermanovic)</li>
</ul>
<h2>Chores</h2>
<ul>
<li><a
href="feb703b3dc"><code>feb703b</code></a>
chore: upgrade to <code>@eslint/js@9.16.0</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19195">#19195</a>)
(Francesco Trotta)</li>
<li><a
href="df9bf9519a"><code>df9bf95</code></a>
chore: package.json update for <code>@​eslint/js</code> release
(Jenkins)</li>
<li><a
href="f831893b6e"><code>f831893</code></a>
chore: add type for <code>ignoreComputedKeys</code> option of
<code>sort-keys</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19184">#19184</a>)
(Tanuj Kanti)</li>
<li><a
href="3afb8a1dcf"><code>3afb8a1</code></a>
chore: update dependency <code>@​eslint/json</code> to ^0.8.0 (<a
href="https://redirect.github.com/eslint/eslint/issues/19177">#19177</a>)
(Milos Djermanovic)</li>
<li><a
href="1f77c53b12"><code>1f77c53</code></a>
chore: add <code>repository.directory</code> property to
<code>package.json</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19165">#19165</a>)
(루밀LuMir)</li>
<li><a
href="d46059410a"><code>d460594</code></a>
chore: update dependency <code>@​arethetypeswrong/cli</code> to ^0.17.0
(<a
href="https://redirect.github.com/eslint/eslint/issues/19147">#19147</a>)
(renovate[bot])</li>
<li><a
href="45cd4ead9c"><code>45cd4ea</code></a>
refactor: update default options in rules (<a
href="https://redirect.github.com/eslint/eslint/issues/19136">#19136</a>)
(Milos Djermanovic)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/eslint/eslint/blob/main/CHANGELOG.md">eslint's
changelog</a>.</em></p>
<blockquote>
<p>v9.16.0 - November 29, 2024</p>
<ul>
<li><a
href="feb703b3dc"><code>feb703b</code></a>
chore: upgrade to <code>@eslint/js@9.16.0</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19195">#19195</a>)
(Francesco Trotta)</li>
<li><a
href="df9bf9519a"><code>df9bf95</code></a>
chore: package.json update for <code>@​eslint/js</code> release
(Jenkins)</li>
<li><a
href="9eefc8f813"><code>9eefc8f</code></a>
docs: fix typos in <code>use-isnan</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19190">#19190</a>)
(루밀LuMir)</li>
<li><a
href="0c8cea8c80"><code>0c8cea8</code></a>
docs: switch the order of words in <code>no-unreachable</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19189">#19189</a>)
(루밀LuMir)</li>
<li><a
href="0c19417c64"><code>0c19417</code></a>
docs: add missing backtick to <code>no-async-promise-executor</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19188">#19188</a>)
(루밀LuMir)</li>
<li><a
href="8df927646c"><code>8df9276</code></a>
docs: add backtick in <code>-0</code> in <code>description</code> of
<code>no-compare-neg-zero</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19186">#19186</a>)
(루밀LuMir)</li>
<li><a
href="7e16e3fb85"><code>7e16e3f</code></a>
docs: fix <code>caseSensitive</code> option's title of
<code>sort-keys</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19183">#19183</a>)
(Tanuj Kanti)</li>
<li><a
href="f831893b6e"><code>f831893</code></a>
chore: add type for <code>ignoreComputedKeys</code> option of
<code>sort-keys</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19184">#19184</a>)
(Tanuj Kanti)</li>
<li><a
href="8f70eb142c"><code>8f70eb1</code></a>
feat: Add <code>ignoreComputedKeys</code> option in
<code>sort-keys</code> rule (<a
href="https://redirect.github.com/eslint/eslint/issues/19162">#19162</a>)
(Milos Djermanovic)</li>
<li><a
href="0c6b842121"><code>0c6b842</code></a>
docs: fix typos in <code>migration-guide.md</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19180">#19180</a>)
(루밀LuMir)</li>
<li><a
href="353266edf8"><code>353266e</code></a>
docs: fix a typo in <code>debug.md</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19179">#19179</a>)
(루밀LuMir)</li>
<li><a
href="3afb8a1dcf"><code>3afb8a1</code></a>
chore: update dependency <code>@​eslint/json</code> to ^0.8.0 (<a
href="https://redirect.github.com/eslint/eslint/issues/19177">#19177</a>)
(Milos Djermanovic)</li>
<li><a
href="5ff318a528"><code>5ff318a</code></a>
docs: delete unnecessary horizontal rule(<code>---</code>) in
<code>nodejs-api</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19175">#19175</a>)
(루밀LuMir)</li>
<li><a
href="576bcc5461"><code>576bcc5</code></a>
docs: mark more rules as handled by TypeScript (<a
href="https://redirect.github.com/eslint/eslint/issues/19164">#19164</a>)
(Tanuj Kanti)</li>
<li><a
href="1f77c53b12"><code>1f77c53</code></a>
chore: add <code>repository.directory</code> property to
<code>package.json</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19165">#19165</a>)
(루밀LuMir)</li>
<li><a
href="d46059410a"><code>d460594</code></a>
chore: update dependency <code>@​arethetypeswrong/cli</code> to ^0.17.0
(<a
href="https://redirect.github.com/eslint/eslint/issues/19147">#19147</a>)
(renovate[bot])</li>
<li><a
href="45cd4ead9c"><code>45cd4ea</code></a>
refactor: update default options in rules (<a
href="https://redirect.github.com/eslint/eslint/issues/19136">#19136</a>)
(Milos Djermanovic)</li>
<li><a
href="742d054ac1"><code>742d054</code></a>
docs: note that <code>no-restricted-syntax</code> can be used with any
language (<a
href="https://redirect.github.com/eslint/eslint/issues/19148">#19148</a>)
(Milos Djermanovic)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="cbf7db0ddf"><code>cbf7db0</code></a>
9.16.0</li>
<li><a
href="715ba8b5cb"><code>715ba8b</code></a>
Build: changelog update for 9.16.0</li>
<li><a
href="feb703b3dc"><code>feb703b</code></a>
chore: upgrade to <code>@eslint/js@9.16.0</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19195">#19195</a>)</li>
<li><a
href="df9bf9519a"><code>df9bf95</code></a>
chore: package.json update for <code>@​eslint/js</code> release</li>
<li><a
href="9eefc8f813"><code>9eefc8f</code></a>
docs: fix typos in <code>use-isnan</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19190">#19190</a>)</li>
<li><a
href="0c8cea8c80"><code>0c8cea8</code></a>
docs: switch the order of words in <code>no-unreachable</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19189">#19189</a>)</li>
<li><a
href="0c19417c64"><code>0c19417</code></a>
docs: add missing backtick to <code>no-async-promise-executor</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19188">#19188</a>)</li>
<li><a
href="8df927646c"><code>8df9276</code></a>
docs: add backtick in <code>-0</code> in <code>description</code> of
<code>no-compare-neg-zero</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19186">#19186</a>)</li>
<li><a
href="7e16e3fb85"><code>7e16e3f</code></a>
docs: fix <code>caseSensitive</code> option's title of
<code>sort-keys</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19183">#19183</a>)</li>
<li><a
href="f831893b6e"><code>f831893</code></a>
chore: add type for <code>ignoreComputedKeys</code> option of
<code>sort-keys</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19184">#19184</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/eslint/eslint/compare/v9.15.0...v9.16.0">compare
view</a></li>
</ul>
</details>
<br />


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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-04 14:51:02 -08:00
dependabot[bot]
56972e1cf6
Bump the prod-dependencies group with 2 updates (#1362)
Bumps the prod-dependencies group with 2 updates:
[overlayscrollbars](https://github.com/KingSora/OverlayScrollbars/tree/HEAD/packages/overlayscrollbars)
and [shell-quote](https://github.com/ljharb/shell-quote).

Updates `overlayscrollbars` from 2.10.0 to 2.10.1
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/KingSora/OverlayScrollbars/blob/master/packages/overlayscrollbars/CHANGELOG.md">overlayscrollbars's
changelog</a>.</em></p>
<blockquote>
<h2>2.10.1</h2>
<h3>Improvements</h3>
<ul>
<li>Add <code>pen</code> to the list of &quot;hoverable&quot; pointer
devices. <a
href="https://redirect.github.com/KingSora/OverlayScrollbars/issues/690">#690</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="170547a6c7"><code>170547a</code></a>
v2.10.1</li>
<li><a
href="4738f6f3a4"><code>4738f6f</code></a>
add pen device to hoverable pointer types</li>
<li><a
href="b11536b47b"><code>b11536b</code></a>
remove tilde imports</li>
<li><a
href="c38309e1e3"><code>c38309e</code></a>
fix test</li>
<li><a
href="cadff268f6"><code>cadff26</code></a>
move repo to esm</li>
<li>See full diff in <a
href="https://github.com/KingSora/OverlayScrollbars/commits/v2.10.1/packages/overlayscrollbars">compare
view</a></li>
</ul>
</details>
<br />

Updates `shell-quote` from 1.8.1 to 1.8.2
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md">shell-quote's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/ljharb/shell-quote/compare/v1.8.1...v1.8.2">v1.8.2</a>
- 2024-11-27</h2>
<h3>Fixed</h3>
<ul>
<li>[Fix] <code>quote</code>: preserve empty strings <a
href="https://redirect.github.com/ljharb/shell-quote/issues/18"><code>[#18](https://github.com/ljharb/shell-quote/issues/18)</code></a></li>
</ul>
<h3>Commits</h3>
<ul>
<li>[meta] fix changelog tags <a
href="0fb9fd8441"><code>0fb9fd8</code></a></li>
<li>[actions] split out node 10-20, and 20+ <a
href="819bd842e0"><code>819bd84</code></a></li>
<li>[Dev Deps] update <code>@ljharb/eslint-config</code>,
<code>auto-changelog</code>, <code>npmignore</code>, <code>tape</code>
<a
href="fc564086c8"><code>fc56408</code></a></li>
<li>[actions] update npm for windows tests <a
href="fdeb0fd102"><code>fdeb0fd</code></a></li>
<li>[Dev Deps] update <code>@ljharb/eslint-config</code>,
<code>aud</code>, <code>tape</code> <a
href="b8a4a3b3f5"><code>b8a4a3b</code></a></li>
<li>[actions] prevent node 14 on ARM mac from failing <a
href="9eecafc048"><code>9eecafc</code></a></li>
<li>[meta] exclude more files from the package <a
href="4044e7fad4"><code>4044e7f</code></a></li>
<li>[Tests] replace <code>aud</code> with <code>npm audit</code> <a
href="8cfdbd8ec3"><code>8cfdbd8</code></a></li>
<li>[meta] add missing <code>engines.node</code> <a
href="843820e1a4"><code>843820e</code></a></li>
<li>[Dev Deps] add missing peer dep <a
href="4c3b88d792"><code>4c3b88d</code></a></li>
<li>[Dev Deps] pin <code>jackspeak</code> since 2.1.2+ depends on npm
aliases, which kill the install process in npm &lt; 6 <a
href="80322ed591"><code>80322ed</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b19fc77e66"><code>b19fc77</code></a>
v1.8.2</li>
<li><a
href="59d29ea694"><code>59d29ea</code></a>
[Fix] <code>quote</code>: preserve empty strings</li>
<li><a
href="819bd842e0"><code>819bd84</code></a>
[actions] split out node 10-20, and 20+</li>
<li><a
href="4c3b88d792"><code>4c3b88d</code></a>
[Dev Deps] add missing peer dep</li>
<li><a
href="fc564086c8"><code>fc56408</code></a>
[Dev Deps] update <code>@ljharb/eslint-config</code>,
<code>auto-changelog</code>, <code>npmignore</code>,
<code>tape</code></li>
<li><a
href="8cfdbd8ec3"><code>8cfdbd8</code></a>
[Tests] replace <code>aud</code> with <code>npm audit</code></li>
<li><a
href="9eecafc048"><code>9eecafc</code></a>
[actions] prevent node 14 on ARM mac from failing</li>
<li><a
href="843820e1a4"><code>843820e</code></a>
[meta] add missing <code>engines.node</code></li>
<li><a
href="4044e7fad4"><code>4044e7f</code></a>
[meta] exclude more files from the package</li>
<li><a
href="fdeb0fd102"><code>fdeb0fd</code></a>
[actions] update npm for windows tests</li>
<li>Additional commits viewable in <a
href="https://github.com/ljharb/shell-quote/compare/v1.8.1...v1.8.2">compare
view</a></li>
</ul>
</details>
<br />


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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-04 14:50:13 -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
3945995d73
Fix tab name calculation to account for pinned tabs (#1385) 2024-12-04 14:00:19 -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
Evan Simkowitz
29e8929f91
Hack to prevent tabbar flicker when switching tabs (#1379) 2024-12-03 20:08:06 -08:00
Evan Simkowitz
a72d3e5c7a
Add recursive flag to prevent unwanted deletion of parents while they're already being deleted (#1378)
When a tab was being deleted, for instance, the last block that got
deleted would cascade to delete its parent tab, even though the
`DeleteTab` function was already going to do this. This would produce DB
collisions that would put the app into a bad state. Now we pass a
`recursive` flag that is used to determine whether to perform the
recursive close of the parents.

Also updates `DeleteWorkspace` so that named workspaces will always be
deleted if they're empty, even if `force` is false
2024-12-03 18:39:06 -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
Evan Simkowitz
90e31dfa48
Delete a tab when it's out of blocks, cascade to window (#1374)
Updates `DeleteBlock` to close its parent tab if the tab has no more
blocks. This will also cascade to close the workspace if it no longer
has any tabs, same for window.

I had to move some block-related functionality around on the backend.
2024-12-03 09:38:46 -08:00