Commit Graph

823 Commits

Author SHA1 Message Date
Evan Simkowitz
c9a1e9afe3
fix drag overlay losing rect changes 2024-08-28 16:24:25 -07:00
Evan Simkowitz
59979b13e7
use linear timing function for layout transitions 2024-08-28 14:25:47 -07:00
Evan Simkowitz
099c196cae
Use transition events to better-coordinate debouncing of NodeModel innerRect (#288)
Rather than using a timeout to debounce changes to the
NodeModel.innerRect, I'll use a transition event on the display
container. This way, if the user disables transitions using the reduced
motion setting, changes to the innerRect value will not be debounced.
2024-08-28 13:28:49 -07:00
Evan Simkowitz
f7c9fd9a02
revert formatting for auto generated files 2024-08-28 13:21:08 -07:00
Sylvie Crowe
ea5e5e1bac
Integrate Skeema Knownhosts fix (#287)
This fix makes it possible to differentiate between keys when multiple
are provided by the remote server. It does not solve the case of
multiple keys of the same type being shared, but it handles multiple
keys of different types being shared, which is much more common.
2024-08-28 13:18:43 -07:00
sawka
a7606b8363 update visuals to say gpt-4o-mini 2024-08-28 12:05:36 -07:00
Evan Simkowitz
efe85ff4f5
enforce go fmt usage in vscode 2024-08-28 10:59:08 -07:00
Evan Simkowitz
fb65ec1e23
Explicitly set focus on insert (#285)
Adds a flag to the insert layout action to explicitly set the focus of a
newly inserted node. This also adds a flag in the starter layout to
focus on the terminal block.
2024-08-27 23:16:07 -07:00
Mike Sawka
a3aa941b68
implement wsh setconfig (#284) 2024-08-27 22:02:21 -07:00
Mike Sawka
8630e23239
new config system (#283) 2024-08-27 18:49:49 -07:00
Evan Simkowitz
c9c555452a
Establish wlayout for coordinating backend layout actions (#282) 2024-08-27 18:38:57 -07:00
Sylvie Crowe
ee0bc0a377
Windows Bug Fixes (#281)
Fixes two bugs
- ai component now works on windows
- forces files to use lf line endings on windows instead of crlf
2024-08-27 15:12:26 -07:00
Evan Simkowitz
7d90a3912b
fix nullref in layoutNode.findNode 2024-08-27 13:48:53 -07:00
Evan Simkowitz
755f8f2385
add back top padding for tabcontent 2024-08-27 13:46:13 -07:00
sawka
730c0b1eea fix nullptr for non-focused node 2024-08-27 13:45:05 -07:00
Evan Simkowitz
c892c39a73
Fix block content sizing (#280)
Make the block content sizing update once when its node moves or becomes
magnified. By manually updating this inner sizing rather than letting
the block flow in the DOM, the animations of the block frames are much
smoother.

This also fixes an issue where two scrollbars were being rendered for
the Directory Preview widget.

This also sets zero padding on nodes when there's only a single node
being rendered.
2024-08-27 13:41:36 -07:00
Evan Simkowitz
86fc45fc13
fix double scrollbars in directory preview 2024-08-27 13:28:10 -07:00
Evan Simkowitz
8fcc856740
fix node collapse edge case 2024-08-27 13:25:02 -07:00
Mike Sawka
ab5a9ec749
update window close logic for windows/linux (#268)
Co-authored-by: Sylvia Crowe
2024-08-26 22:03:43 -07:00
sawka
c2d2ad9136 separate cmd+o from switch connection (disconnect typeaaheadatom), and allow width to 95% 2024-08-26 21:03:12 -07:00
Red J Adaya
a665d372e3
telemetry toggle (#278)
<img width="1316" alt="image"
src="https://github.com/user-attachments/assets/01dc517c-2e9c-46ea-aaf0-4fff1fd3909d">
2024-08-26 18:03:32 -07:00
sawka
fd7fa9f6f1 useatomvaluesafe 2024-08-26 16:56:37 -07:00
sawka
19ebfa0361 fix local icon for term connections 2024-08-26 16:54:39 -07:00
Evan Simkowitz
cdaf8865a2
fix blockstore_test TestDelete 2024-08-26 16:38:57 -07:00
Evan Simkowitz
fac706fb4f
remove .js from imports 2024-08-26 16:37:05 -07:00
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="5162adbbf9"><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="6d021190f0"><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="d86425a5cf"><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="dd7f5824f9"><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="2c6889e081"><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="1880333381"><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