Conversation
|
Levitate is-compatible report: 🔍 Resolving @grafana/data@latest... 🔬 Checking compatibility between ./src/module.ts and @grafana/data@13.0.1... 🔬 Checking compatibility between ./src/module.ts and @grafana/ui@13.0.1... 🔬 Checking compatibility between ./src/module.ts and @grafana/runtime@13.0.1... 🔬 Checking compatibility between ./src/module.ts and @grafana/schema@13.0.1... 🔬 Checking compatibility between ./src/module.ts and @grafana/e2e-selectors@13.0.1... 🔬 Checking compatibility between ./src/module.ts and @grafana/experimental@2.1.6... ✔️ ./src/module.ts appears to be compatible with @grafana/data,@grafana/ui,@grafana/runtime,@grafana/schema,@grafana/e2e-selectors,@grafana/experimental |
8bd9f1e to
a913244
Compare
e72c584 to
afcf6c1
Compare
fa09af2 to
a3f518f
Compare
Migrate eslint config to flat config format and update devDependencies to latest versions.
…p using deprecated Select (not replacing with ComboBox) in sake of support grafana 10
hjpnam
left a comment
There was a problem hiding this comment.
Left a comment to confirm my understanding. Other than the two merge conflicts, lgtm!
| let [settingErrors, setSettingErrors] = useState<{ | ||
| [setting: string]: string; | ||
| }>({}); | ||
|
|
||
| useEffect(() => { |
There was a problem hiding this comment.
This fixes a small UI bug by rendering once instead of twice every time the state changes. Do I have that right?
HDX-11379 (GRAP-160): Update dependencies & migrate to Grafana 13
Summary
grafana-plugin-sdk-goto 0.292.0, and runscreate-plugin@5.27.1+ the 004-eslint9-flat-config migration. Default dev stack now ships Grafana 13.0.1.webpack.config.tsthat extends the create-plugin config to externalizereact/jsx-runtime/react/jsx-dev-runtime(required after the upgrade).npm run build/devscripts updated to point at it.Selectwidget inQuerySettings.tsx(instead of switching toCombobox) so the plugin still runs on Grafana 10.ConfigEditor: derivesettingErrorsviauseMemoand use real state forinvalidDuration(prioruseRefdidn't re-render the invalid styling).QueryEditor: adddatasource.optionsto the interpolation debounce deps so "Show Interpolated Query" no longer hangs on a freshly-opened panel.ValidationBar: collapsevalidatingto a derived value.Tests
InterpolatedQuery,QueryEditor,QuerySettings,ValidationBar.configEditor.spec.ts, expandedqueryEditor.spec.ts.dashboardBuilder,grafanaSelect,queryEditorRow,variablePicker, pluscaptureSqls/captureRequestBodiesinhelpers.ts.🤖 Generated with Claude Code