|
| 1 | +# QA Checklist — Quickwit Grafana Datasource Plugin |
| 2 | + |
| 3 | +## Plugin-owned UI areas |
| 4 | + |
| 5 | +### Config Editor (`/connections/datasources/edit/<uid>`) |
| 6 | + |
| 7 | +- [ ] **Index settings section** |
| 8 | + - [ ] Index ID field accepts input and saves |
| 9 | + - [ ] Message field name field accepts input and saves |
| 10 | + - [ ] Log level field accepts input and saves |
| 11 | +- [ ] **Editor settings section** |
| 12 | + - [ ] Default logs limit field accepts input and saves |
| 13 | +- [ ] **Data links section** |
| 14 | + - [ ] Can add a data link |
| 15 | + - [ ] Can remove a data link |
| 16 | +- [ ] **Save & test** validates connection to Quickwit and reports success/failure |
| 17 | + |
| 18 | +### Query Editor — Explore view (`/explore`) |
| 19 | + |
| 20 | +- [ ] **Query type tabs** |
| 21 | + - [ ] Metrics tab loads metric aggregation options |
| 22 | + - [ ] Logs tab loads log query options |
| 23 | + - [ ] Raw Data tab loads raw query options |
| 24 | +- [ ] **Lucene Query input** |
| 25 | + - [ ] Can type a query |
| 26 | + - [ ] Autocomplete works (Ctrl+Space) |
| 27 | + - [ ] Shift+Enter runs the query |
| 28 | +- [ ] **Logs config row** |
| 29 | + - [ ] Tail count is configurable |
| 30 | + - [ ] Sort direction is configurable |
| 31 | +- [ ] **Results** |
| 32 | + - [ ] Logs volume histogram renders with data |
| 33 | + - [ ] Log rows render in the Logs panel |
| 34 | + - [ ] Table view toggle works |
| 35 | + - [ ] "Scan for older logs" button works |
| 36 | + |
| 37 | +### Query Editor — Dashboard panels |
| 38 | + |
| 39 | +- [ ] **Metrics query type** |
| 40 | + - [ ] Date histogram aggregation works |
| 41 | + - [ ] Terms aggregation works |
| 42 | + - [ ] Metric aggregations (avg, sum, count, etc.) work |
| 43 | +- [ ] **Logs query type** renders logs in panel |
| 44 | +- [ ] **Ad-hoc filters** can be added and filter results dynamically |
| 45 | + |
| 46 | +## Not owned by the plugin (Grafana built-in) |
| 47 | + |
| 48 | +These are rendered by Grafana itself and do not need plugin-level QA: |
| 49 | + |
| 50 | +- Sidebar navigation |
| 51 | +- Time picker |
| 52 | +- Log row rendering / expansion |
| 53 | +- Chart rendering (histogram, time series) |
| 54 | +- Search bar, breadcrumbs, header |
| 55 | +- Auth section in config (Basic auth, TLS, OAuth) |
| 56 | +- HTTP section in config (URL, Allowed cookies, Timeout) |
0 commit comments