influxdata / giraffe

A foundation for visualizations in the InfluxDB UI
https://influxdata.github.io/giraffe/
MIT License
183 stars 33 forks source link

Handle streaming errors in giraffe #348

Open drdelambre opened 4 years ago

drdelambre commented 4 years ago

each chunk in a csv response could potentially come back as an error state, even in the middle of a bunch of successful chunks. we need to be able to return both in the fromFlux parser (the successful bits and the error messages). here was a part we put in an experimental parser that might need to be injected here, but incorrectly

https://github.com/influxdata/ui/blob/master/src/shared/utils/fromFlux.ts#L225-L233

kristinarobinson commented 3 years ago

How do we display partial correct information, but tell the user that some error has also returned? Talk to design