Skip to content

Improve performance of Input and Output tabs in Workflow Invocation View #20864

@ahmedhamidawan

Description

@ahmedhamidawan

For 25.0:

  • In graph view input collection display loads /api/dataset_collections/{id}, but we don’t need to get the detailed content, ?view=collection should be way faster (as opposed to the default ?view=element)
  • Additionally, lazy load all tabs (especially Input/Output tabs) in the invocation graph view (might already be the case with the routable tabs now, so backport this particular case).

For dev:

  • We're also loading all jobs for a step with implicit collection jobs; that will need to be paginated. - @mvdbeek
  • For the steps list in the invocation view, I've noticed that we fetch dataset/collection details for each input everytime you switch to the tab -> then fetch it again when you expand that step! Not ideal...
  • Refactor GenericItem.vue to TS and composition API; mainly to drop usage of providers
  • In fact, ^ make this a larger enhancement in that it should properly only fetch collection view for parent collections and then nicely show a loading indicator while fetching the element view when the collection is expanded.

We can adjust and some of the dev changes can also be included in the 25.0 fixes if they're not massive...

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions