Workflow editor should not allow edits to chained workflows

Description of the feature request

I find the workflow editor confusing when chaining workflows inside a “parent” workflow. I should not be able to edit these chained workflows while looking at a parent workflow.

Today I duplicated a workflow (ParentWorkflow) which included multiple chained workflows (Child1, Child2). I was trying to slim down a build for testing and was removing steps from my newly duplicated flow. What I didn’t realize, however, is that the steps I was removing were from Child1.

If you think of a function (func1) and calling other functions (func2), I don’t see the source for func2 inside of func1… in order to change the source of func2 I need to view that source directly. Example:
Real code:

func func1() {
  // Blah blah
  func2()
  // Blah blah
}

func func2() {
  // func 2 code here
}

Bitrise workflow editor:

func func1() {
  // Blah blah
  func2()
  // func2 code here
  // Blah blah
}

If you are going to show the steps for a chained workflow, it should be more clear that you are editing a different workflow than the one you currently have selected for editing. The chained workflow should likely be read-only here, OR it needs to be more clear that you are editing a chained workflow and not the one selected. See attached image. I should not be able to edit the “setup” workflow while editing the “deploy-ios” workflow.