Commit 9b70dca
[Streams] [Streamlang] Enable nested conditionals in the UI (elastic#232322)
## Summary
Closes elastic/streams-program#445
This PR adds support for nested conditionals (nested `where` blocks in
Streamlang DSL) to the processing UI. There have been architectural
changes to the state machines, and UI changes to match the
[Figma](https://www.figma.com/design/C4o0y9Knk4jYXjsulvbW3w/Stream-Management--Processors--Grok?node-id=6004-42432&p=f&t=QSrMxFyNLwrO2mLq-0)
designs.
## States
There are quite a lot of states within the UI, I've tried to capture the
majority of them here. Also be mindful of UX additions such as scrolling
newly added steps into view.
<details>
<summary>Screenshots</summary>
<img width="1186" height="1216" alt="Screenshot 2025-09-11 at 22 17 48"
src="https://github.com/user-attachments/assets/5ea4e45f-4398-4463-b5e5-81d8be005555"
/>
<img width="1164" height="1182" alt="Screenshot 2025-09-11 at 22 18 40"
src="https://github.com/user-attachments/assets/a5604248-926c-49ec-bd00-18cae7a8aece"
/>
<img width="1174" height="508" alt="Screenshot 2025-09-11 at 22 18 49"
src="https://github.com/user-attachments/assets/fbe19f40-761b-46fe-a2ac-6ad2a3795043"
/>
<img width="1150" height="246" alt="Screenshot 2025-09-11 at 22 19 05"
src="https://github.com/user-attachments/assets/75f80061-985e-4600-871a-abda65d2f0d0"
/>
<img width="1148" height="1062" alt="Screenshot 2025-09-11 at 22 19 43"
src="https://github.com/user-attachments/assets/78353291-809e-47a7-bb1c-76995559c38b"
/>
<img width="1176" height="664" alt="Screenshot 2025-09-11 at 22 20 10"
src="https://github.com/user-attachments/assets/a92feeac-d0b4-43a8-8e44-42f34aea3a24"
/>
<img width="1260" height="380" alt="Screenshot 2025-09-11 at 22 20 17"
src="https://github.com/user-attachments/assets/b9063711-58a0-41c1-8644-c876909734a6"
/>
<img width="1166" height="874" alt="Screenshot 2025-09-11 at 22 20 31"
src="https://github.com/user-attachments/assets/7f593938-e447-4e68-a260-3bf39ff6af8f"
/>
</details>
## On the way
- ~Existing Scout tests are still being updated (this doesn't need to
block reviews)~
- Update Scout tests to cover new features
- Copy needs review
---------
Co-authored-by: kibanamachine <[email protected]>1 parent 59af9fe commit 9b70dca
File tree
98 files changed
+3285
-1472
lines changed- oas_docs
- output
- x-pack/platform
- plugins
- private/translations/translations
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
98 files changed
+3285
-1472
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49744 | 49744 | | |
49745 | 49745 | | |
49746 | 49746 | | |
| 49747 | + | |
| 49748 | + | |
| 49749 | + | |
49747 | 49750 | | |
49748 | 49751 | | |
49749 | 49752 | | |
| |||
53079 | 53082 | | |
53080 | 53083 | | |
53081 | 53084 | | |
| 53085 | + | |
| 53086 | + | |
| 53087 | + | |
53082 | 53088 | | |
53083 | 53089 | | |
53084 | 53090 | | |
| |||
56011 | 56017 | | |
56012 | 56018 | | |
56013 | 56019 | | |
| 56020 | + | |
| 56021 | + | |
| 56022 | + | |
56014 | 56023 | | |
56015 | 56024 | | |
56016 | 56025 | | |
| |||
59042 | 59051 | | |
59043 | 59052 | | |
59044 | 59053 | | |
| 59054 | + | |
| 59055 | + | |
| 59056 | + | |
59045 | 59057 | | |
59046 | 59058 | | |
59047 | 59059 | | |
| |||
62558 | 62570 | | |
62559 | 62571 | | |
62560 | 62572 | | |
| 62573 | + | |
| 62574 | + | |
| 62575 | + | |
62561 | 62576 | | |
62562 | 62577 | | |
62563 | 62578 | | |
| |||
65748 | 65763 | | |
65749 | 65764 | | |
65750 | 65765 | | |
| 65766 | + | |
| 65767 | + | |
| 65768 | + | |
65751 | 65769 | | |
65752 | 65770 | | |
65753 | 65771 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48859 | 48859 | | |
48860 | 48860 | | |
48861 | 48861 | | |
| 48862 | + | |
| 48863 | + | |
| 48864 | + | |
48862 | 48865 | | |
48863 | 48866 | | |
48864 | 48867 | | |
| |||
52194 | 52197 | | |
52195 | 52198 | | |
52196 | 52199 | | |
| 52200 | + | |
| 52201 | + | |
| 52202 | + | |
52197 | 52203 | | |
52198 | 52204 | | |
52199 | 52205 | | |
| |||
55126 | 55132 | | |
55127 | 55133 | | |
55128 | 55134 | | |
| 55135 | + | |
| 55136 | + | |
| 55137 | + | |
55129 | 55138 | | |
55130 | 55139 | | |
55131 | 55140 | | |
| |||
58157 | 58166 | | |
58158 | 58167 | | |
58159 | 58168 | | |
| 58169 | + | |
| 58170 | + | |
| 58171 | + | |
58160 | 58172 | | |
58161 | 58173 | | |
58162 | 58174 | | |
| |||
61673 | 61685 | | |
61674 | 61686 | | |
61675 | 61687 | | |
| 61688 | + | |
| 61689 | + | |
| 61690 | + | |
61676 | 61691 | | |
61677 | 61692 | | |
61678 | 61693 | | |
| |||
64863 | 64878 | | |
64864 | 64879 | | |
64865 | 64880 | | |
| 64881 | + | |
| 64882 | + | |
| 64883 | + | |
64866 | 64884 | | |
64867 | 64885 | | |
64868 | 64886 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47397 | 47397 | | |
47398 | 47398 | | |
47399 | 47399 | | |
| 47400 | + | |
| 47401 | + | |
47400 | 47402 | | |
47401 | 47403 | | |
47402 | 47404 | | |
| |||
49130 | 49132 | | |
49131 | 49133 | | |
49132 | 49134 | | |
| 49135 | + | |
| 49136 | + | |
49133 | 49137 | | |
49134 | 49138 | | |
49135 | 49139 | | |
| |||
50661 | 50665 | | |
50662 | 50666 | | |
50663 | 50667 | | |
| 50668 | + | |
| 50669 | + | |
50664 | 50670 | | |
50665 | 50671 | | |
50666 | 50672 | | |
| |||
52244 | 52250 | | |
52245 | 52251 | | |
52246 | 52252 | | |
| 52253 | + | |
| 52254 | + | |
52247 | 52255 | | |
52248 | 52256 | | |
52249 | 52257 | | |
| |||
54113 | 54121 | | |
54114 | 54122 | | |
54115 | 54123 | | |
| 54124 | + | |
| 54125 | + | |
54116 | 54126 | | |
54117 | 54127 | | |
54118 | 54128 | | |
| |||
55759 | 55769 | | |
55760 | 55770 | | |
55761 | 55771 | | |
| 55772 | + | |
| 55773 | + | |
55762 | 55774 | | |
55763 | 55775 | | |
55764 | 55776 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53907 | 53907 | | |
53908 | 53908 | | |
53909 | 53909 | | |
| 53910 | + | |
| 53911 | + | |
53910 | 53912 | | |
53911 | 53913 | | |
53912 | 53914 | | |
| |||
55640 | 55642 | | |
55641 | 55643 | | |
55642 | 55644 | | |
| 55645 | + | |
| 55646 | + | |
55643 | 55647 | | |
55644 | 55648 | | |
55645 | 55649 | | |
| |||
57171 | 57175 | | |
57172 | 57176 | | |
57173 | 57177 | | |
| 57178 | + | |
| 57179 | + | |
57174 | 57180 | | |
57175 | 57181 | | |
57176 | 57182 | | |
| |||
58754 | 58760 | | |
58755 | 58761 | | |
58756 | 58762 | | |
| 58763 | + | |
| 58764 | + | |
58757 | 58765 | | |
58758 | 58766 | | |
58759 | 58767 | | |
| |||
60658 | 60666 | | |
60659 | 60667 | | |
60660 | 60668 | | |
| 60669 | + | |
| 60670 | + | |
60661 | 60671 | | |
60662 | 60672 | | |
60663 | 60673 | | |
| |||
62304 | 62314 | | |
62305 | 62315 | | |
62306 | 62316 | | |
| 62317 | + | |
| 62318 | + | |
62307 | 62319 | | |
62308 | 62320 | | |
62309 | 62321 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| |||
0 commit comments