Commit Graph

11701 Commits (2b85390aa37c879651231635879ce6ebcc904dd9)

Author SHA1 Message Date
Alex Paxton 07b049eaea
Fix the Tiniest Header (#4420)
* Use correct percentage in page header sizing

* Use PageHeader instead of raw markup

* Change sidenav item to match page header
2018-09-12 11:19:34 -07:00
Delmer 0106e5dd1c
Fix query editor rejecting updates (#4429)
* Fix query editor rejecting updates for generated statements
* Fix query editor flickering
* UPDATE CHANGELOG
* Remove isShowingTemplateValues from state derivation
* Fix submission completion clobbering edits
2018-09-12 14:02:23 -04:00
Deniz Kusefoglu c4af69c17a Make submit button for dashboard sending disabled if no flux query 2018-09-12 00:35:16 -07:00
Iris Scholten ceeb3e9b23
Flux in line graphs (#4410)
* Create workers for flux fetch and response decoding

Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>

* Add flux data to linegraph

* Fix error when queryConfigs are undefined

* Add service as prop instead of treating source as either service or source

* Fix raw data view after changing components

* Remove commented code

* Update Changelog

* Fix tests

* Remove unnecessary comment

* Rename timeSeries and data for clarity

* Add try catch around worker jobs

* Add type annotations

* Remove unncessary check

* Update to use descriptive variables
2018-09-11 17:25:24 -07:00
Brandon Farmer 4da0c9f24a
Merge pull request #4422 from influxdata/enhancement/deep-link-flux-de
Allow flux scripts in query string for DE
2018-09-11 16:44:46 -07:00
Brandon Farmer 8080583737 Allow flux scripts in query string for DE 2018-09-11 16:15:59 -07:00
Delmer def4acdfec
Fix query editor flickering on update (#4423)
* Fix query editor flickering on update
* Fix editor to update and focus on tab changes
* Update CHANGELOG UI IMPROVEMENTS
2018-09-11 18:40:57 -04:00
Delmer 9ba557b606
Autofocus dashboard query editor (#4399)
* Fix editor not focusing on mount
* Update query editor to close on blur
2018-09-11 17:51:25 -04:00
Brandon Farmer 18d21f1c23
Merge pull request #4421 from influxdata/fix/showing-singular-default-source
Update ConnectionLink to reflect current default
2018-09-11 13:34:40 -07:00
Brandon Farmer 461f71a2fe Update ConnectionLink to reflect current default 2018-09-11 11:09:42 -07:00
Jared Scheib 9b6263e667
Render null data point values in Alerts Table as mdashes (#4408)
* fix: render invalid Alerts Table row data as mdash

create new AlertsTableRow component
refactor Alerts Table rows to use new AlertsTableRow component

* test AlertsTableRow for valid data

render spans for all alerts table row cell values

* update changelog
2018-09-11 11:12:12 -04:00
Deniz Kusefoglu 285f2843b5
Merge pull request #4404 from influxdata/feature/host-page-loading-status
Feature/host page loading status
2018-09-10 23:43:09 -07:00
Deniz Kusefoglu 786d310008 Add loading status indicator to HostsPage
Convert HostsPage and HostsTable to typescript

Display page-spinner if hostpage in loading state

Add error state to HostsPage

Fix tests for HostsPage

Update Changelog

Add missing type definitions to HostsTable
2018-09-10 23:24:09 -07:00
Alirie Gray 5465a53021
Merge pull request #4409 from influxdata/flux/fix-save-flux-query-in-ceo
Update service in CEO when Time Machine renders
2018-09-10 16:50:23 -07:00
Alirie Gray 423c0e38ac
Merge pull request #4407 from influxdata/flux/error-for-dynamic-source-without-flux
Add tooltip for dynamic source that does not support flux
2018-09-10 16:28:34 -07:00
Alirie Gray 532fd39cab Update service in CEO when Time Machine renders 2018-09-10 15:55:21 -07:00
Brandon Farmer 89e2ebfd75
Merge pull request #4406 from influxdata/update-flux-dependencies
Update flux golang dependencies
2018-09-10 15:33:25 -07:00
Alirie Gray ef51935e8d Add tooltip for dynamic source that does not support flux 2018-09-10 15:32:24 -07:00
Brandon Farmer c4e40b7643 Update flux golang dependencies 2018-09-10 15:20:56 -07:00
Alirie Gray cef576a829
Merge pull request #4403 from influxdata/flux/toggle-flux-influxql-ceo
Toggle for Flux/InfluxQL for dynamic source in CEO
2018-09-10 15:03:09 -07:00
Alirie Gray d6ae8a7926 Update changelong 2018-09-10 14:25:10 -07:00
Alirie Gray b104ae2341 Add spacing between toggle buttons and source dropdown 2018-09-10 14:25:10 -07:00
Alirie Gray deda6c936b Add function to set service when flux toggled on dynamic source 2018-09-10 14:25:06 -07:00
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
Alirie Gray e9e417e427 Only show toggle if source supports flux 2018-09-10 11:58:39 -07:00
Alirie Gray f0d47eeaa3 Add onClick function to toggle flux/influxql for dynamic source 2018-09-10 11:58:39 -07:00
Alirie Gray dd730a0acc Add Radio button for flux/influxql when dynamic source selected 2018-09-10 11:58:39 -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