Christian Paul
9144aa1fcc
wmill.getInternalState() needs to be awaited ( #646 )
2022-09-30 05:44:51 +02:00
Ruben Fiszel
8fe84e0222
fix(frontend): various small fixes
2022-09-30 05:40:29 +02:00
Ruben Fiszel
d57c74806e
fix(frontend): various small fixes
2022-09-30 05:23:30 +02:00
Christian Paul
ebc0c8aea0
see result -> see the result ( #643 )
2022-09-30 00:05:41 +02:00
Ruben Fiszel
420360617c
fix(frontend): various small fixes
2022-09-29 22:50:18 +02:00
Christian Paul
3d3e868988
No logs is available -> No logs are available ( #642 )
2022-09-29 19:58:43 +02:00
Mike
f89e3d6e14
feat: add iterator expression tooltip ( #638 )
2022-09-29 14:51:41 +02:00
Ruben Fiszel
b22fc2d0f8
fix: change string default input behavior for input arg
2022-09-28 19:52:31 +02:00
Faton Ramadani
50a876e496
feat(front): Rework how summaries are edited in the flow editor ( #632 )
...
* feat(front): Rework how summaries are edited in the flow editor
* feat(front): add IconOnly mode, to better handle responsivness
* feat(front): Fix FlowModule summary input width
* feat(front): simplify summary placeholder
* feat(front): Fix minimap resizing issues + fix minimap delete
2022-09-28 19:31:24 +02:00
Ruben Fiszel
846837ce65
simplify script editor code bindings
2022-09-28 19:16:05 +02:00
Faton Ramadani
08c88c91e2
feat(front): Add a confirmation modal ( #634 )
...
* feat(front): Add a confirmation modal
* feat(front): Simplify styles
* feat(front): Remove code duplication
* feat(front): Add shortcut + add Alert component
2022-09-28 16:30:54 +02:00
Ruben Fiszel
5c91a36d92
hotfix uses index url arg
2022-09-28 10:13:42 +02:00
Faton Ramadani
ffa2498477
fix(front): Fix wording issues ( #633 )
...
* fix(front): Fix wording issues
2022-09-28 07:26:18 +00:00
Ruben Fiszel
fd5921dc30
hotfix trusted host for pip-compile
2022-09-28 09:17:08 +02:00
Ruben Fiszel
7fd76265f7
feat: add private registries pip ( #636 )
...
* add private registries pip
* add private registries pip
* fix
* fix
* fix
* echo parameters
2022-09-28 08:47:43 +02:00
Ruben Fiszel
5f4b59075f
fix(frontend): workers as the last menu link
2022-09-27 22:52:02 +02:00
Faton Ramadani
893a6908aa
fix(frontend): Hide the editor panel when we are editing a PathScript ( #631 )
...
* fix(frontend): Hide the editor panel when we are editing a PathScript
* feat(front): Remove viewCode action and display the code in the Editor panel
2022-09-27 17:52:02 +02:00
Faton Ramadani
ef25f7e879
feat(frontend): Landing rework ( #630 )
...
* feat(frontend): Use common components on the landing pae
* feat(frontend): Use shared icon
2022-09-27 13:57:08 +02:00
Faton Ramadani
3d162b7bae
feat(frontend): Add contextual actions to insert variables or resources ( #629 )
...
* feat(frontend): Add actions to Monaco editor
* feat(frontend): Remove useless icon
* feat(front): Move addActions to editorBar
2022-09-27 13:55:46 +02:00
Ruben Fiszel
cbfb85a84f
fix: prop picker values correspond to test values ( #628 )
...
* progress
* progress
2022-09-27 03:29:32 +02:00
Faton Ramadani
9562d91458
fix(frontend): Fix buttons spacings ( #627 )
2022-09-26 19:23:39 +02:00
Faton Ramadani
5e2f23c66f
feat(frontend): Add support for failure modules ( #612 )
...
* feature(frontend): Failure module
* feature(frontend): Fix wording + Remove advanced tab for failure modules + fix failure module test
* feature(frontend): Fix wording + add toggle in the mini map + stick component at the bottom
* feat(frontend): Add summary to failure module
* feat(frontend): Add support for Failure module in the FlowModuleViewer
* feat(frontend): Add support for FailureModule in the status viewer
* feat(frontend): Fix building issues
2022-09-26 18:36:15 +02:00
Ádám Kovács
dc2bbca269
feat(frontend): Script page action row ( #626 )
...
* feat(frontend): Update button component styles
* feat(frontend): Use button component
* fix(frontend): Re-export button types
* feat(frontend): Use action row in script page
* fix(frontend): Center the action row
* fix(frontend): Revert to previous event forwarding
* feature(frontend): Add action row to flow page
* fix(frontend): Restore button red color
2022-09-26 17:18:17 +02:00
Ruben Fiszel
8e40c79557
fix logspanel for flow viewer
2022-09-26 04:59:35 +02:00
Ruben Fiszel
dc57402be9
buildcache not on ghcr
2022-09-26 04:19:31 +02:00
Ruben Fiszel
6345a435d7
try catch around monaco services
2022-09-26 04:14:21 +02:00
Ruben Fiszel
a3d3e93a29
try catch around monaco services
2022-09-26 04:02:27 +02:00
Ruben Fiszel
8119025381
initialize flow store correctly
2022-09-26 03:53:11 +02:00
Ruben Fiszel
a4f31bbdd6
do not restart flow as zombie job
2022-09-26 00:45:26 +02:00
Ruben Fiszel
639613bae5
fix runform
2022-09-25 18:11:00 +02:00
Ruben Fiszel
04ab59f928
refactor logs panel everywhere applicable ( #625 )
...
* init
* init
* progress
* progress
* refactor logs entirely
* fix sqlx
2022-09-25 18:03:51 +02:00
Ruben Fiszel
772195baed
fix cancel job
2022-09-25 17:49:11 +02:00
Ruben Fiszel
4bdeb1b294
fix cancel job
2022-09-25 17:13:03 +02:00
Ruben Fiszel
f1fdb4e0b9
fix cancel job
2022-09-25 16:36:32 +02:00
sqwishy
c3ce89ec5f
reorganize handle_child ( #606 )
...
* reorganize handle_child
There were a couple issues with the current implementation:
1. When reading stdout and stderr from the child, as soon as we hit EOF
on one we would stop reading from both (line 1420). This could lead
to the return value not being read from the job program.
2. Lines read from stdout and stderr are put into a channel and read
elsewhere with `rx.recv()` (line 1497) but that channel isn't read
until empty. It is only read in the `while !done.load(...)` (line
1449) loop and that loop can stop after any `.store(true, ...)`.
Which happens when the child exits, when the job is cancelled, when
either stdout or stderr reach EOF...
This can be verified by putting `dbg!(rx.recv().await)` or a similar
assertion after the while loop before returning from that function.
It shows the channel still containing log lines on rare occasions.
I was pretty careful in this to maintain the current behaviour; adding
comments to express intention.
One difference in this is that some regular intervals (cancel check and
ping update) should be more regular?
Before...
> at 00ms wait for 10ms
> at 10ms do things for 3ms
> at 13ms wait again for *10ms*
> at 23ms do things again ...
With change...
> at 00ms wait for 10ms
> at 10ms do things for 3ms
> at 13ms wait again but for *7ms*
> at 20ms do things again ...
Which I'm guessing is preferable but I could be wrong.
* renames; interpolate values in log messages
* do `append_logs()` in tokio::task
* tokio::time::interval & close pipe after limit
* clean up comments
2022-09-24 22:55:52 +02:00
sqwishy
e81b53b3ef
update cron v0.12.0 ( #623 )
2022-09-24 21:18:36 +02:00
Ruben Fiszel
5c430dee8c
feat(frontend): merge logs and result tab in script editor ( #622 )
2022-09-23 16:20:47 +02:00
Ruben Fiszel
9430f3a5df
fix(frontend): loading flows with for loops + flowStatusViewer treat single jobs properly
2022-09-23 13:28:02 +02:00
Faton Ramadani
78bab01226
feat(frontend): Extract publish to hub button ( #620 )
...
* feature(frontend): Extract publish to hub button
* feat(frontend): Extract Publish to hub button
2022-09-23 12:23:37 +02:00
Faton Ramadani
a7fcf18f20
feat(frontend): Add a split panel in the test tab ( #619 )
2022-09-23 12:11:05 +02:00
Ádám Kovács
f8b62f6e9f
feat(frontend): Badge component and script page ( #617 )
...
* fix(frontend): Consistent tooltip font size
* feature(frontend): Add new badge component
* feature(frontend): Add color type to badge
* feature(frontend): Add copy to clipboard utility
* feature(frontend): Update common badge component
* feature(frontend): Update badge to handle icons
* feature(frontend): Update script page design
* feat(frontend): Add capitalize option to badges
* fix(frontend): Fix shared badge text display
2022-09-23 12:10:15 +02:00
Faton Ramadani
7d070b5a10
feature(frontend): Button component ( #616 )
...
* feature(frontend): Button component
* feature(frontend): Ajust style
2022-09-22 13:25:17 +02:00
sqwishy
45d0760ab9
remove delay between spawning each worker ( #614 )
2022-09-21 21:05:19 -07:00
Ruben Fiszel
a0a4de062c
fix flow UX and flowStateStore ( #610 )
...
* fix everything
* fix(frontend): Restore module deletion + restore for loop settings
* fix(frontend): Add missing focus on number inputs
* fix(frontend): Add key wrapper to make sure the editor content is reloaded
* fix(frontend): Fix mini-map spacing + add icon to schedule and retry buttons
Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com >
2022-09-21 11:37:33 +02:00
Ruben Fiszel
28b6eaf33f
improve preview results v1
2022-09-21 02:48:30 +02:00
Ruben Fiszel
956bf10be1
fix connect button
2022-09-21 02:00:30 +02:00
Ruben Fiszel
f0d32fbb5a
fix Advanced flow module buttons
2022-09-21 01:38:16 +02:00
Ruben Fiszel
29bad8ee49
fix focusProp
2022-09-21 00:55:50 +02:00
dependabot[bot]
84267eee0b
chore(deps): bump anyhow from 1.0.64 to 1.0.65 in /backend ( #600 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.64 to 1.0.65.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.64...1.0.65 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-20 22:06:10 +00:00
dependabot[bot]
8e09502031
chore(deps): bump thiserror from 1.0.34 to 1.0.35 in /backend ( #604 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.34 to 1.0.35.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.34...1.0.35 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-20 22:03:02 +00:00