Commit e29ca5e
committed
[Exploratory View] Hide Lens warning badges on embeddables by default (#285305)
- Hide Lens visualization warning badges **by default** on Exploratory
View embeddables
- Every consumer (Synthetics, APM, Uptime, etc.) gets the same behavior
— no per-app wrap
- Callers can still pass `onBeforeBadgesRender` to keep or remap badges
Those yellow warning+count badges are Lens inspector warnings (usually
incomplete ES/CCS results). They sit on compact KPI/sparkline widgets
where users cannot act on them.
The full Exploratory View editor is unchanged, so warnings still show
when building a chart.
| Before | After |
| --- | --- |
| Yellow warning badges overlap the Errors / Alerts KPI widgets | Badges
hidden; metric and sparkline unchanged |
|

|

|
- [ ] Synthetics overview Errors / Alerts widgets no longer show the
yellow warning badge
- [ ] Other Exploratory View embeddables (monitor details, APM KPIs)
also hide the badge
- [ ] Metric value and sparkline still render
- [ ] A real Lens failure still replaces the chart (blocking error)
- [ ] Open in Lens and other panel actions still work
- [ ] Exploratory View app editor still shows Lens warnings when editing
a visualization
(cherry picked from commit 3d466b2)1 parent 77fb069 commit e29ca5e
2 files changed
Lines changed: 31 additions & 1 deletion
File tree
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
174 | 198 | | |
175 | 199 | | |
176 | 200 | | |
| |||
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
| 50 | + | |
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
| |||
92 | 96 | | |
93 | 97 | | |
94 | 98 | | |
| 99 | + | |
95 | 100 | | |
96 | 101 | | |
97 | 102 | | |
| |||
213 | 218 | | |
214 | 219 | | |
215 | 220 | | |
| 221 | + | |
216 | 222 | | |
217 | 223 | | |
218 | 224 | | |
| |||
0 commit comments