VolkovLabs / business-forms

The Business Forms panel is a conceptually new plugin for Grafana. It is the first plugin that allows inserting and updating application data, as well as modifying configuration directly from your Grafana dashboard.
https://docs.volkovlabs.io
Apache License 2.0
86 stars 10 forks source link

please disable initial request when dashboard load #300

Closed vaniiplon closed 12 months ago

vaniiplon commented 1 year ago

dear Mikhail Volkov, As of now we are using your plugin version 2.8.0 and it is very comfortable for us. But in that can we have one change that when dashboard reloads it should not execute initial request function or OnClick it should not perform initial request function. anything is ok. {options.reset.variant !== ButtonVariant.HIDDEN && ( <Button className={cx(styles.margin)} variant={options.reset.variant as any} icon={options.reset.icon} style={ options.reset.variant === ButtonVariant.CUSTOM ? { background: 'none', border: 'none', backgroundColor: theme.visualization.getColorByName(options.reset.backgroundColor), color: theme.visualization.getColorByName(options.reset.foregroundColor), } : {} } disabled={loading} onClick={initialRequest} ** wants to disable this functionality it should return some boolean true size={options.buttonGroup.size}

{options.reset.text}

please do the needful as it is very convenient to use this version

mikhail-vl commented 12 months ago

@vnvasireddy We added an option to disable synch with dashboard reload in the upcoming version.

You can test from the CI artifact while we are working on the new version.