grafana/public/app/plugins
Alex Godbehere e17928c194
InfluxDB: Add delete buttons to measurement, part and tag in query editor (#72825)
* InfluxDB/QueryEditor: Add delete buttons to measurement, part and tag sections

The diff provides an additional "delete" button to measurement section, part list section and tags section in the influxdb datasource editor. This improves user experience by allowing users to delete measurements, parts and tags directly from the user interface. The commit also slightly refactors the options generation for these sections, removing the "-- remove filter --" option as it becomes redundant with the new delete button.

* InfluxDB/QueryEditor: Replace Button with AccessoryButton

Changed the Button components to AccessoryButton from the '@grafana/experimental' package, used for the delete functionality in data source components for influxdb query editor. The AccessoryButton is more visually consistent with our current Grafana UI aesthetic and provides better user experience. The change was implemented in FromSection.tsx, PartListSection.tsx, and TagsSection.tsx files.

* Update public/app/plugins/datasource/influxdb/components/editor/query/influxql/visual/FromSection.tsx

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>

* Update public/app/plugins/datasource/influxdb/components/editor/query/influxql/visual/PartListSection.tsx

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>

---------

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
2023-08-24 17:19:01 +02:00
..
datasource InfluxDB: Add delete buttons to measurement, part and tag in query editor (#72825) 2023-08-24 17:19:01 +02:00
panel Gauge: Add overflow scrolling support for vertical and horizontal orientations (#71690) 2023-08-23 03:08:11 +03:00
gen.go Kindsys: update generated doc and add check in CI (#71871) 2023-07-20 11:48:12 +02:00
sdk.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00