influxdata / influxdata/influxdb

UI not trimming trailing white space of bucket names InfluxDB Cloud 2

Open
#19,399 1 comment 0 reactions 0 assignees View on GitHub
team/ui ui/design-polish
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

__Steps to reproduce:__
List the minimal actions needed to reproduce the behavior.

1. create a bucket in the UI “bucket-name ”.
2. Go directly to the Flux Script Editor, and run: `from(bucket:“bucket-name”)`
3.` failed to initialize execute state: could not find bucket "bucket-name"`

__Expected behavior:__
I expect to be able to query my bucket without the trailing whitespace

__Actual behavior:__
Whitespace wasn't trimmed.

__Environment info:__

* Chrome

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue by creating a bucket with trailing whitespace in the UI, then querying it from the Flux Script Editor as described. Trace the bucket creation and query flow to find where the name is handled; done means the created bucket can be queried without its trailing whitespace causing a lookup failure.

Written by the indexing model from the issue text.

Assessment

Domain
databases, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.