grafana/public/app
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
..
angular Chore: some more type fixes (#73606) 2023-08-23 10:11:59 +01:00
core Drawer: Clicking a Select arrow within a Drawer no longer causes it to close (#73557) 2023-08-22 16:11:18 +01:00
features Alerting: Fix secure settings migration (#73749) 2023-08-24 14:46:19 +01:00
partials Chore: Migrates remaining Angular modals to React (#33476) 2021-04-28 15:22:28 +02:00
plugins InfluxDB: Add delete buttons to measurement, part and tag in query editor (#72825) 2023-08-24 17:19:01 +02:00
routes Admin: Add redirect notice for datasources to admin landing page (#72736) 2023-08-04 07:45:09 +02:00
store Feat: Feature toggle admin page frontend interface (#72164) 2023-08-03 14:17:00 -04:00
types Alerting: Improve tests setup (#73316) 2023-08-22 13:50:41 +02:00
app.ts Chore: type fixes (#72604) 2023-08-01 12:56:21 +01:00
AppWrapper.tsx React Router: start migrating to v6 (#66921) 2023-04-27 07:18:38 +02:00
dev.ts Chore: Make "why-did-you-render" a dynamic import (#53121) 2022-08-08 15:33:49 +01:00
index.ts Feature: Trusted Types support (#64975) 2023-04-27 18:20:37 +02:00