Commit Graph

12 Commits

Author SHA1 Message Date
Automated Release Test df420c16ed updates crate description & fix btn styles 2024-03-11 22:27:44 -04:00
Arya 9b3570c741
pass 'CREATE_NO_WINDOW' flag to child process on windows (#14)
Co-authored-by: Automated Release Test <release-tests-no-reply@zfnd.org>
2024-03-07 19:27:04 -05:00
Automated Release Test ec44d1bd2e updates version, window title, product name, and windows zebrad binary filename 2024-03-06 21:28:29 -05:00
Arya a04ee3beae
Update tauri.conf.json 2024-03-06 21:10:36 -05:00
Arya 69bb49f3cb
adds a zebrad.exe file in binaries (#12)
Co-authored-by: Automated Release Test <release-tests-no-reply@zfnd.org>
2024-03-06 20:52:01 -05:00
Arya 72851bc5f0
adds a shutdown sender for the log reader task (#11)
Co-authored-by: Automated Release Test <release-tests-no-reply@zfnd.org>
2024-03-06 19:28:38 -05:00
Arya 49d8eb2bac
Adds config updates and preserves logs when routing (#10)
* adds mod doc, removes unnecessary copyright / license

* removes config form

* uses a relative config path and generates a config if none exists

* adds state, adds `tracing` crate, refactors spawning zebrad and reading its output

* updates `save_config` command to kill the zebrad child process, (which will cause the output reader task to exit as well), read the existing config, overwrite it with the new config, start the zebrad process, and start a new task for reading its output.

* Sleeps for a shorter duration before emitting logs as events

* adds a `read_config` command and a textarea for editing it in the UI

* adds edit mode

* Adds example data, fixes issue with updating

* Adds button styles

* adds some textarea styles

* adds syntax highlighting for config preview with highlightjs

* adds a loading state while Zebrad restarts

* adds tracing logs to save_config command, and wait for zebrad to shutdown before restarting

* moves log state up to App so it persists across route changes, moves wait during setup for webview to start to the async runtime so it doesn't block the setup fn from starting the webview.

* Disallow resizing the config file textarea without resizing the window

---------

Co-authored-by: Automated Release Test <release-tests-no-reply@zfnd.org>
2024-03-05 21:07:04 -05:00
dependabot[bot] 1ab2a74e4d
Bump mio from 0.8.10 to 0.8.11 in /src-tauri (#7)
Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.10 to 0.8.11.
- [Release notes](https://github.com/tokio-rs/mio/releases)
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/mio/compare/v0.8.10...v0.8.11)

---
updated-dependencies:
- dependency-name: mio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 18:50:17 -05:00
Arya 717e0d0940
Uses the relative path to the command, adds licenses, adds copyright notice (#5)
Co-authored-by: Automated Release Test <release-tests-no-reply@zfnd.org>
2024-03-04 14:23:07 -05:00
Arya fd589615ef
adds zebrad as a bundled external binary (#4)
Co-authored-by: Automated Release Test <release-tests-no-reply@zfnd.org>
2024-03-04 14:04:01 -05:00
Arya 30e614c618
Use Tauri v2-beta and SolidJS (#1)
* cargo create-tauri-app --beta

* adds generated files from yarn && yarn tauri dev, adds public dir resolve alias

* fixes a ts warning that an svg file can't be found

* starts zebrad process and emits its logs as events

* works

* Adds setup instructions

* removes extensions.json

* adds styled-components and styles

---------

Co-authored-by: Automated Release Test <release-tests-no-reply@zfnd.org>
2024-02-28 20:31:59 -05:00
Automated Release Test b002477780 init 2024-02-27 21:05:37 -05:00