mirror of
https://github.com/discourse/discourse.git
synced 2026-08-14 13:58:53 +08:00
Previously, workflow input previews depended on input data recorded by the selected/current node. That works after the node has successfully run, but it breaks while configuring downstream nodes that have not captured usable input yet: the connected upstream node can already have successful output while the current node has no run, or only a skipped run. In that state the context panel and expression preview fell back to an empty `$json`, so fields from the actual connected input were hidden. This change uses recorded input from the current node when available, and otherwise derives preview input from the connected upstream output. |
||
|---|---|---|
| .. | ||
| controllers/discourse_workflows | ||
| jobs | ||
| models/discourse_workflows | ||
| serializers/discourse_workflows | ||
| services/discourse_workflows | ||