Commit Graph

857 Commits

Author SHA1 Message Date
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
dependabot[bot]
27d22c2f7e
Bump the electron group with 2 updates (#267)
Bumps the electron group with 2 updates:
[electron-updater](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-updater)
and [electron](https://github.com/electron/electron).

Updates `electron-updater` from 6.3.3 to 6.3.4
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/electron-userland/electron-builder/releases">electron-updater's
releases</a>.</em></p>
<blockquote>
<h2>electron-updater@6.3.4</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/electron-userland/electron-builder/pull/8417">#8417</a>
<a
href="e77de9f661"><code>e77de9f6</code></a>
Thanks <a
href="https://github.com/beyondkmp"><code>@​beyondkmp</code></a>! -
update semver to latest</p>
</li>
<li>
<p><a
href="https://redirect.github.com/electron-userland/electron-builder/pull/8409">#8409</a>
<a
href="5fae1cf3be"><code>5fae1cf3</code></a>
Thanks <a href="https://github.com/ckarich"><code>@​ckarich</code></a>!
- fix: windows signature verification special chars</p>
</li>
<li>
<p><a
href="https://redirect.github.com/electron-userland/electron-builder/pull/8282">#8282</a>
<a
href="15ce5b4164"><code>15ce5b41</code></a>
Thanks <a
href="https://github.com/beyondkmp"><code>@​beyondkmp</code></a>! - fix
aborted event</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/electron-userland/electron-builder/blob/master/packages/electron-updater/CHANGELOG.md">electron-updater's
changelog</a>.</em></p>
<blockquote>
<h2>6.3.4</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/electron-userland/electron-builder/pull/8417">#8417</a>
<a
href="e77de9f661"><code>e77de9f6</code></a>
Thanks <a
href="https://github.com/beyondkmp"><code>@​beyondkmp</code></a>! -
update semver to latest</p>
</li>
<li>
<p><a
href="https://redirect.github.com/electron-userland/electron-builder/pull/8409">#8409</a>
<a
href="5fae1cf3be"><code>5fae1cf3</code></a>
Thanks <a href="https://github.com/ckarich"><code>@​ckarich</code></a>!
- fix: windows signature verification special chars</p>
</li>
<li>
<p><a
href="https://redirect.github.com/electron-userland/electron-builder/pull/8282">#8282</a>
<a
href="15ce5b4164"><code>15ce5b41</code></a>
Thanks <a
href="https://github.com/beyondkmp"><code>@​beyondkmp</code></a>! - fix
aborted event</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="d5d9f3f9aa"><code>d5d9f3f</code></a>
chore(deploy): Release v25.0.5 (electron-updater@6.3.4) (<a
href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-updater/issues/8411">#8411</a>)</li>
<li><a
href="e77de9f661"><code>e77de9f</code></a>
chore(deps): upgrade semver to latest to resolve CVE (<a
href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-updater/issues/8417">#8417</a>)</li>
<li><a
href="15ce5b4164"><code>15ce5b4</code></a>
fix: change <code>abort</code> listener to <code>aborted</code> event
(<a
href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-updater/issues/8282">#8282</a>)</li>
<li><a
href="5fae1cf3be"><code>5fae1cf</code></a>
fix: windows signature verification special chars (<a
href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-updater/issues/8409">#8409</a>)</li>
<li>See full diff in <a
href="https://github.com/electron-userland/electron-builder/commits/electron-updater@6.3.4/packages/electron-updater">compare
view</a></li>
</ul>
</details>
<br />

Updates `electron` from 31.4.0 to 32.0.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/electron/electron/releases">electron's
releases</a>.</em></p>
<blockquote>
<h2>electron v32.0.1</h2>
<h1>Release Notes for v32.0.1</h1>
<h2>Other Changes</h2>
<ul>
<li>Security: cherry-pick 9797576 from v8 <a
href="https://redirect.github.com/electron/electron/pull/43384">#43384</a></li>
</ul>
<h2>electron v32.0.0</h2>
<h1>Release Notes for v32.0.0</h1>
<h2>Stack Upgrades</h2>
<ul>
<li>Chromium<code>128.0.6613.36</code>
<ul>
<li><a href="https://developer.chrome.com/blog/new-in-chrome-128/">New
in 128</a></li>
<li><a href="https://developer.chrome.com/blog/new-in-chrome-127/">New
in 127</a></li>
</ul>
</li>
<li>Node <code>20.16.0</code>
<ul>
<li><a href="https://nodejs.org/en/blog/release/v20.16.0/">Node 20.16.0
blog post</a></li>
</ul>
</li>
<li>V8 <code>12.8</code></li>
</ul>
<h2>Breaking Changes</h2>
<ul>
<li>Removed nonstandard <code>File.path</code> extension from the Web
<code>File</code> API. <a
href="https://redirect.github.com/electron/electron/pull/42053">#42053</a></li>
<li>Added the following existing navigation related APIs to
<code>webcontents.navigationHistory</code>: <code>canGoBack</code>,
<code>goBack</code>, <code>canGoForward</code>, <code>goForward</code>,
<code>canGoToOffset</code>, <code>goToOffset</code>, <code>clear</code>.
<a
href="https://redirect.github.com/electron/electron/pull/41752">#41752</a></li>
</ul>
<h2>Features</h2>
<h3>Additions</h3>
<ul>
<li>Added <code>DownloadItem.getCurrentBytesPerSecond()</code>,
<code>DownloadItem.getPercentComplete()</code>,
<code>DownloadItem.getEndTime()</code>. <a
href="https://redirect.github.com/electron/electron/pull/42913">#42913</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/42914">30</a>,
<a
href="https://redirect.github.com/electron/electron/pull/42915">31</a>)<!--
raw HTML omitted --></li>
<li>Added <code>cumulativeCPUUsage</code> to AppMetrics and CPUUsage. <a
href="https://redirect.github.com/electron/electron/pull/41819">#41819</a></li>
<li>Added a new property <code>prefersReducedTransparency</code> to
<code>nativeTheme</code>, which indicates whether the user has chosen to
reduce OS-level transparency via system accessibility settings. <a
href="https://redirect.github.com/electron/electron/pull/43024">#43024</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/43138">30</a>,
<a
href="https://redirect.github.com/electron/electron/pull/43137">31</a>)<!--
raw HTML omitted --></li>
<li>Enabled the Windows Control Overlay API on Linux. <a
href="https://redirect.github.com/electron/electron/pull/42681">#42681</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/42683">30</a>,
<a
href="https://redirect.github.com/electron/electron/pull/42682">31</a>)<!--
raw HTML omitted --></li>
<li>Expose <code>systemPreferences</code> to
<code>utilityProcess</code>. <a
href="https://redirect.github.com/electron/electron/pull/42599">#42599</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/42600">30</a>,
<a
href="https://redirect.github.com/electron/electron/pull/42598">31</a>)<!--
raw HTML omitted --></li>
</ul>
<h3>Improvements</h3>
<ul>
<li>Aligned failure pathway in File System Access API with upstream when
attempting to open a file or directory in a blocked path. <a
href="https://redirect.github.com/electron/electron/pull/42993">#42993</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/43162">30</a>,
<a
href="https://redirect.github.com/electron/electron/pull/42994">31</a>)<!--
raw HTML omitted --></li>
<li>Extended <code>WebContentsView</code> to accept pre-existing
<code>webContents</code> object. <a
href="https://redirect.github.com/electron/electron/pull/42086">#42086</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/42319">31</a>)<!--
raw HTML omitted --></li>
<li>Improved error messages when <code>ses.cookies.set</code> fails. <a
href="https://redirect.github.com/electron/electron/pull/42362">#42362</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/42399">29</a>,
<a
href="https://redirect.github.com/electron/electron/pull/42398">30</a>,
<a
href="https://redirect.github.com/electron/electron/pull/42400">31</a>)<!--
raw HTML omitted --></li>
</ul>
<h2>Fixes</h2>
<ul>
<li>Don't check for Desktop Environment in setProgressBar and
setBadgeCount. <a
href="https://redirect.github.com/electron/electron/pull/41211">#41211</a></li>
<li>Fixed an error where a minimized or hidden window would thrown an
unresponsive error in the main process. <a
href="https://redirect.github.com/electron/electron/pull/43053">#43053</a></li>
</ul>
<h3>Also in earlier versions...</h3>
<ul>
<li>BrowserWindow.show() now correctly restores focus to inactive apps
on macOS. <a
href="https://redirect.github.com/electron/electron/pull/42300">#42300</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/42306">30</a>,
<a
href="https://redirect.github.com/electron/electron/pull/42305">31</a>)<!--
raw HTML omitted --></li>
<li>Electron doesn't paint on offscreen-render mode after gpu process
crashed. <a
href="https://redirect.github.com/electron/electron/pull/41904">#41904</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/41923">29</a>,
<a
href="https://redirect.github.com/electron/electron/pull/41925">30</a>,
<a
href="https://redirect.github.com/electron/electron/pull/41924">31</a>)<!--
raw HTML omitted --></li>
<li>Fix: fixed the <code>npm run lint</code> not working on Windows. <a
href="https://redirect.github.com/electron/electron/pull/42905">#42905</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/42906">31</a>)<!--
raw HTML omitted --></li>
<li>Fixed a crash in <code>addChildView</code> if a view is added as its
own child. <a
href="https://redirect.github.com/electron/electron/pull/42067">#42067</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/42107">30</a>,
<a
href="https://redirect.github.com/electron/electron/pull/42108">31</a>)<!--
raw HTML omitted --></li>
<li>Fixed a crash that could occur in some DevTools extensions
containing draggable regions. <a
href="https://redirect.github.com/electron/electron/pull/43199">#43199</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/43200">31</a>)<!--
raw HTML omitted --></li>
<li>Fixed a crash when the same <code>WebContentsView</code> is added
via <code>addChildView</code> multiple times. <a
href="https://redirect.github.com/electron/electron/pull/42085">#42085</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/42115">30</a>,
<a
href="https://redirect.github.com/electron/electron/pull/42116">31</a>)<!--
raw HTML omitted --></li>
<li>Fixed a focus issue when calling
<code>BrowserWindow.setTopBrowserView</code>. <a
href="https://redirect.github.com/electron/electron/pull/42733">#42733</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/42735">30</a>,
<a
href="https://redirect.github.com/electron/electron/pull/42734">31</a>)<!--
raw HTML omitted --></li>
<li>Fixed a potential crash when removing notifications on Windows. <a
href="https://redirect.github.com/electron/electron/pull/43060">#43060</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/43059">30</a>,
<a
href="https://redirect.github.com/electron/electron/pull/43061">31</a>)<!--
raw HTML omitted --></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/electron/electron/blob/main/docs/breaking-changes.md">electron's
changelog</a>.</em></p>
<blockquote>
<h1>Breaking Changes</h1>
<p>Breaking changes will be documented here, and deprecation warnings
added to JS code where possible, at least <a
href="https://github.com/electron/electron/blob/main/docs/tutorial/electron-versioning.md#semver">one
major version</a> before the change is made.</p>
<h3>Types of Breaking Changes</h3>
<p>This document uses the following convention to categorize breaking
changes:</p>
<ul>
<li><strong>API Changed:</strong> An API was changed in such a way that
code that has not been updated is guaranteed to throw an exception.</li>
<li><strong>Behavior Changed:</strong> The behavior of Electron has
changed, but not in such a way that an exception will necessarily be
thrown.</li>
<li><strong>Default Changed:</strong> Code depending on the old default
may break, not necessarily throwing an exception. The old behavior can
be restored by explicitly specifying the value.</li>
<li><strong>Deprecated:</strong> An API was marked as deprecated. The
API will continue to function, but will emit a deprecation warning, and
will be removed in a future release.</li>
<li><strong>Removed:</strong> An API or feature was removed, and is no
longer supported by Electron.</li>
</ul>
<h2>Planned Breaking API Changes (33.0)</h2>
<h3>Behavior Changed: <code>webContents</code> property on
<code>login</code> on <code>app</code></h3>
<p>The <code>webContents</code> property in the <code>login</code> event
from <code>app</code> will be <code>null</code>
when the event is triggered for requests from the <a
href="https://github.com/electron/electron/blob/main/docs/api/utility-process.md">utility
process</a>
created with <code>respondToAuthRequestsFromMainProcess</code>
option.</p>
<h3>Deprecated: <code>textured</code> option in
<code>BrowserWindowConstructorOption.type</code></h3>
<p>The <code>textured</code> option of <code>type</code> in
<code>BrowserWindowConstructorOptions</code> has been deprecated with no
replacement. This option relied on the <a
href="https://developer.apple.com/documentation/appkit/nswindowstylemask/nswindowstylemasktexturedbackground"><code>NSWindowStyleMaskTexturedBackground</code></a>
style mask on macOS, which has been deprecated with no alternative.</p>
<h3>Removed: macOS 10.15 support</h3>
<p>macOS 10.15 (Catalina) is no longer supported by <a
href="https://chromium-review.googlesource.com/c/chromium/src/+/5734361">Chromium</a>.</p>
<p>Older versions of Electron will continue to run on Catalina, but
macOS 11 (Big Sur)
or later will be required to run Electron v33.0.0 and higher.</p>
<h3>Deprecated:
<code>systemPreferences.accessibilityDisplayShouldReduceTransparency</code></h3>
<p>The
<code>systemPreferences.accessibilityDisplayShouldReduceTransparency</code>
property is now deprecated in favor of the new
<code>nativeTheme.prefersReducedTransparency</code>, which provides
identical information and works cross-platform.</p>
<pre lang="js"><code>// Deprecated
const shouldReduceTransparency =
systemPreferences.accessibilityDisplayShouldReduceTransparency
<p>// Replace with:<br />
const prefersReducedTransparency =
nativeTheme.prefersReducedTransparency<br />
</code></pre></p>
<h2>Planned Breaking API Changes (32.0)</h2>
<h3>Removed: <code>File.path</code></h3>
<p>The nonstandard <code>path</code> property of the Web
<code>File</code> object was added in an early version of Electron as a
convenience method for working with native files when doing everything
in the renderer was more common. However, it represents a deviation from
the standard and poses a minor security risk as well, so beginning in
Electron 32.0 it has been removed in favor of the <a
href="https://github.com/electron/electron/blob/main/docs/api/web-utils.md#webutilsgetpathforfilefile"><code>webUtils.getPathForFile</code></a>
method.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="a577d569ec"><code>a577d56</code></a>
chore: cherry-pick 9797576 from v8 (<a
href="https://redirect.github.com/electron/electron/issues/43384">#43384</a>)</li>
<li><a
href="915c7bd9fc"><code>915c7bd</code></a>
refactor: remove unused SetWMSpecState (<a
href="https://redirect.github.com/electron/electron/issues/43364">#43364</a>)</li>
<li><a
href="3f16924182"><code>3f16924</code></a>
chore: remove unused method Erase() (<a
href="https://redirect.github.com/electron/electron/issues/43363">#43363</a>)</li>
<li><a
href="9e421e8f43"><code>9e421e8</code></a>
docs: add docs API history (<a
href="https://redirect.github.com/electron/electron/issues/43362">#43362</a>)</li>
<li><a
href="2471ebf39c"><code>2471ebf</code></a>
build: use smaller instances for gn-check (<a
href="https://redirect.github.com/electron/electron/issues/43358">#43358</a>)</li>
<li><a
href="417348130c"><code>4173481</code></a>
docs: expand dialog window to <code>BaseWindow</code> (<a
href="https://redirect.github.com/electron/electron/issues/43338">#43338</a>)</li>
<li><a
href="8c1be5ade2"><code>8c1be5a</code></a>
feat: support app#login event for utility process net requests (<a
href="https://redirect.github.com/electron/electron/issues/43317">#43317</a>)</li>
<li><a
href="7123b313cf"><code>7123b31</code></a>
feat: accept-encoding zstd (<a
href="https://redirect.github.com/electron/electron/issues/43300">#43300</a>)</li>
<li><a
href="588856ed27"><code>588856e</code></a>
chore: bump chromium to 128.0.6613.36 (32-x-y) (<a
href="https://redirect.github.com/electron/electron/issues/43328">#43328</a>)</li>
<li><a
href="0c72474bd4"><code>0c72474</code></a>
fix: blank page when printing pdf (<a
href="https://redirect.github.com/electron/electron/issues/43326">#43326</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/electron/electron/compare/v31.4.0...v32.0.1">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-08-23 10:23:51 -07:00
Red J Adaya
b9c87a0ce3
hide when Enter is pressed (#262) 2024-08-23 09:46:04 -07:00
Red J Adaya
c1684d28d1
suggestions modal (#260) 2024-08-23 00:18:49 -07:00
Red J Adaya
af3bc7d249
reduce target area for tab close btn (#261) 2024-08-23 00:15:54 -07:00
Evan Simkowitz
7c03a58b1b
don't set ready in effect 2024-08-22 19:26:22 -07:00
sawka
43138f754c fix double model creation 2024-08-22 16:25:53 -07:00
sawka
9237208e49 quick edits to help 2024-08-22 11:36:35 -07:00
sawka
9e7df9787d move widgets back to right hand side 2024-08-22 11:36:35 -07:00
Evan Simkowitz
d8f4292a38
generate task depends on wtype.go 2024-08-22 10:43:45 -07:00
Evan Simkowitz
d5140129cd
Fix block numbering and switching with arrow keys (#258) 2024-08-21 17:43:11 -07:00
Mike Sawka
dedfc31344
implement Cmd-I and restructure block viewmodels (#257) 2024-08-21 15:49:23 -07:00
Evan Simkowitz
7df91de2e5
use unauthorized instead of internalservererror for failed authkey validation 2024-08-21 15:23:15 -07:00
Evan Simkowitz
e527e2ab77
Add authkey header for requests to the backend (#256)
With this PR, Electron will generate a new authorization key that the Go
backend will look for in any incoming requests. The Electron backend
will inject this header with all requests to the backend to ensure no
additional work is required on the frontend.

This also adds a `fetchutil` abstraction that will use the Electron
`net` module when calls are made from the Electron backend to the Go
backend. When using the `node:fetch` module, Electron can't inject
headers to requests. The Electron `net` module is also faster than the
Node module.

This also breaks out platform functions in emain into their own file so
other emain modules can import them.
2024-08-21 15:04:39 -07:00
Evan Simkowitz
23261a7a98
Add flag for specifying a new node as magnified on insert (#253) 2024-08-20 20:14:14 -07:00
Evan Simkowitz
bd4bf93d4a
Update copyright indicators on a bunch of files (#255) 2024-08-20 17:01:29 -07:00
Evan Simkowitz
65d50a772a
Optimize taskfile dependencies to remove duplicate generate tasks (#254) 2024-08-20 16:48:38 -07:00