LogicAppsUX icon indicating copy to clipboard operation
LogicAppsUX copied to clipboard

Collapse Scope Nodes on Load

Open Eric-B-Wu opened this issue 1 year ago • 11 comments

Describe the Bug with repro steps

  1. Have a large logic app with multiple nested scopes
  2. Open run history
  3. Note that all scopes are expanded. Users are reporting that there is a large initial load time, sometimes to a point where the page can become unresponsive
  4. This issue is not apparent in Old Designer

What type of Logic App Is this happening in?

Consumption (Portal)

Are you using new designer or old designer

New Designer

Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg

Yes

Workflow JSON

No response

Screenshots or Videos

No response

Browser

All

Additional context

I had a call with a customer where the new designer has become unusable, as it has a long initial load time. I noticed a lot of it was due to loading of nested actions, and especially when loading inputs/outputs of those nested actions there was a significant delay. Creating this incident to collapse scope nodes as done in old designer for larger workflows or to investigate better ways of addressing this issue

Eric-B-Wu avatar Jun 18 '24 09:06 Eric-B-Wu

I know @rllyy97 looked into doing this as well as part of hte consumption readiness work. I think there were some problems with delaying the load of the nested components in redux even if they were collapsed. I do agree though that if we could find a way to delay that or reduce that, it would be a big win.

hartra344 avatar Jun 18 '24 17:06 hartra344

What Travis said is correct. However, even if we do still do the background initialization, hiding some nodes in the renderer might speed things up a bit, it's worth looking into.

rllyy97 avatar Jul 16 '24 20:07 rllyy97

May I know the ETA for resolving this issue? The legacy designer will be retired in September 2024, will this issue be fixed before then?

EnochZZ717 avatar Jul 22 '24 06:07 EnochZZ717

I am expecting to look into the perf benefits of a feature like this before we retire legacy designer. I will give updates here as I have them.

rllyy97 avatar Jul 26 '24 18:07 rllyy97

Hi Team, any update for this. Since the Legacy Designer will retire in 2 weeks, will the issue be resolved before then?

EnochZZ717 avatar Aug 13 '24 06:08 EnochZZ717

Hi @EnochZZ717, recently I worked on a lot of performance improvements and one of them was that nodes offscreen will not be rendered, which overlaps with the perf benefits we would get from this feature. That change will be live with our next release, and I don't think we'll be spending resources towards this issue (for perf reasons) now that we have that alternative fix.

rllyy97 avatar Aug 13 '24 14:08 rllyy97

Hi @rllyy97 , thanks for the update, could you let me know when the next release is scheduled?

EnochZZ717 avatar Aug 16 '24 03:08 EnochZZ717

This we would expect to see to all regions by 8/20

Eric-B-Wu avatar Aug 16 '24 04:08 Eric-B-Wu

@rllyy97 you had said the ETA for this to be 8/20- is that accurate or has that changed?

kisubedi avatar Sep 16 '24 20:09 kisubedi

@kisubedi The performance improvements went live around 8/20. The collapsing of scope nodes on load was not implemented yet, and it's currently not being worked on

rllyy97 avatar Sep 16 '24 20:09 rllyy97

@rllyy97 Is it planned ? If so, can you share tentative ETA please ?

kisubedi avatar Sep 17 '24 00:09 kisubedi