Danny Joris

Results 10 comments of Danny Joris

Yeah that's where I landed as well. Though the item function doesn't get called when there's no values. Also `values` is an object so length doesn't work. So I made...

A solution if you use existing HTML instead of item templates + search is to add it in the `update` event. If you use the search filter and it doesn't...

One thing I found is that `app.webservice.tasks.get({lastres: true}, function(err, tasks) {` is _really_ slow with this amount of items.

I tried to add `forever: true` to the request call as suggested in a few places, but that didn't work either: https://github.com/pa11y/webservice-client-node/blob/master/lib/client.js#L112-L118

Digging deeper I found that getting all the results objects is what causes the slowness: `model.result.getAll({}, function(err, results) {` in `pa11y-webservice/route/tasks.js`. I did a manual query from the Mongo CLI,...

If I limit the 'from' time to 3 days instead of 30, that helps significantly! ``` model.result.getAll({ from: (new Date(Date.now() - (1000 * 60 * 60 * 24 * 3))).getTime()...

Same issue in `7.0.0-beta.20`.

No it doesn't prevent it from caching in Firefox.

@ndelangen Thanks for that! The TypeScript issue for `LinkTo` still remains it looks like. This is using `7.0.0-beta.31`: ![Screenshot 2023-01-23 at 10 49 36 AM](https://user-images.githubusercontent.com/110365/214070050-5e3d1716-c515-4079-9560-01da650681fe.png)

@ndelangen No other types defined, and importing React didn't work either. What did work is upgrading: something in beta32 or 33 fixed it: https://github.com/storybookjs/storybook/issues/20580#issuecomment-1401357368 Thanks again for all your help!...