Commit Graph

5 Commits

Author SHA1 Message Date
Automated Release Test ae263c8e9f updates versions 2024-03-11 23:27:48 -04: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 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 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