Commit Graph

598 Commits

Author SHA1 Message Date
Evan Simkowitz 56757e4bb0 fix layoutTree tests 2024-08-26 16:35:35 -07:00
Red J Adaya 7d98aeb2c9 fix dynamic setting of suggestions modal (#272) 2024-08-26 16:33:05 -07:00
Evan Simkowitz cefc491bf2 fix layoutNode and layout util tests 2024-08-26 16:27:57 -07:00
Mike Sawka c2fe3b18e1 move connection switching to blockheader (#276) 2024-08-26 16:19:03 -07:00
Mike Sawka f28bdccb5d move CreateX functions to wcore (#275) 2024-08-26 15:17:37 -07:00
Evan Simkowitz 4e68211f22 make auth key header a constant 2024-08-26 13:55:47 -07:00
sawka 2118c24c0d fix ctrl:shift 2 2024-08-26 13:53:46 -07:00
Evan Simkowitz 7648eaf7e9 don't log auth key on startup, lol 2024-08-26 13:53:04 -07:00
Evan Simkowitz 06ed17382e run yarn when .yarnrc.yml changes 2024-08-26 13:35:10 -07:00
Evan Simkowitz 59a2b9b787 Replace default edit menu with one that won't eat keyboard shortcuts (#274)
We only need global Cut/Copy/Paste accelerators on macOS. Linux and
Windows do these automatically. Additionally, having these accelerators
means that we can't use shortcuts like Ctrl+C in the terminal. This PR
removes these accelerators for every platform but macOS.
2024-08-26 13:30:19 -07:00
Evan Simkowitz 3777cd1eb0 move authkey request injection to after app is ready 2024-08-26 13:20:37 -07:00
Evan Simkowitz 48600ddfa4 Add task to run yarn when package.json or yarn.lock change 2024-08-26 13:17:35 -07:00
Evan Simkowitz eea57af80b Fix Cmd-W to close focused node (#273)
Fixes the in-memory focused node stack so it can be used to find the currently-focused node. This is necessary for `closeFocusedNode` to work.  Also fixes `validateFocusedNode` so it will set the first node to be focused if no focused node is available. Also cleans up leafOrder update pattern.
2024-08-26 12:32:28 -07:00
Evan Simkowitz 164afeeb66 Unified node model to pass data from layout to blocks (#259)
This adds a new NodeModel, which can be passed from the TileLayout to
contained blocks. It contains all the layout data that the block should
care about, including focus status, whether a drag operation is
underway, whether the node is magnified, etc.

This also adds a focus stack for the layout, which will let the focus
switch to the last-focused node when the currently-focused one is
closed.

This also addresses a regression in the resize handles that caused them
to be offset from the cursor when dragged.

---------

Co-authored-by: sawka <mike.sawka@gmail.com>
2024-08-26 11:56:00 -07:00
Evan Simkowitz 8e5a4a457c reset yarn lock to fix dependency issue with Rollup on Windows 2024-08-24 15:36:44 -07:00
Sylvia Crowe fe8b1c1924 fix: correct ConnStatus uninitialized field 2024-08-24 15:27:14 -07:00
Evan Simkowitz 3693219a8f upgrade yarn 2024-08-24 15:23:33 -07:00
Mike Sawka 62d9d53e52 fix terminal paste (inverted colors) (#271) 2024-08-23 22:12:27 -07:00
dependabot[bot] 2d34a81259 Bump micromatch from 4.0.7 to 4.0.8 in the npm_and_yarn group (#270) 2024-08-23 20:04:12 -07:00
Sylvie Crowe 636d71e652 Change Connection UI (#269)
This allows the user to select different connections from the terminal
block. Some features include:
- a status bar at the top of the term block that shows your current
connection
- an icon next to the status bar that shows whether the connection is
currently connected
- the ability to click the status bar and type in a new connection in
order to change the current connection

---------

Co-authored-by: sawka <mike.sawka@gmail.com>
2024-08-23 18:12:40 -07:00
dependabot[bot] 3e14eb2514 Bump the prod-dependencies group with 2 updates (#266) 2024-08-23 17:43:53 -07:00
dependabot[bot] e0f355a849 Bump @chromatic-com/storybook from 1.6.1 to 1.7.0 in the storybook group (#265) 2024-08-23 17:43:41 -07:00
dependabot[bot] f715d19780 Bump the dev-dependencies group with 4 updates (#264) 2024-08-23 17:43:09 -07:00
sawka 2629aa28bb update app icons 2024-08-23 10:34:34 -07:00
dependabot[bot] bed23ed59f Bump github.com/sashabaranov/go-openai from 1.28.1 to 1.28.3 (#263)
Bumps
[github.com/sashabaranov/go-openai](https://github.com/sashabaranov/go-openai)
from 1.28.1 to 1.28.3.
<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.28.3</h2>
<h2>What's Changed</h2>
<ul>
<li>feat: Support Delete Message API by <a
href="https://github.com/kappa-lab"><code>@​kappa-lab</code></a> in <a
href="https://redirect.github.com/sashabaranov/go-openai/pull/799">sashabaranov/go-openai#799</a></li>
<li>Support http client middlewareing by <a
href="https://github.com/michurin"><code>@​michurin</code></a> in <a
href="https://redirect.github.com/sashabaranov/go-openai/pull/830">sashabaranov/go-openai#830</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/kappa-lab"><code>@​kappa-lab</code></a>
made their first contribution in <a
href="https://redirect.github.com/sashabaranov/go-openai/pull/799">sashabaranov/go-openai#799</a></li>
<li><a href="https://github.com/michurin"><code>@​michurin</code></a>
made their first contribution in <a
href="https://redirect.github.com/sashabaranov/go-openai/pull/830">sashabaranov/go-openai#830</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/sashabaranov/go-openai/compare/v1.28.2...v1.28.3">https://github.com/sashabaranov/go-openai/compare/v1.28.2...v1.28.3</a></p>
<h2>v1.28.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Run integration tests for PRs by <a
href="https://github.com/HaraldNordgren"><code>@​HaraldNordgren</code></a>
in <a
href="https://redirect.github.com/sashabaranov/go-openai/pull/823">sashabaranov/go-openai#823</a></li>
<li>feat: Completion request support seed by <a
href="https://github.com/eiixy"><code>@​eiixy</code></a> in <a
href="https://redirect.github.com/sashabaranov/go-openai/pull/800">sashabaranov/go-openai#800</a></li>
<li>fix: fullURL endpoint generation by <a
href="https://github.com/eiixy"><code>@​eiixy</code></a> in <a
href="https://redirect.github.com/sashabaranov/go-openai/pull/817">sashabaranov/go-openai#817</a></li>
<li>Allow structured outputs via function calling by <a
href="https://github.com/greysteil"><code>@​greysteil</code></a> in <a
href="https://redirect.github.com/sashabaranov/go-openai/pull/828">sashabaranov/go-openai#828</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/HaraldNordgren"><code>@​HaraldNordgren</code></a>
made their first contribution in <a
href="https://redirect.github.com/sashabaranov/go-openai/pull/823">sashabaranov/go-openai#823</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/sashabaranov/go-openai/compare/v1.28.1...v1.28.2">https://github.com/sashabaranov/go-openai/compare/v1.28.1...v1.28.2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/sashabaranov/go-openai/commit/5162adbbf90cef77b8462c1f33c81f7d258a1447"><code>5162adb</code></a>
Support http client middlewareing (<a
href="https://redirect.github.com/sashabaranov/go-openai/issues/830">#830</a>)</li>
<li><a
href="https://github.com/sashabaranov/go-openai/commit/6d021190f05410a44d9401984815c55f4736b755"><code>6d02119</code></a>
feat: Support Delete Message API (<a
href="https://redirect.github.com/sashabaranov/go-openai/issues/799">#799</a>)</li>
<li><a
href="https://github.com/sashabaranov/go-openai/commit/d86425a5cfd09bb76fe2f9239a03a9dbcdca8a9c"><code>d86425a</code></a>
Allow structured outputs via function calling (<a
href="https://redirect.github.com/sashabaranov/go-openai/issues/828">#828</a>)</li>
<li><a
href="https://github.com/sashabaranov/go-openai/commit/dd7f5824f9a4c3860cccfaf8350d5d09e864038f"><code>dd7f582</code></a>
fix: fullURL endpoint generation (<a
href="https://redirect.github.com/sashabaranov/go-openai/issues/817">#817</a>)</li>
<li><a
href="https://github.com/sashabaranov/go-openai/commit/2c6889e0818b93c4fd724d9528b610896f5e9421"><code>2c6889e</code></a>
fix: <a
href="https://redirect.github.com/sashabaranov/go-openai/issues/788">#788</a>
(<a
href="https://redirect.github.com/sashabaranov/go-openai/issues/800">#800</a>)</li>
<li><a
href="https://github.com/sashabaranov/go-openai/commit/18803333812ea21c409e84d426141606b9a6e692"><code>1880333</code></a>
Run integration tests for PRs (<a
href="https://redirect.github.com/sashabaranov/go-openai/issues/823">#823</a>)</li>
<li>See full diff in <a
href="https://github.com/sashabaranov/go-openai/compare/v1.28.1...v1.28.3">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.28.1&new-version=1.28.3)](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-08-23 10:24:17 -07:00