Commit Graph

28 Commits

Author SHA1 Message Date
Automated Release Test 1508f0d58a Disallow resizing the config file textarea without resizing the window 2024-03-05 21:04:24 -05:00
Automated Release Test f25e9d6286 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. 2024-03-05 20:42:25 -05:00
Automated Release Test dd1744f326 adds tracing logs to save_config command, and wait for zebrad to shutdown before restarting 2024-03-05 20:03:20 -05:00
Automated Release Test d127a5c833 adds a loading state while Zebrad restarts 2024-03-05 19:48:09 -05:00
Automated Release Test 6ea46ec1b1 adds syntax highlighting for config preview with highlightjs 2024-03-05 19:40:22 -05:00
Automated Release Test 73e7385b8a Merge remote-tracking branch 'origin/main' into rm-config-form 2024-03-05 19:16:30 -05:00
Gustavo Valverde b554d659c4
feat(docker): add a Dockerfile to run `zebra-app` (#9) 2024-03-05 19:15:51 -05:00
Automated Release Test 6558f131a6 adds some textarea styles 2024-03-05 19:14:25 -05:00
Automated Release Test 3373692216 Adds button styles 2024-03-05 19:13:13 -05:00
Automated Release Test 0916149f72 Adds example data, fixes issue with updating 2024-03-05 19:03:09 -05:00
Automated Release Test 5706ef65f2 adds edit mode 2024-03-05 18:51:18 -05:00
Automated Release Test 436114ed7b adds a `read_config` command and a textarea for editing it in the UI 2024-03-05 18:41:11 -05:00
Automated Release Test afc435a4ff Sleeps for a shorter duration before emitting logs as events 2024-03-05 18:27:48 -05:00
Automated Release Test f9d5d846d0 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. 2024-03-05 18:20:45 -05:00
Automated Release Test 96ad49ada0 adds state, adds `tracing` crate, refactors spawning zebrad and reading its output 2024-03-05 18:01:16 -05:00
Automated Release Test f05eb3f39e uses a relative config path and generates a config if none exists 2024-03-05 14:52:12 -05:00
Automated Release Test d8c4a55ba1 removes config form 2024-03-05 14:13:13 -05:00
Automated Release Test eb92346edc adds mod doc, removes unnecessary copyright / license 2024-03-05 14:10:55 -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 1614da84ec
Adds more fields, not very usable yet. (#8)
Co-authored-by: Automated Release Test <release-tests-no-reply@zfnd.org>
2024-03-04 18:50:01 -05:00
Arya 88bfbfec33
Add a configuration page (#6)
* Adds empty config page and applies active styles to active tabs in nav

* adds hover style

* moves pages to a pages dir

* removes unused line (cleanup)

* Adds @modular-forms/solid pkg, and a single config option

---------

Co-authored-by: Automated Release Test <release-tests-no-reply@zfnd.org>
2024-03-04 17:22:46 -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 726beaf3ee
Add Router and move Logs page to its own file (#3)
* sets a max num log lines to avoid endlessly eating memory displaying all of Zebra's logs

* Adds router and refactors logs page into its own file, moves constants to their own file

* displays children in AppContainer instead of always showing logs, renames LogPage to Container

---------

Co-authored-by: Automated Release Test <release-tests-no-reply@zfnd.org>
2024-03-04 12:52:45 -05:00
Arya a8bb7f76c9
Adds example logs for representative in-browser view and fixes minor issues (#2)
* adds example logs for browser previews and updates styles

* adds styled nav tabs

* scrolls to bottom of logs if was at bottom before new log was added.

* checks for valid timestamp before adding colors and adds element keys to avoid unnecessary rerenders

---------

Co-authored-by: Automated Release Test <release-tests-no-reply@zfnd.org>
2024-02-29 21:17:11 -05:00
Automated Release Test 34f8987ce8 minor README.md update 2024-02-28 20:33:06 -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