Commit Graph

10095 Commits (6b394c8e67ea84ad212bb274b3801a8a9637d930)

Author SHA1 Message Date
Iris Scholten 105ad736ef Send notifications for dashboard imports 2018-06-05 10:41:24 -07:00
Iris Scholten a426e50e56 Ensure only users with editor role or higher can import dashboard 2018-06-05 10:41:24 -07:00
Iris Scholten 2c6e7b0577 Add begining styles for dashboard imports 2018-06-05 10:41:24 -07:00
Iris Scholten 588295e0cd Allow users to import Dashboard from file 2018-06-05 10:41:24 -07:00
Iris Scholten 0a72f12b7e Convert DashboardsHeader to typescript 2018-06-05 10:41:24 -07:00
Iris Scholten eb5de1d002 Convert DashboadsPage to typescript 2018-06-05 10:41:24 -07:00
Iris Scholten ce9b019fb8 Fix type errors 2018-06-05 10:41:24 -07:00
Alex P 06f36841d3 Remove bindActionCreators 2018-06-05 10:41:24 -07:00
Alex P 49c67249a0 Fix type error with show overlay 2018-06-05 10:41:24 -07:00
Alex P a9e734daf7 Introduce ImportDashboardOverlay component 2018-06-05 10:41:24 -07:00
Alex P 9787eb7aaa Introduce styles for overlay sub-components 2018-06-05 10:41:24 -07:00
Alex P 0a31970f87 Introduce generic overlay components 2018-06-05 10:41:24 -07:00
Alex P 5f676b79d8 Update styles of import dashboard button 2018-06-05 10:41:24 -07:00
Alex P 2869442d23 Fix bug 2018-06-05 10:41:24 -07:00
Alex P 93ea79c3e2 Introduce styles for "Panel controls"
These are groups of controls that exist as a child of `.panel-heading`
Serves as a generic replacement for `.dashboards-page—actions`
2018-06-05 10:41:24 -07:00
Alex P 8034d37ca9 Convert component to TypeScript 2018-06-05 10:41:24 -07:00
Brandon Farmer ecef89968b Show histogram for log counts in log viewer 2018-06-05 10:41:24 -07:00
Iris Scholten 8763a6b270 Allow viwer roles or higher to Export a dashboard 2018-06-05 10:40:44 -07:00
Iris Scholten bf18e1b7fa Add ability to export a dashboard as a json file with chronografVersion 2018-06-05 10:40:44 -07:00
Iris Scholten 54f3cfcb82 Convert DashboardsTable to typescript 2018-06-05 10:40:44 -07:00
Alex Paxton 34ad08d661 Merge pull request #3570 from influxdata/logs-viewer/polish
Logs Viewer Polish
2018-06-05 10:39:43 -07:00
Alex P 9c6fcf3b22 Add newline in stylesheet 2018-06-05 10:08:03 -07:00
Alex P 9f40afeb37 Add clickable style and div 2018-06-05 09:59:58 -07:00
Alex P b02b0bd69f Style hover state and cells 2018-06-05 09:59:44 -07:00
Alex P 701bdecad8 Add return types 2018-06-05 09:58:35 -07:00
Alex P 5edd845d79 Show short text for severity level 2018-06-05 09:58:18 -07:00
Alex P 7b1a14066d Change widths of columns 2018-06-05 09:57:40 -07:00
Chris Henn 20bcbe26cd Merge pull request #3567 from influxdata/flux/table-sidebar-filter
Enable filtering of Flux table sidebar
2018-06-05 09:12:08 -07:00
Christopher Henn eb9981bdf8 Enable filtering of Flux table sidebar 2018-06-04 16:46:04 -07:00
Chris Henn 8e9115234b Merge pull request #3566 from influxdata/flux/table-cols
Tweak Flux table visualization
2018-06-04 16:45:44 -07:00
Chris Henn ce14d93ff9 Merge pull request #3565 from influxdata/ifql/table
Introduce line graph visualization to Flux page
2018-06-04 16:12:10 -07:00
Christopher Henn 538ace0a48 Improve display of table names in table sidebar
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-06-04 16:10:20 -07:00
Christopher Henn 05d99a8cc2 Fix Flux schema explorer filter placeholder text
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-06-04 15:42:21 -07:00
Christopher Henn 192e97108d Exclude certain columns from Flux table vis
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-06-04 14:38:56 -07:00
Chris Henn 2b2406ef28 Merge pull request #3554 from influxdata/upgrade-jest
Upgrade Jest
2018-06-04 14:12:16 -07:00
Christopher Henn 39e92d6ffd Introduce Line Graph to Time Machine
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-06-04 14:10:48 -07:00
Alex Paxton b34728741a Merge pull request #3564 from influxdata/bugfix/color-scale-dropdown
Fix Color Scale Dropdown
2018-06-04 13:32:59 -07:00
Alex P 1ad142a69c Add max height to fancy scrollbar 2018-06-04 12:53:42 -07:00
Brandon Farmer 423c567bd7 Merge pull request #3555 from influxdata/log-viewer/auto-refresh
Adds autorefresh with play/pause
2018-06-04 12:05:13 -07:00
Brandon Farmer d40c15ff40 Add dummy filters back in for display purposes 2018-06-04 11:49:58 -07:00
Deniz Kusefoglu f493ee1cec Merge pull request #3536 from influxdata/ifql/join
Ifql/join
2018-06-04 10:13:01 -07:00
Jared Scheib 2b7220f255 WIP Fix zoomedTimeRange from URL queries
Zoomed time ranges are being passed down correctly to the cells,
but it appears in the Network tab that the cells are not updating
according to the zoomed temp var value data. The proxy is hit many
times, without the correct zoomed time range, but the final request
does contain the correct zoomed time range. At this point, I would
expect the graphs to refresh to the zoomed range, but they don't.

A setState waiting for all tempVars to be synced doesn't seem to
do the trick either.

Previously, this was working when zoomedTimeRange was on state
and the values were found from the query string while in the
constructor. After refactoring to put zoomedTimeRange into redux
so that it could be included in all of the temp var reconciliation
thunks, it is no longer working correctly.
2018-06-01 23:25:38 -07:00
Jared Scheib 2c581d288e Refactor time range validation logic to always return TimeRange
Clean up namespace & logic flow in
syncDashboardTimeRangeFromURLQueries.

Authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-06-01 22:44:42 -07:00
Jared Scheib 65441fe91c Refactor dashboard URL queries and temp var handling into thunks
Refactor zoomedTimeRange to be on DashboardPage props & use redux.

This cleans up DashboardPage considerably by adding a dedicated
loadDashboard action creator & reducer, moving zoomedTimeRange
out of component state and into redux state, and moving all of
the URL queries and template variable reconciliation into a single
series of async action creators (thunks) that hydrate a dashboard's
template variables and then reconcile them with URL queries.

This also moves URL query parsing for tempvars and time ranges
back out of the middleware and into this new dashboard thunk series.

This also renames a number of fns and vars for clarity.
2018-06-01 21:41:43 -07:00
Jared Scheib cce88c3a3f Rename runTemplateVariableQuery to getTempVarValuesBySourceQuery for clarity 2018-06-01 17:45:36 -07:00
Jared Scheib 95c64c5caa Clarify putDashboardByID comment 2018-06-01 17:32:46 -07:00
Jared Scheib 2421051c1e Rename updateTempVarValues to hydrateTempVarValues for clarity
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-06-01 17:30:54 -07:00
Alex P 10d8ccb0f4 Replace button with compact tab toggle 2018-06-01 16:59:51 -07:00
Jared Scheib 675d4145a9 Revert notification message for invalid URL query value for temp vars 2018-06-01 16:51:16 -07:00
Jared Scheib be97ff2159 Don't show notification when no lower time range in URL query
Update validTimeRange to make having no lower acceptable

Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
2018-06-01 16:47:32 -07:00