You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Type ahead does not work properly in Add package window #60
When I use the Add package window, if I am fast and know the package name, I can type it in and see the right results. However, if I type slower, the throttle period is very little, so the list shows packages that match, say, first two letters. The problem is that any further input does not cause the list to refresh. Also, I can remove all text in the search box and enter something else, the list stays the same. The progress indicator is always on, never stops.
I think this might be a problem upstream with the call into Paket.Core. Even though I added the OnComplete call, it still never seems to get the OnCompleted signal and the ReactiveCommand never properly "finishes". So this should be a good place to start looking.
Thank you guys for the clues. It seems that it's a problem with Paket.Utils.ObservableExtensions.flatten that never called obs.OnComplete. I'll send a PR to Paket core to fix that.
Activity
forki commentedon Jun 14, 2015
I mark this up-for-grabs since I think it would be a nice start for people to join the project.
TheAngryByrd commentedon Jun 14, 2015
I think this might be a problem upstream with the call into Paket.Core. Even though I added the OnComplete call, it still never seems to get the OnCompleted signal and the ReactiveCommand never properly "finishes". So this should be a good place to start looking.
alexeyzimarev commentedon Jun 14, 2015
First, we can increase the throttle to 500 ms instead of 250. Plus, add at least three characters condition in Where.
alexeyzimarev commentedon Jun 14, 2015
I am not an expert in ReactiveUI but I would have used CreateAsyncTask instead of CreateAsyncObservable.
ForNeVeR commentedon Dec 26, 2015
Thank you guys for the clues. It seems that it's a problem with
Paket.Utils.ObservableExtensions.flattenthat never calledobs.OnComplete. I'll send a PR to Paket core to fix that.Type ahead did not work properly in Add package window - fixes #60