influxdata / influxdata/ui

Dashboards: Query/QueryResult Sync Issue

Open
#1,935 5 comments 0 reactions 1 assignee Claimed by @subirjolly View on GitHub
team/automation team/ui team/unity
Dominant language
TypeScript
Stars
117
Forks
51
Avg merge
2d 15h
Merged PRs (30d)
4

Description

Before
![Before.gif](https://images.zenhubusercontent.com/5fa9843597598f467dccb2b9/a0812268-5101-4b9f-81be-ceb7ec79aa88)

After
![After.gif](https://images.zenhubusercontent.com/5fa9843597598f467dccb2b9/c3a8af4f-9eaf-4293-942a-22ece1e4222d)

The Issue:
In both the gifs, you can see that the cell isn't loading after you click on `Submit` and then the `Green Check`. The underlying issue, I think, is that there's no global query context and we have to keep/sync the states of the query in multiple places/components. The solution is to move towards having a global query object/context which keeps track on all the queries and we don't have to rely on different mechanisms to store query and their states.

@drdelambre @Asalem1 Thoughts?

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.