chronograf icon indicating copy to clipboard operation
chronograf copied to clipboard

[beta7] A cell created on one dashboard appears in the empty cell on other dashboards

Open rkuchan opened this issue 9 years ago • 5 comments

Repro steps

Step 1: Create a dashboard

Step 2: Add a cell to that dashboard

image

Step 3: Go back to the main dashboard page

Step 4: Create a new dashboard

And see that populated cell on the new dashboard (when I enter edit mode on that cell, the explorer doesn't have the query or anything): image

More information

The same auto-population of the default cell on the new dashboard occurs if I use the dashboard switcher at the top of the screen. I tried writing that better and failed so here's a GIF:

dashboard-gif

Once I add a query to the default cell, the issue goes away.

rkuchan avatar Mar 29 '17 23:03 rkuchan

I'm seeing something similarly weird when I add more cells to a newly created dashboard - when I edit one of the cells, it updates all cells in the dashboard, but when I go back to the dashboard after it's been created, it seems normal.

My guess is that the redux store is being updated incorrectly.

imogenkinsman avatar Apr 06 '17 18:04 imogenkinsman

For the issue reported in this bug though - the loading icon is a hint. The query request that's being sent down when switching to a different dashboard is responding with a 422 (with a "query field required"), so the cell isn't updating.

imogenkinsman avatar Apr 06 '17 18:04 imogenkinsman

@rkuchan can you test this fix

nhaugo avatar Apr 06 '17 23:04 nhaugo

Still broken on @rkuchan machine

nhaugo avatar Apr 06 '17 23:04 nhaugo

My bad - all is well.

rkuchan avatar Apr 07 '17 00:04 rkuchan