influxdata / influxdata/giraffe

Gauge Crashes when no gaugePosition is provided

Open
#738 1 comment 0 reactions 0 assignees View on GitHub
difficulty/low kind/bug team/dumplings team/ui
Dominant language
TypeScript
Stars
189
Forks
33
Avg merge
3d 15h
Merged PRs (30d)
4

Description

Messed around on a query in notebook and selected the Gauge visualization type as a default only to end up with a broken pipe. Obviously, the UI can be a bit more compliant with the API that's provided, but the API should also set a default if none is provided? Who knows. Here's the console output:

Screen Shot 2022-02-15 at 4 45 52 AM
Screen Shot 2022-02-15 at 4 46 00 AM

Contributor guide

Open the contributing guide

Research direction

Reproduce the crash by selecting the Gauge visualization in a notebook query without providing gaugePosition, then trace the Gauge visualization API and the UI path that supplies its options. Done means the same query no longer produces a broken pipe and the behavior for a missing gaugePosition is defined and covered by the relevant test.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.