From 357454d9720327c7df42e055298c12b5a9881612 Mon Sep 17 00:00:00 2001 From: Pablo Grass Date: Tue, 3 Mar 2020 11:19:42 +0100 Subject: [PATCH] bridge: disable value debounce for knobs in storybook So far we have no use for debounced values from knobs in storybook - we only use few knobs and the updates seem to be quite performant. We filed storybookjs/storybook#10019 [0] to check with the storybook maintainers if the behavior we witnessed is as expected. While researching we saw that work [1] was put into this area recently so maybe more fine grained controls will be possible with the next release, which we then can use if need arises. [0] https://github.com/storybookjs/storybook/issues/10019 [1] https://github.com/storybookjs/storybook/pull/9447 Change-Id: I3ea30acb60e142dff5c9fbf4fe4cda9a40d4c990 --- client/data-bridge/.storybook/preview.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/data-bridge/.storybook/preview.js b/client/data-bridge/.storybook/preview.js index e16318bf2c4..27033ad9f3d 100644 --- a/client/data-bridge/.storybook/preview.js +++ b/client/data-bridge/.storybook/preview.js @@ -21,6 +21,9 @@ addParameters( { docs: { inlineStories: true, }, + knobs: { + disableDebounce: true, + }, } ); extendVueEnvironment(