Commit Graph

11575 Commits (8ecdb7a1b16b11100815155b370b0c179971fec7)

Author SHA1 Message Date
Alex Paxton 8ecdb7a1b1
Restyle React Grid & Associated Interactions (#4391)
* WIP

* Use divs instead of background image URI

* Make cell resizer prettier

* Only show cell resizer on cell hover

* Make linter happy

* Redesign layout cell to adapt to single stat coloration and have spicy new aesthetic

* Guard against cellBackgroundColor getting set to null

* Add error boundary to cell header

* Polish

* Make custom time indicator more legible

* Update changelog

* Cleanup the code!
2018-09-10 12:51:09 -07:00
Delmer a612f97b49
Add regexp and aliases for appname attribute searching (#4389) 2018-09-10 10:24:35 -04:00
Delmer 5442ef9af4
Update add filters to add to the left (#4392)
* Update add filters to add to the left
* Update to preserve searchTerm ordering
2018-09-10 10:09:35 -04:00
Christopher Henn 6e99afe5a4 Fix issue with hidden SourceSelector
Previously, the SourceSelector would hide itself unless Chronograf was
connected to more than one source. This prevented a Chronograf instance
from selecting a dynamic source or creating flux queries when only
connected to one source.

In addition to fixing this issue, this commit removes the “Source:” text
from the TimeMachine controls, per the design spec.
2018-09-07 15:50:11 -07:00
Delmer 42b28205d2 Log viewer progressive loading (#4388)
feat: refactor log viewer to progressively load and render logs

Logs are progressively tailed to a buffer every 5000ms
while live updating. This is easily customizable. After
30000ms, this tail buffer is flushed to the "backward"
logs. This buffer was introduced to avoid losing logs
newly written to the database. This could easily be
extended to be a rolling buffer to be even more robust.

Also adds an Upper and Lower timestamp in the UI to
indicate to the user what the current search space time
bounds are.

Also removes logs from local storage.

Also fixers awaiting retrieving namespaces in order to
perform subsequent ajax requests & dispatches.

Also renames various functions & vars for clarity,
corrects typos, and corrects capitalization according
to convention.

Also removes LIMIT on fetch older and newer.

Also replaces bounds stored in Redux with UTC time.

Additionally, all the following:

* Fix LogsTable scroll loading indicator
* Move constants out of logs page
* Update newer chunk to be 100
* Fix tailing when custom/relative set
* Update chunk sizes to 30sec
* Update to use shouldLiveUpdate getter
* Fix scrollToRow after fetchNewer
* Update to use clearTailInterval
* Update scrollTo middle of backward if no forward data
* Remove last/first query time logic from logsTable
* Removing the last/first query time logic fixed scrolling
not working after performing a search and then deleting
the filter.
* Replace undefined currentNewer w/ nextNewerLower
* Add missing source redirection
* Remove comment deleted Paused status
* Add await to notify when no results are found
* Update fetchNewer to avoid chunking far into the future
* Update nextNewerLowerBound onChooseRelative
* Update lower bound on custom selection
* Update no results loading status
* Add comments to clarify actions
* Update fetch until to check before fetch
* Fix linting errors
* Update CHANGELOG 1.7.0 fixes
* Update logs to go to Infinity
* use Date instead of moment for logs actions
* replace moment with Date where straightforward in LogsPage
* throw error from fetchEachAsync so consumers can handle it
* Fix infiniteTableData localStorage
* add minor todo for possible future tweak
* remove redundant error throw
* simplify a LogsPage use of Date
* move max tail buffer const next to tail chunk duration const for clarity
* clarify comments documenting logs actions and state
* run histogram & table query config requests in parallel

Co-authored-by: Delmer Reed <ofthedelmer@gmail.com>
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-09-07 18:20:48 -04:00
Christopher Henn 9415df68cf Convert index file to TypeScript 2018-09-07 13:16:32 -07:00
Christopher Henn ca270ecb7f Remove redudant time series fetching utilities 2018-09-07 13:16:32 -07:00
Christopher Henn 4a97fd442b Lift editQueryStatus to TimeSeries component 2018-09-07 13:16:32 -07:00
Christopher Henn 75103aa247 Rename fetchTimeseries to executeQueries 2018-09-07 13:16:32 -07:00
Christopher Henn 23e244b7b9 Don't analyze query duration unless necessary 2018-09-07 13:16:32 -07:00
Christopher Henn a23713301e Refactor fetchTimeSeries utility 2018-09-07 13:16:32 -07:00
Christopher Henn ca0d885bf5 Display parsing errors in InfluxQLEditor if present 2018-09-07 13:16:32 -07:00
Christopher Henn f063245db8 Relocate misplaced callbacks 2018-09-07 13:16:32 -07:00
Christopher Henn d7767e667c Remove unused data explorer code 2018-09-07 13:16:32 -07:00
Alirie Gray d988511b8b
Merge pull request #4390 from influxdata/flux/delete-flux-page
Delete FluxPage and related components
2018-09-07 12:23:14 -07:00
Alirie Gray 61a0aea357 Remove FluxPage, related components and route 2018-09-07 12:12:18 -07:00
Nathan Haugo e6d0906967
Merge pull request #4384 from influxdata/feature/update-master-changelog
Update changelog for 1.6.2 release
2018-09-07 11:38:06 -07:00
Alirie Gray 4b8b1362dd
Merge pull request #4382 from influxdata/flux/move-raw-data-toggle-above-visualization
Move raw data toggle out of visualization in CEO/LayoutCell
2018-09-07 10:35:47 -07:00
Alirie Gray fac2951d83 Replace raw data toggle in layout with option in pencil menu 2018-09-07 10:18:56 -07:00
Christopher Henn 9fb0d95a6d Enhance appearance of uncaught errors message 2018-09-06 17:01:03 -07:00
nathan haugo d58167c5aa Update changelog for 1.6.2 release 2018-09-06 16:58:49 -07:00
Deniz Kusefoglu 1b06e0e92d
Merge pull request #4372 from influxdata/feature/suggested-protoboards
Feature/suggested protoboards
2018-09-06 16:06:01 -07:00
Deniz Kusefoglu f19323e74c Add suggestprotoboards function at dashboard step
Prevent dashboard cell axis overwriting if Bounds is empty
Add measurements field to protoboards meta
Correct comment on protoboardsStore
Add styling and copy polish to wizards
Update Protoboards to include meta.measurements
Refactor protoboard suggestion
Update Wizard tests to incorporate capitalizations
Add types to protoboardsSuggestion
Fix go tests
2018-09-06 15:51:40 -07:00
Alirie Gray 2c2d23c031 Move raw data slide toggle from TimeMachineVis to parent components 2018-09-06 15:45:29 -07:00
Daniel Campbell d18cc3976f
Correct wizard step index for Kapacitor Step (#4380) 2018-09-06 15:44:48 -07:00
Brandon Farmer 9a4cd1610b
Merge pull request #4381 from influxdata/fix/sorting-indicators
Ensure that sorting indicators reflect sorted table
2018-09-06 15:39:42 -07:00
Brandon Farmer c80c643781 Ensure that sorting indicators reflect sorted table 2018-09-06 15:29:03 -07:00
Iris Scholten 456eb08c3a
Merge pull request #4379 from influxdata/fix/table-update
Properly update tablegraph when in editor
2018-09-06 15:28:28 -07:00
Iris Scholten 67de8832f9 Properly update tablegraph when in editor
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-09-06 15:07:57 -07:00
Alirie Gray eeeba66259
Merge pull request #4378 from influxdata/flux/save-source-influxql-ceo
Fix InfluxQL source saving
2018-09-06 14:52:11 -07:00
Alirie Gray 7046bb5139 Use source from query instead of queryConfig when saving in ceo 2018-09-06 13:58:36 -07:00
Alex Paxton db5304b307
Prevent page contents from exploding (#4370) 2018-09-06 12:12:34 -07:00
Alirie Gray f10f1382ea Add default empty string to querySource 2018-09-06 12:10:14 -07:00
Iris Scholten f6279c0534
Merge pull request #4371 from influxdata/fix/dash-where
Fix adding additional where clauses on queries not supported by schema explorer
2018-09-06 12:06:06 -07:00
Alex Paxton ebce9aabdb
Fix Hidden Notifications (#4373)
* Consolidate overlay styles

* Cleanup theme variables and centralize z-index variables

* Cleanup style resets

* Change base font sizes to match existing styles in UI
2018-09-06 11:43:30 -07:00
Iris Scholten 589566471b Change the check in buildQueriesForLayouts to check for queryConfig instead of empty db in the queryConfig
Co-authored-by: Alirie Grey <alirie.gray@gmail.com>
2018-09-06 11:31:58 -07:00
Alex Paxton 5f6cb054ae
Improve Log Messages UX (#4363)
* Refactor ExpandableMessage to use React Portals

* Display "Clear Filters" button when more than 3 filters are present

* Move logs truncation toggle from options overlay to filter bar

* Simplify styles and markup

Ensure that the ... truncation happens
Showing a "zoom in" cursor when log messages can be clicked

* Update changelog

* Remove rogue file

* Type props in constructor and remove unecessary condition

* Remove spaces
2018-09-06 11:07:40 -07:00
Brandon Farmer 7201521b35
Merge pull request #4365 from influxdata/fix/local-storage-logs
No longer store tableInfiniteData in local storage
2018-09-05 18:22:55 -07:00
Alirie Gray d842622160
Save flux query in CEO (#4364)
* Add isSaveable condition for flux query in CEO

* Save flux query to cell in CEO

* Use flux query in Dashboard cell

* Move script state to cellEditorOverlay reducer

* Update Changelog

* Remove feature flag for allowFlux
2018-09-05 17:30:42 -07:00
Brandon Farmer cde986cf66 No longer store tableInfiniteData in local storage 2018-09-05 16:46:43 -07:00
Christopher Henn f81b63154c Add option to use Unix time formatting in tables 2018-09-05 16:45:15 -07:00
Christopher Henn 1eb0875f64 Size Dropdown dynamically by default 2018-09-05 16:05:16 -07:00
Iris Scholten bba49e9061
Add Visualization Options to DE (#4353)
* Update Children components of DisplayOptions to use props instead of individually connecting to redux and CEO visualization actions updated in prep for DE Vis

* Update DataExplorer to have visualization options

* Update timeSeriesToDygraph to not treat data explorer differently from ceo

* Remove featureflag from vis options in DE

* Update failing tests and rename cellNote to Note

* Update columns for table graph if in ceo or de, but not in dashboard

* Update Changelog

* Remove unnecessary getters from DisplayOptions
2018-09-05 11:49:10 -07:00
Iris Scholten 43afa38b0a
Remove check for flux ping when adding and updating flux service (#4361) 2018-09-05 11:01:20 -07:00
Michael Desa 819c554533
Merge pull request #4360 from influxdata/fix/pprof
fix(server): pass pprof enabled option down to NewMux properly
2018-09-05 13:50:31 -04:00
Alex Paxton 595665df4b
Cleanup Old Styles (#4359)
* Remove obsolete tempvar manager styles

* Remove obsolete cell editor overlay styles

* Organize imports

* Flatten style imports

* Change class to extend

Print less stuff in the final stylesheet
2018-09-05 10:16:48 -07:00
Michael Desa 8201a0d55c fix(server): pass pprof enabled option down to NewMux properly 2018-09-05 13:04:31 -04:00
Christopher Henn 3f5850ddec Add test for DashboardsPage loading state 2018-09-04 16:12:12 -07:00
Christopher Henn b99f231483 Add loading and error states to DashboardsPage 2018-09-04 16:12:12 -07:00
Brandon Farmer 0b92883989
Merge pull request #4348 from influxdata/fix/use-buckets
Use bucket instead of db for flux queries
2018-09-04 15:03:04 -07:00