influxdata / influxdata/ui

Flux formatter not working in data explorer

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

Description

## About the bug

**Steps to reproduce:**

1. Write a flux script in the data explorer
2. Mangle the formatting
3. Attempt to run the flux formatter (either through `Right Click -> Format Document` or through keyboard shortcut `Ctrl+Shift+I`)
4. Weep

**Expected behavior:**

The flux formatter runs in the code editor and makes the flux script look pretty and readable.

**Actual behavior:**

Nothing happens

**Visual Proof:**

https://user-images.githubusercontent.com/18431450/163843324-05614a85-54ad-409a-a4e6-d21d74d266f6.mov

## About your environment

**Environment info:**
Cloud 2
`us-central1-1`
Provider: gcp

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.