Skip to content

Opaque error in stacked bar area when there's no data to plot #3081

@philrz

Description

@philrz

Repro is with Zui commit bfbb55e.

When a user clicks the + and selects New Query Session it starts a new tab without a pool pin and hence there's no initial Zed query or results. As shown in the attached video, at this point the stacked bar chart area shows the error message No date range found with 'ts'.

Verify.mp4

As detailed in #3079, this message used to be undefined: pool not found, which was also not ideal.

Since this state came about through an innocent set of clicks in the app, it seems we should catch this case and surface something a bit clearer and phrased less like an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions