microsoft / vsts-extension-multivalue-control

A work item form control which allows selection of multiple values.
MIT License
47 stars 45 forks source link

Extremely long delay to display the control #39

Closed JoseFMP closed 5 years ago

JoseFMP commented 6 years ago

The control is working. I have a reasonable amount of options, i.e. around 5 options in the control, not a million.

When I open a PBI using this control, everything displays good as usual. However, this multivalue control takes a weirdly long amount of time to display... i.e. 20 seconds.

This really ruinds the UX of this control.

This happens most of the time, i.e. 90% of the time I open a PBI. Weird enough, around 10% of the PBIs I open, have this control inmediately available. I did not find any consistent pattern on which PBIs have it available and which takes weirdly long to load.

Any ideas?

jdshkolnik commented 6 years ago

We're seeing this behavior as well.

mmanela commented 6 years ago

@mohitbagra @ostreifel Can you take a look?

mmanela commented 6 years ago

@jdshkolnik @Jose-CF Are you still seeing this issue? Has the behavior changed?

Is this on VSTS or TFS?

jdshkolnik commented 6 years ago

Still happens in TFS.

mmanela commented 6 years ago

Can you take a fiddler trace of the page when this happens and share with us? We can provide a private email to send it to. @jdshkolnik

jawn commented 6 years ago

Same today in TFS 2017 Update 1 on a page with 3 multivalue controls. Sometimes slow, sometimes showing a message that it took too long.

mmanela commented 6 years ago

What version of the control are you on?

On Wed, Mar 21, 2018, 8:48 AM Bernard Vander Beken notifications@github.com wrote:

Same today in TFS 2017 Update 1 on a page with 3 multivalue controls. Sometimes slow, sometimes showing a message that it took too long

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Microsoft/vsts-extension-multivalue-control/issues/39#issuecomment-374987600, or mute the thread https://github.com/notifications/unsubscribe-auth/AASlGsbh0aEgYiedAl_R03cib8kPm3K3ks5tgnZTgaJpZM4R43J4 .

jawn commented 6 years ago

image

jawn commented 6 years ago

@mmanela Can you say whether the likely bottleneck for this is

JoseFMP commented 6 years ago

Hello,

We are using VSTS. Over here seems the issue is fixed. i.e. the box with the options appears now quickly all the time (seems).

mmanela commented 6 years ago

@jawn There is a newer version of the multivalue control that you should update to.

jawn commented 6 years ago

Updated to 1.0.18.

Still see a slight delay from < 1 second to around a second, is this to be expected in a LAN environment between PC and TFS server? So should you ever see the 'loading' or should this be instantaneous? image

Note that we have 3 of these on 1 form.

mmanela commented 6 years ago

A slight delay is expected but the one you saw before wasn't. These extensions are sandboxed and loaded in frame after the form loads so they will not appear instantly. Ideally, once the JS is cached though, they should load quickly.

ostreifel commented 5 years ago

Closing this due to inactivity.