Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify DataExplorer #841

Merged
merged 11 commits into from
Feb 8, 2017
Merged

Simplify DataExplorer #841

merged 11 commits into from
Feb 8, 2017

Conversation

121watts
Copy link
Contributor

@121watts 121watts commented Feb 1, 2017

  • CHANGELOG.md updated
  • Rebased/mergable
  • Tests pass
  • Sign CLA (if not already signed)

Connect #822

The problem

The idea of sessions or explorations in the DataExplorer increased app complexity greatly and provided little to no value.

Removing the concept of explorations also removes DE persistence from the server.

The Solution

Remove the concept of Explorations

Instead we will treat the DE state much like we do the TimeRange. Namely saving queries and panels in localStorage. Additionally, I added some precedence for saving UI state in a reducer. So, if a user refreshes the page, the last panel they were using will remain open

Notable areas of code

Most of this PR is the removal of code. Yay! The notable / additive parts can be located here:

https://github.com/influxdata/chronograf/pull/841/files#diff-efb9100985b5e1f2631ed1303a78e7d1R1

https://github.com/influxdata/chronograf/pull/841/files#diff-b716d6946190fdf957d34b618570e8a2R1

https://github.com/influxdata/chronograf/pull/841/files#diff-efb9100985b5e1f2631ed1303a78e7d1R1

@121watts 121watts changed the title WIP Remove concept of 'explorations' Remove concept of 'explorations' Feb 6, 2017
@121watts 121watts changed the title Remove concept of 'explorations' Simplify DataExplorer Feb 6, 2017
@121watts 121watts merged commit b84179f into master Feb 8, 2017
@121watts 121watts deleted the de-struction branch February 8, 2017 16:39
@121watts 121watts mentioned this pull request Feb 8, 2017
4 tasks
@121watts 121watts self-assigned this Feb 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants