influxdata / influxdata/influxdb

Store all the data that's contained within an `Axis` as flat properties on the view.

Open
#14,560 2 comments 0 reactions 0 assignees View on GitHub
kind/tech-debt team/ui
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

This applies to checks and XY views

Can we store all the data that's contained within an `Axis` as flat properties on the view instead? Kinda like the scatter view does. The `Axis` feels like a model that we've dragged with us since the Chronograf 1.x + dygraphs days that ideally wouldn't exist any more.

_Originally posted by @chnn in https://github.com/influxdata/influxdb/pull/14550_

Contributor guide

Open the contributing guide

Research direction

Start by locating the Axis data used by checks and XY views, then compare it with how the scatter view stores equivalent data. Done means the Axis model is no longer needed and its data is represented as flat properties on each affected view.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.