Commit fe34d3f
fix(explore): Avoid loading state for disabled attribute queries
Only report attribute loading while a query is actively fetching so
disabled queries do not stay stuck in a pending spinner state.
Add a regression test for the TanStack Query v5 disabled-query case.
Co-Authored-By: GPT-5.4 <noreply@openai.com>
Made-with: Cursor1 parent 13bbc3f commit fe34d3f
2 files changed
Lines changed: 16 additions & 1 deletion
File tree
- static/app/views/explore/hooks
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
355 | 370 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments