OpenFn / OpenFn/lightning

Input panel and data clip don't update when inspecting steps with multiple upstream

Open
#2,790 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

Image

Consider the workflow above, where four steps are merged into one step (prepare-bundle). When the workflow runs, the prepare bundle step will run four times with data from the four different upstream steps, as expected.
If a user tries to inspect one of the four-step runs, the inspect icon disappears from the other three, but if any of the 3 step runs is clicked, the log/input/output is updated to reflect that associated data/log.

This however does not happen for the input panel. Given the scenario above, when a user clicks a step run, the input panel should update to show the input data clip associated with the step run. When this happens, it would also be great to show a toast that "Input data clip updated"

https://www.loom.com/share/698ee4b6c2574eeb94a9a0d871330230?sid=45dbad54-2864-4bde-8e78-2a2ca917a0be

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the workflow with four upstream steps merged into prepare-bundle, then inspect the step runs and the input panel. The input panel should show the clip for the selected step run, and selecting another run should update it and show an "Input data clip updated" toast.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.