Commit Graph

937 Commits

Author SHA1 Message Date
Evan Simkowitz
747a3d6886
add react-dom typedefs 2024-09-11 14:54:23 -07:00
Evan Simkowitz
891fab7422
fix type error in emain 2024-09-11 11:28:26 -07:00
Mike Sawka
e46be65baf
guard wsh completion installation by prereqs (#364) 2024-09-11 11:14:38 -07:00
sawka
912fcca865 bump to v0.1.12 2024-09-11 11:13:10 -07:00
Red J Adaya
df2af04a6e
telemetry fix (#365) 2024-09-11 09:26:43 -07:00
Red J Adaya
c3a02d7e33
revert tabs scroll timing (#363) 2024-09-10 23:22:32 -07:00
Red J Adaya
f6fc0125fd
fix issue where tabs are immediately visible while they're still stacked on load (#362)
This fixes the visual bug where the active tab seems to be the first tab
and then switches to the actual active tab after the tabs are
positioned.
2024-09-10 23:06:27 -07:00
Evan Simkowitz
8f0cd5adcf
fix latent regression from my last pr 2024-09-10 22:50:28 -07:00
Evan Simkowitz
9b12aa9882
Fix bug in TileLayout where computeMoveNode had stale node data (#361)
This was hard to debug. It manifested in nodes that had been collapsed
into their parent. When a node was dragged over the recently-collapsed
node, the placeholder would show the action as if the flex direction was
reversed. It turns out useDrag has trouble tracking changes to the
LayoutNode objects. For now, I am just finding the nodes again in the
computeMoveNode function. Later when I redo the drag system, I will fix
this better.
2024-09-10 17:23:28 -07:00
Evan Simkowitz
f3940f7456
remove unused atom 2024-09-10 15:00:28 -07:00
Evan Simkowitz
6793b41cea
remove unnecessary isUrlDirty atom 2024-09-10 14:59:34 -07:00
Evan Simkowitz
f13b608e79
remove unnecessary set 2024-09-10 14:49:20 -07:00
Evan Simkowitz
467e151aca
fix webview url not being able to be empty 2024-09-10 14:46:59 -07:00
Evan Simkowitz
29db989623
Revert "Keep changes in preview after save (#360)"
This reverts commit 13ac6af4d0.
2024-09-10 14:27:11 -07:00
Evan Simkowitz
13ac6af4d0
Keep changes in preview after save (#360)
A bit hacky, but should allow preview to update to latest file contents
after save
2024-09-10 13:37:30 -07:00
Sylvie Crowe
04fb8e5aad
Mimetype Quick Fixes (#359) 2024-09-10 13:23:02 -07:00
Mike Sawka
5fe0cae244
wsh web (#358) 2024-09-10 12:50:55 -07:00
Red J Adaya
a9486852f9
default white bg for websites with no bg (#355) 2024-09-10 12:16:34 -07:00
sawka
62eb04090a fix shell integration directories, add bash/zsh completion scripts 2024-09-09 22:26:10 -07:00
sawka
16d01b43eb make some wsh commands hidden 2024-09-09 21:00:47 -07:00
sawka
766a976718 errorboundary fallback, errorboundary in block frame header. fix workspace error boundary 2024-09-09 18:20:57 -07:00
Sylvia Crowe
639e796296 fix: clamp connection rowIndex to list size 2024-09-09 17:06:48 -07:00
sawka
01d98fccd2 fix nullptr startsWith 2024-09-09 16:44:26 -07:00
Sylvie Crowe
663cb2cce7
Connection Typeahead Arrow Keys (#352)
This is a first pass to get arrow keys to work with the connection
typeahead.
2024-09-09 16:26:24 -07:00
Evan Simkowitz
65a10ffb36
webview devtools 2024-09-09 15:41:26 -07:00
Evan Simkowitz
dc16d9be3d
fix makeConnRoute in preview 2024-09-09 12:42:47 -07:00
Evan Simkowitz
0d040f1155
use regular@ syntax for icon button class 2024-09-09 12:38:49 -07:00
Evan Simkowitz
9e3c9f9253
Make IconButton its own element, move CopyButton to use it (#357) 2024-09-09 12:35:53 -07:00
Evan Simkowitz
c3924daac3
fix variables for markdown code 2024-09-09 12:09:31 -07:00
Evan Simkowitz
45acc62266
remove undefined variable 2024-09-09 12:08:32 -07:00
Evan Simkowitz
331724c6c3
make code only transparent in pre tags 2024-09-09 12:05:15 -07:00
Evan Simkowitz
1cf3671ac4
remove classname from copybutton since it's already applied by default 2024-09-09 12:01:57 -07:00
Evan Simkowitz
942f7c4431
remove code background 2024-09-09 12:00:47 -07:00
Evan Simkowitz
76d5288aba
apply slug after sanitize 2024-09-09 11:58:55 -07:00
Evan Simkowitz
7c45b3679f
Add syntax highlighting to the Markdown element (#356)
Also fixes the styling for the copy button
2024-09-09 11:56:21 -07:00
sawka
5190556c37 always recreate existing window if possible (for the last window only) 2024-09-09 11:49:57 -07:00
Mike Sawka
f62d96ae99
fix url navigation (#353) 2024-09-07 18:22:13 -07:00
Evan Simkowitz
5e80aeb22a
remove unnecessary callback 2024-09-07 11:20:28 -07:00
Evan Simkowitz
f2050f6155
use built-in slug prefix 2024-09-07 11:18:38 -07:00
Evan Simkowitz
97b9760109
make internal heading links work 2024-09-07 11:10:10 -07:00
Evan Simkowitz
b08af477bf
fix typing some more 2024-09-07 11:01:46 -07:00
Evan Simkowitz
910683a825
clean up typing for markdown, add focusedHeading state for future links work 2024-09-07 10:59:33 -07:00
sawka
3dbc8139eb fix slow tab closing 2024-09-06 17:48:34 -07:00
Red J Adaya
b278d11aca
do no animate tabs on load (#351) 2024-09-06 17:41:00 -07:00
Evan Simkowitz
1591a0ca26
fix extern links md 2024-09-06 17:30:19 -07:00
Evan Simkowitz
cab701d3ea
fix resolveOpts props error in md image 2024-09-06 17:23:30 -07:00
Evan Simkowitz
88158289d2
remove debug log 2024-09-06 17:13:30 -07:00
Evan Simkowitz
6117929081
fix links in md preview when there's more than one heading with same name 2024-09-06 17:11:11 -07:00
dependabot[bot]
b77525f3ef
Bump github.com/shirou/gopsutil/v4 from 4.24.7 to 4.24.8 (#345)
Bumps
[github.com/shirou/gopsutil/v4](https://github.com/shirou/gopsutil) from
4.24.7 to 4.24.8.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/shirou/gopsutil/releases">github.com/shirou/gopsutil/v4's
releases</a>.</em></p>
<blockquote>
<h2>v4.24.8</h2>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<h3>disk</h3>
<ul>
<li>fix(IOCountersWithContext): Fix the issue of not using names to fil
ter devices in func IOCountersWithContext of the windows implementation
by <a href="https://github.com/zmyzheng"><code>@​zmyzheng</code></a> in
<a
href="https://redirect.github.com/shirou/gopsutil/pull/1688">shirou/gopsutil#1688</a></li>
<li>[disk][windows]: ignore network drive when not ready by <a
href="https://github.com/shirou"><code>@​shirou</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1699">shirou/gopsutil#1699</a></li>
</ul>
<h3>process</h3>
<ul>
<li>Fix parsing of /proc/pid/smaps when path is empty by <a
href="https://github.com/pgimalac"><code>@​pgimalac</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1691">shirou/gopsutil#1691</a></li>
<li>Refactoring the algorithm for calculating CPU usage by <a
href="https://github.com/TheBestLL"><code>@​TheBestLL</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1692">shirou/gopsutil#1692</a></li>
<li>Fix panic on OpenBSD and FreeBSD systems if KinfoProc size has an
unexpected size by <a
href="https://github.com/fivitti"><code>@​fivitti</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1694">shirou/gopsutil#1694</a></li>
</ul>
<h3>Other Changes</h3>
<ul>
<li>Fix badge link in README.md by <a
href="https://github.com/Yurunsoft"><code>@​Yurunsoft</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1695">shirou/gopsutil#1695</a></li>
<li>fix golangcilint errors, ignore gosec G115 by <a
href="https://github.com/shirou"><code>@​shirou</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1697">shirou/gopsutil#1697</a></li>
<li>fix: golangci lint with max -&gt; maxConn by <a
href="https://github.com/shirou"><code>@​shirou</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1693">shirou/gopsutil#1693</a></li>
</ul>
<h2>New Contributors 🎉</h2>
<ul>
<li><a href="https://github.com/zmyzheng"><code>@​zmyzheng</code></a>
made their first contribution in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1688">shirou/gopsutil#1688</a></li>
<li><a href="https://github.com/Yurunsoft"><code>@​Yurunsoft</code></a>
made their first contribution in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1695">shirou/gopsutil#1695</a></li>
<li><a href="https://github.com/pgimalac"><code>@​pgimalac</code></a>
made their first contribution in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1691">shirou/gopsutil#1691</a></li>
<li><a href="https://github.com/TheBestLL"><code>@​TheBestLL</code></a>
made their first contribution in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1692">shirou/gopsutil#1692</a></li>
<li><a href="https://github.com/fivitti"><code>@​fivitti</code></a> made
their first contribution in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1694">shirou/gopsutil#1694</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/shirou/gopsutil/compare/v4.24.7...v4.24.8">https://github.com/shirou/gopsutil/compare/v4.24.7...v4.24.8</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="74cb403730"><code>74cb403</code></a>
Merge pull request <a
href="https://redirect.github.com/shirou/gopsutil/issues/1694">#1694</a>
from fivitti/master</li>
<li><a
href="7404c1f39d"><code>7404c1f</code></a>
Merge pull request <a
href="https://redirect.github.com/shirou/gopsutil/issues/1699">#1699</a>
from shirou/feat/win_disk_ignore_remote_drive_on_error</li>
<li><a
href="72d3ba4191"><code>72d3ba4</code></a>
[disk][windows]: ignore network drive when not ready</li>
<li><a
href="829f2fafbd"><code>829f2fa</code></a>
Refactoring the algorithm for calculating CPU usage (<a
href="https://redirect.github.com/shirou/gopsutil/issues/1692">#1692</a>)</li>
<li><a
href="2a37a1d32b"><code>2a37a1d</code></a>
Merge pull request <a
href="https://redirect.github.com/shirou/gopsutil/issues/1691">#1691</a>
from pgimalac/pgimalac/fix-proc-smaps-parsing</li>
<li><a
href="2c51005a94"><code>2c51005</code></a>
Merge pull request <a
href="https://redirect.github.com/shirou/gopsutil/issues/1697">#1697</a>
from shirou/feature/fix_golangclilint_gosec</li>
<li><a
href="37f531010d"><code>37f5310</code></a>
fix golangcilint errors, ignore gosec G115</li>
<li><a
href="904a5a4842"><code>904a5a4</code></a>
Merge pull request <a
href="https://redirect.github.com/shirou/gopsutil/issues/1695">#1695</a>
from Yurunsoft/patch-1</li>
<li><a
href="39c93c6a20"><code>39c93c6</code></a>
Fix badge link in README.md</li>
<li><a
href="977269202e"><code>9772692</code></a>
fix: handle invalid KinfoProc size on BSD systems</li>
<li>Additional commits viewable in <a
href="https://github.com/shirou/gopsutil/compare/v4.24.7...v4.24.8">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/shirou/gopsutil/v4&package-manager=go_modules&previous-version=4.24.7&new-version=4.24.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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-06 16:39:59 -07:00
dependabot[bot]
f541db8b1b
Bump debug from 4.3.6 to 4.3.7 in the prod-dependencies group (#340)
Bumps the prod-dependencies group with 1 update:
[debug](https://github.com/debug-js/debug).

Updates `debug` from 4.3.6 to 4.3.7
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/debug-js/debug/releases">debug's
releases</a>.</em></p>
<blockquote>
<h2>4.3.7</h2>
<h2>What's Changed</h2>
<ul>
<li>Upgrade ms to version 2.1.3 by <a
href="https://github.com/realityking"><code>@​realityking</code></a> in
<a
href="https://redirect.github.com/debug-js/debug/pull/819">debug-js/debug#819</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/debug-js/debug/compare/4.3.6...4.3.7">https://github.com/debug-js/debug/compare/4.3.6...4.3.7</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="bc60914816"><code>bc60914</code></a>
4.3.7</li>
<li><a
href="c63e96e649"><code>c63e96e</code></a>
Upgrade ms to version 2.1.3 (<a
href="https://redirect.github.com/debug-js/debug/issues/819">#819</a>)</li>
<li><a
href="382864a45a"><code>382864a</code></a>
remove archaic badges from readme</li>
<li>See full diff in <a
href="https://github.com/debug-js/debug/compare/4.3.6...4.3.7">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=debug&package-manager=npm_and_yarn&previous-version=4.3.6&new-version=4.3.7)](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-09-06 16:39:02 -07:00