influxdata / influxdata/ui

notebooks: line numbers don't match the lines in the lsp error messages

Open
#3,416 3 comments 0 reactions 0 assignees View on GitHub
area/notebooks kind/bug severity/sev-3 team/automation team/ui team/unity
Dominant language
TypeScript
Stars
117
Forks
51
Avg merge
2d 15h
Merged PRs (30d)
4

Description

I used the query builder to build a basic query, then converted it to flux, and then intentionally introduced an error. The error message doesn't match the line numbers in the flux editor (see screen shot).

At a minimum, can we generate the flux code with one command per line, so that the line numbers are more likely to match?
![Screen Shot 2021-12-10 at 10 37 41 AM](https://user-images.githubusercontent.com/13143006/145624972-6818763b-101e-4821-b2a5-a3258b41898e.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.