influxdata / influxdata/influxdb

Don't refetch tags on time range modification

Open
#15,913 3 comments 0 reactions 0 assignees View on GitHub
team/ui
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

![fetch-tag-keys-on-time-range-update](https://user-images.githubusercontent.com/1477539/68876759-f87c0e80-06d2-11ea-8bdc-87fabdef389f.gif)

Currently, each time we modify the query time range, we make another call to populate the list of measurements and tags. This is a weird UX.

We should pick a reasonable default time range (`1w`?). If the user picks a range that exceeds 1w, then we can make another call to update the list.

Contributor guide

Open the contributing guide

Research direction

No file or test is named in the issue. Start at the query UI path that populates measurements and tags, reproduce a time-range change, and verify that ranges within 1w do not refetch while longer ranges do.

Written by the indexing model from the issue text.

Assessment

Tech stack
react
Domain
databases, frontend
Issue type
Feature
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.