Commit Graph

332 Commits

Author SHA1 Message Date
dependabot[bot]
b9ab0d7eed
Bump jotai from 2.9.0 to 2.9.1 (#145)
Bumps [jotai](https://github.com/pmndrs/jotai) from 2.9.0 to 2.9.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pmndrs/jotai/releases">jotai's
releases</a>.</em></p>
<blockquote>
<h2>v2.9.1</h2>
<p>This patch version includes various fixes. Huge thanks to
contributors!</p>
<h2>What's Changed</h2>
<ul>
<li>refactor(core): follow naming convention by <a
href="https://github.com/dai-shi"><code>@​dai-shi</code></a> in <a
href="https://redirect.github.com/pmndrs/jotai/pull/2662">pmndrs/jotai#2662</a></li>
<li>refactor(core): store with Object.assign by <a
href="https://github.com/dai-shi"><code>@​dai-shi</code></a> in <a
href="https://redirect.github.com/pmndrs/jotai/pull/2663">pmndrs/jotai#2663</a></li>
<li>fix(core): atom toString includes debugLabel in dev mode by <a
href="https://github.com/dmaskasky"><code>@​dmaskasky</code></a> in <a
href="https://redirect.github.com/pmndrs/jotai/pull/2659">pmndrs/jotai#2659</a></li>
<li>fix(core): Unmount an atom that is no longer dependent within a
derived atom by <a
href="https://github.com/nogaten"><code>@​nogaten</code></a> in <a
href="https://redirect.github.com/pmndrs/jotai/pull/2660">pmndrs/jotai#2660</a></li>
<li>fix(types): add undefined initial value to Atom definition by <a
href="https://github.com/rtritto"><code>@​rtritto</code></a> in <a
href="https://redirect.github.com/pmndrs/jotai/pull/2668">pmndrs/jotai#2668</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/rtritto"><code>@​rtritto</code></a> made
their first contribution in <a
href="https://redirect.github.com/pmndrs/jotai/pull/2668">pmndrs/jotai#2668</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/pmndrs/jotai/compare/v2.9.0...v2.9.1">https://github.com/pmndrs/jotai/compare/v2.9.0...v2.9.1</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="aeeb47969f"><code>aeeb479</code></a>
2.9.1</li>
<li><a
href="61af13a19f"><code>61af13a</code></a>
chore(deps): update dev dependencies (<a
href="https://redirect.github.com/pmndrs/jotai/issues/2670">#2670</a>)</li>
<li><a
href="2fbcc4dfec"><code>2fbcc4d</code></a>
fix: add undefined initial value to primitive Atom definition (<a
href="https://redirect.github.com/pmndrs/jotai/issues/2668">#2668</a>)</li>
<li><a
href="98e23c90e3"><code>98e23c9</code></a>
fix(core): Unmount an atom that is no longer dependent within a derived
atom ...</li>
<li><a
href="27117bfaf6"><code>27117bf</code></a>
atom toString includes debugLabel in dev mode (<a
href="https://redirect.github.com/pmndrs/jotai/issues/2659">#2659</a>)</li>
<li><a
href="628aa3e806"><code>628aa3e</code></a>
chore: enable verbatimModuleSyntax in tsconfig (<a
href="https://redirect.github.com/pmndrs/jotai/issues/2664">#2664</a>)</li>
<li><a
href="debff8bee5"><code>debff8b</code></a>
refactor(core): store with Object.assign (<a
href="https://redirect.github.com/pmndrs/jotai/issues/2663">#2663</a>)</li>
<li><a
href="ba9e8fe178"><code>ba9e8fe</code></a>
refactor(core): follow naming convention (<a
href="https://redirect.github.com/pmndrs/jotai/issues/2662">#2662</a>)</li>
<li>See full diff in <a
href="https://github.com/pmndrs/jotai/compare/v2.9.0...v2.9.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=jotai&package-manager=npm_and_yarn&previous-version=2.9.0&new-version=2.9.1)](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-07-23 11:54:43 -07:00
dependabot[bot]
2cd00dae26
Bump arduino/setup-task from 1 to 2 in /.github/workflows (#139)
Bumps [arduino/setup-task](https://github.com/arduino/setup-task) from 1
to 2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/arduino/setup-task/releases">arduino/setup-task's
releases</a>.</em></p>
<blockquote>
<h2>2.0.0</h2>
<h2>Migration Guide</h2>
<p>The version of the <a
href="https://nodejs.org/en/about"><strong>Node.js</strong></a> runtime
used to execute the action has been updated from 16 to 20. This could be
a breaking change for certain GitHub Actions workflows.</p>
<p>If a workflow with dependency on the
<strong>arduino/setup-task</strong> action uses only <a
href="https://docs.github.com/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners">GitHub-hosted
GitHub Actions runners</a>, no changes are required.</p>
<p>If the workflow uses a <a
href="https://docs.github.com/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners">self-hosted
runner</a>, the workflow run might fail after updating
<strong>arduino/setup-task</strong>:</p>
<pre lang="text"><code>Error: System.ArgumentOutOfRangeException:
Specified argument was out of the range of valid values. (Parameter
''using: node20' is not supported, use 'docker', 'node12' or 'node16'
instead.')
at
GitHub.Runner.Worker.ActionManifestManager.ConvertRuns(IExecutionContext
executionContext, TemplateContext templateContext, TemplateToken
inputsToken, String fileRelativePath, MappingToken outputs)
at GitHub.Runner.Worker.ActionManifestManager.Load(IExecutionContext
executionContext, String manifestFile)
Error: Fail to load arduino/setup-task/v2/action.yml
</code></pre>
<p>This means an older runner version that does not provide Node.js 20.x
is installed on the runner machine and you must update the runner
version.</p>
<h2>Changelog</h2>
<h4>Breaking</h4>
<ul>
<li>Update Node.js runtime for action from 16 to 20 (<a
href="https://redirect.github.com/arduino/setup-task/issues/919">#919</a>)</li>
</ul>
<h4>Enhancement</h4>
<ul>
<li><a
href="https://github.com/arduino/compile-sketches/pulls?q=merged%3A2023-01-31..2024-02-05+author%3Aapp%2Fdependabot">Various
dependency updates</a></li>
</ul>
<h2>Full Changeset</h2>
<p><a
href="https://github.com/arduino/setup-task/compare/1.0.3...2.0.0">https://github.com/arduino/setup-task/compare/1.0.3...2.0.0</a></p>
<h2>Contributors</h2>
<ul>
<li><a href="https://github.com/gdraynz"><code>@​gdraynz</code></a></li>
</ul>
<h2>1.0.3</h2>
<h2>Changelog</h2>
<h4>Enhancement</h4>
<ul>
<li>Add support for all Task build architectures
(43e1bb8c37ce39c24e88b4622c2f66b6d7d9ebbd)</li>
</ul>
<h2>Full Changeset</h2>
<p><a
href="https://github.com/arduino/setup-task/compare/1.0.2...1.0.3">https://github.com/arduino/setup-task/compare/1.0.2...1.0.3</a></p>
<h2>1.0.2</h2>
<h2>Release Notes</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b91d5d2c96"><code>b91d5d2</code></a>
update readme (<a
href="https://redirect.github.com/arduino/setup-task/issues/929">#929</a>)</li>
<li><a
href="f2514b0e1c"><code>f2514b0</code></a>
Bump node from 16 to 20 (<a
href="https://redirect.github.com/arduino/setup-task/issues/919">#919</a>)</li>
<li><a
href="2007903d11"><code>2007903</code></a>
Merge pull request <a
href="https://redirect.github.com/arduino/setup-task/issues/928">#928</a>
from arduino/dependabot/npm_and_yarn/prettier-3.2.5</li>
<li><a
href="3f2ef95f2f"><code>3f2ef95</code></a>
build(deps-dev): bump prettier from 3.2.2 to 3.2.5</li>
<li><a
href="88d658bbef"><code>88d658b</code></a>
Merge pull request <a
href="https://redirect.github.com/arduino/setup-task/issues/927">#927</a>
from arduino/dependabot/npm_and_yarn/types/node-16.18.79</li>
<li><a
href="b79a1c3f82"><code>b79a1c3</code></a>
build(deps-dev): bump <code>@​types/node</code> from 16.18.78 to
16.18.79</li>
<li><a
href="5abddba872"><code>5abddba</code></a>
Merge pull request <a
href="https://redirect.github.com/arduino/setup-task/issues/926">#926</a>
from arduino/dependabot/npm_and_yarn/types/node-16.18.78</li>
<li><a
href="b3e99c0fa2"><code>b3e99c0</code></a>
build(deps-dev): bump <code>@​types/node</code> from 16.18.76 to
16.18.78</li>
<li><a
href="4145542cd7"><code>4145542</code></a>
Merge pull request <a
href="https://redirect.github.com/arduino/setup-task/issues/924">#924</a>
from arduino/dependabot/npm_and_yarn/typescript-eslin...</li>
<li><a
href="10406e6d87"><code>10406e6</code></a>
build(deps-dev): bump <code>@​typescript-eslint/parser</code> from
6.19.1 to 6.20.0</li>
<li>Additional commits viewable in <a
href="https://github.com/arduino/setup-task/compare/v1.0.0...v2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=arduino/setup-task&package-manager=github_actions&previous-version=1&new-version=2)](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-07-23 11:53:09 -07:00
Evan Simkowitz
d74e33cb54
Add config for Dependabot updates (#138) 2024-07-23 11:52:07 -07:00
Evan Simkowitz
e9df61b925
Upgrade AWS CLI on Mac runners to resolve segfault issue (#137)
The installed version of the AWS CLI is causing segfaults while
uploading binaries to S3. The latest version of the CLI does not appear
to have this problem so I am adding a script to upgrade the CLI for Mac
targets.
2024-07-23 11:41:52 -07:00
sawka
ee51f2de12 more focus fixes -- write a viewmodel for terminal 2024-07-22 17:08:28 -07:00
Evan Simkowitz
baf7961cea
Fix resize getting out of sync (#126)
This PR fixes an issue where the resize state could fall out of sync.
I've noticed that there is still some drift in other elements when the
resize changes. I am trying to figure out what is causing this, but I
don't view this as blocking since this is already a big improvement over
the previous experience
2024-07-22 17:00:31 -07:00
Evan Simkowitz
7116a42b23
Upgrade Electron, electron-updater, React, and other deps (#134)
Resolves a security issue in electron-updater, updates Electron, React,
and some other dependencies. Checked that the code still builds and
works as expected.
2024-07-22 16:59:57 -07:00
Evan Simkowitz
21e5e94db4
Remove unnecessary var declaration in WindowService (#133) 2024-07-22 16:43:18 -07:00
sawka
198ec60e69 create an explicit giveFocus() method on the viewmodel. fix preview header text 2024-07-22 16:41:27 -07:00
Evan Simkowitz
b2ee164b85
Close a window automatically when the last tab is closed (#131) 2024-07-22 16:39:45 -07:00
Evan Simkowitz
1c99e1ed4c
Switch to a larger Linux ARM runner for faster builds (#132) 2024-07-22 16:39:14 -07:00
Evan Simkowitz
0fbb42863c
Remove left indent for tab-bar for non-Mac targets and when in full screen (#128)
This adds a new global atom to track whether a window is in full screen.
It also updates the behavior of the tab bar so that it will only add an
extra left indent on macOS windows that are not in full screen.
Otherwise, the indent will be much smaller.
2024-07-22 13:33:10 -07:00
Evan Simkowitz
27266fc912
Enable Linux ARM builds (#127)
Adds support for building for Linux ARM targets using the new GitHub
Linux ARM64 runners. Adds a new menu item to toggle the visibility of
the menu bar on non-darwin targets,
2024-07-19 16:11:08 -07:00
sawka
05035b2455 close app when all windows close (except on mac) 2024-07-19 15:59:47 -07:00
Evan Simkowitz
36ff1608bb
Lighten app background and fix taskfile descriptions 2024-07-19 14:27:31 -07:00
Mike Sawka
ca0dc2624a
more well defined 'init' for global.ts (#125) 2024-07-19 13:44:32 -07:00
Evan Simkowitz
98111f7383
Round transform pixel values to avoid blurry text (#124) 2024-07-18 18:46:04 -07:00
sawka
fd3581fc42 wsh deleteblock 2024-07-18 18:14:11 -07:00
Sylvie Crowe
f0263865bd
Remote Pty Resize (#123)
fix: set SIGWINCH on remote pty blocks
2024-07-18 16:56:00 -07:00
Evan Simkowitz
c47e17903d
Add auto updater configuration (#122)
Adds a new set of configurations for managing whether the app will
automatically check for updates. Ports over the auto update code from
the old app. In this version, the main difference is that updates can be
manually checked for using a menu bar item, even if auto updates are
disabled.
2024-07-18 16:55:04 -07:00
Mike Sawka
776ccd7da0
streaming rpc support (backend streams to the frontend) (#120) 2024-07-18 15:56:04 -07:00
Evan Simkowitz
734a066af8
Fix yaml formatting (#121) 2024-07-18 15:53:20 -07:00
Sylvie Crowe
f3743f90ec
User Input (#119)
Port the User Input feature from the previous version of the app. This
is currently being used to verify a few different prompts for ssh.
2024-07-18 15:21:33 -07:00
Evan Simkowitz
01d61dabec
Clean up app package (#118) 2024-07-18 15:16:49 -07:00
Red J Adaya
2a81f19b15
code editor header controls (#117) 2024-07-17 23:41:33 -07:00
Evan Simkowitz
9792184722
Setup the Build Helper pipeline (#116)
Ports over the Build Helper pipeline from the old app. It will stage to
a new S3 bucket for now. I haven't added the auto update yet.
2024-07-17 22:39:22 -07:00
Evan Simkowitz
6bad59e58c
move electron types to dev dependency 2024-07-17 21:52:39 -07:00
Red J Adaya
d25eba12b7
fix issue where entire window is not clickable (#114) 2024-07-17 20:23:39 -07:00
Evan Simkowitz
238f4633c6
update license blurbs 2024-07-17 19:46:17 -07:00
sawka
5718bf8a7c fix uncaught exception popup 2024-07-17 19:16:09 -07:00
Evan Simkowitz
8b25b51787
fix emain imports to work with Windows 2024-07-17 18:51:31 -07:00
Evan Simkowitz
77d03fa453
sort imports 2024-07-17 18:50:38 -07:00
Evan Simkowitz
4d29dd5b5f
Rename endpoint functions 2024-07-17 18:49:27 -07:00
Evan Simkowitz
8971e2feba
Set up electron-builder for new app (#113)
Adds electron-builder, which we will use to package and distribute our
application, same as in the existing app.
Replaces explicit port assignments with dynamic ones, which are then
stored into environment variables.
Adds a ~/.w2-dev folder for use when running a dev build.

The build-helper pipeline from the old repo is included here too, but it
is not updated yet so it will fail.

Also removes some redundant utility functions and cleans up some let vs.
const usage.

The packaging can be run using the `package:prod` and `package:dev`
tasks.

---------

Co-authored-by: sawka <mike.sawka@gmail.com>
2024-07-17 18:42:49 -07:00
sawka
e4204b96d8 remove dirnav, small formatting changes 2024-07-17 16:11:16 -07:00
sawka
dfa0245606 consolidate theme colors 2024-07-17 16:01:11 -07:00
Mike Sawka
01b5d71709
new wshrpc mechanism (#112)
lots of changes. new wshrpc implementation. unify websocket, web,
blockcontroller, domain sockets, and terminal inputs to all use the new
rpc system.

lots of moving files around to deal with circular dependencies

use new wshrpc as a client in wsh cmd
2024-07-17 15:24:43 -07:00
Sylvie Crowe
b178434c0a
Directory Formatting (#109)
Mostly small style changes so far.
- allow scrolling the table horizontally
- minimum sizes on columns
- datetime format changes
- left/right justify on some columns
2024-07-16 13:24:04 -07:00
Sylvie Crowe
3385608b4a
SSH Port (#111)
This enables basic ssh for connections using publickey auth without a
passphrase. It can be established by creating a widget with the "meta"
property set to
```
{
    "connection": "<user>@<host>:<port>"
}
```
where the :<port> is optional.

---------

Co-authored-by: sawka <mike.sawka@gmail.com>
2024-07-15 18:00:10 -07:00
Red J Adaya
e140076801
webview controls (#110) 2024-07-15 09:40:28 -07:00
Jarek Ceborski
e012cc16e6 Added window transparency ans styles 2024-07-12 21:12:34 +02:00
Red J Adaya
7bd0b743f4
dynamic csvview height (#101) 2024-07-10 15:06:19 -07:00
Sylvia Crowe
13f68c0cb8 fix: remove x overflow on directory view
The header wasn't moving along with the rows when they were scrolled, so
the scroll bar has been removed.
2024-07-10 02:36:41 -07:00
Sylvie Crowe
cb77c2047e
More Directory Formatting (#108)
This makes the following changes
- allow directory rows to overflow their container on resize (allowing
scroll as a temporary test)
- fix directory width to account for resizer width
- add ellipsis to name column on table resize
- add the rightmost resizer back (more as a temporary test)
- do not search when the filtered contents are empty
- cap the index to the end of the list of the number of entries becomes
less than the current index
- do not redo backend call on filter or search of directory results
- add letter spacing on header row
2024-07-10 02:21:29 -07:00
Red J Adaya
ff8fe94b1c
use flexbox for responsive waveai (#107) 2024-07-09 18:15:37 -07:00
sawka
be392ee755 start unix domain socket server. fix a couple small bugs 2024-07-09 14:31:16 -07:00
sawka
fa3a670603 split web server into a listen and serve call 2024-07-09 13:47:39 -07:00
sawka
f3b649aef1 optional 2nd arg to wsh getmeta to get a specific metadata key 2024-07-09 11:50:52 -07:00
sawka
edf4c45a6d remove height calculation (flex seems to work), also synchronize meta.url with the real url 2024-07-09 11:42:24 -07:00
Mike Sawka
4be8a1e37e
move codeedit to directory. new useLongClick hook. show quick navig… (#105)
move codeedit to directory. new useLongClick hook. show quick navigation for directoryview on longclick of folder icon. lots more generic
stuff for header
new fitaddon for xtermjs
more fixes for xtermjs scrollbars
2024-07-08 23:13:12 -07:00