Alex P
dfee77757a
Render empty state when no data is present
2018-06-12 14:25:11 -07:00
Brandon Farmer
896aa0ba5f
Handle scrollleft correctly
...
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-06-12 14:19:33 -07:00
ebb-tide
d258aef508
Rename Time Machine to Flux Editor
2018-06-12 13:55:23 -07:00
Delmer Reed
d0c0a3be42
Update the default starting script for editor
...
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-06-12 13:37:27 -07:00
Iris Scholten
3f899048d6
Add last() before yield if before range() and filter()
...
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-12 13:37:27 -07:00
Deniz Kusefoglu
932336bff3
Merge pull request #3645 from influxdata/chore/TS-redundancy
...
Remove redundant FieldName in favor of FieldOption interface
2018-06-12 13:24:49 -07:00
Brandon Farmer
4244abd552
Remove feature flag for log viewer
...
- Strip newline from log messages
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-06-12 13:19:53 -07:00
Brandon Farmer
1c19faa1f5
Implement load on scroll
...
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-06-12 13:12:09 -07:00
Alex P
b8fb73b784
Decrease font size of calendar tiles and remove border
2018-06-12 13:06:41 -07:00
Alex P
f2364421f3
Use drop shadow CSS mixin
2018-06-12 13:06:23 -07:00
Alex P
a72566da58
Fix arrows in date picker
2018-06-12 13:05:57 -07:00
ebb-tide
31c4d347f5
Remove redundant FieldName in favor of FieldOption interface
2018-06-12 11:16:46 -07:00
Andrew Watkins
1f44100cea
Chunk dev scss
2018-06-12 11:08:06 -07:00
Andrew Watkins
e07520b139
Update prod config to Webpack 4 api
2018-06-12 11:07:42 -07:00
Chris Henn
df03ae5850
Merge pull request #3636 from influxdata/bugfix/single-stat
...
Fix line graph + single stat dygraphs
2018-06-12 09:20:20 -07:00
Jared Scheib
40f83a64d1
Merge pull request #3556 from influxdata/fix/tempvars_url_query
...
Add ability to override template variables and time ranges via URL query
2018-06-11 17:08:34 -07:00
Christopher Henn
e028b7c4a5
Fix line graph + single stat dygraphs
2018-06-11 16:52:03 -07:00
Jared Scheib
a8180f6920
Rename pruneDashboardTimeV1 to retainRangesDashboardTimeV1
2018-06-11 16:42:06 -07:00
Jared Scheib
37eb215869
Remove obsolete jsdoc comments
2018-06-11 16:26:17 -07:00
Andrew Watkins
411f83681b
Remove webpack-on-build plugin
2018-06-11 16:21:59 -07:00
Jared Scheib
77f5f44793
Remove obsolete tempVarOverrides reducer prop
2018-06-11 16:19:40 -07:00
Jared Scheib
654ad6fdcd
Rename queries to queryParams for clarity
2018-06-11 16:13:45 -07:00
Alex Paxton
65d0236842
Merge pull request #3612 from influxdata/polish/icons
...
Polish Icons
2018-06-11 16:04:05 -07:00
Andrew Watkins
10a8cea010
WIP initial upgrade path webpack 4
2018-06-11 14:59:16 -07:00
Iris Scholten
533ae1acf7
Prevent yield() from being added before a range and filter function
...
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-11 14:37:31 -07:00
Jared Scheib
630e9a8184
Add type for loadDashboard action
2018-06-11 14:12:40 -07:00
Jared Scheib
d4ef31e5de
Remove obsolete onCancelEditCell method relevant to last merge changeset
2018-06-11 14:11:16 -07:00
Iris Scholten
699d86931f
Stop propagation of click events from funcArgs
...
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-11 14:10:34 -07:00
Jared Scheib
b1d1876621
Merge remote-tracking branch 'origin/master' into fix/tempvars_url_query
2018-06-11 14:08:57 -07:00
Andrew Watkins
03afd831f7
Dygraph to TypeScript
2018-06-11 14:03:56 -07:00
Alex Paxton
1d46b4d615
Merge branch 'master' into polish/icons
2018-06-11 13:59:48 -07:00
Alex P
350569f2a4
Highlight func nodes when they precede a yield node
2018-06-11 13:57:28 -07:00
Alex P
510568c682
Style yield node visualization to conform to available space
2018-06-11 13:56:11 -07:00
Deniz Kusefoglu
ba56a3ca4d
Merge pull request #3614 from influxdata/bugfix/multiple-legends
...
Bugfix/multiple legends
2018-06-11 12:52:35 -07:00
Iris Scholten
98496418fd
Get the correct data for a yield node
...
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-11 11:34:09 -07:00
Brandon Farmer
e94dc256b4
Refactor and decrease render calls for log viewer table
2018-06-11 11:29:59 -07:00
Iris Scholten
c13d40de3d
Move the script above the explorer
...
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-11 10:47:17 -07:00
Iris Scholten
0c5453d200
Fix error when declaration has no funcs
...
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-11 10:47:17 -07:00
Del
4ded95e9e4
Move time machine visualization from bottom division to yield func node
...
component
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-11 10:47:17 -07:00
Del
62ce1c2c64
Add unique name to yield func nodes
...
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-06-11 10:47:17 -07:00
Iris Scholten
60c82d405b
Stop propagation when clicking on the dropdown in funcNodes
...
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-11 10:47:17 -07:00
Iris Scholten
ee38ea789e
Remove yield if clicking on FuncNode with a yield func node after it
...
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-11 10:47:17 -07:00
Iris Scholten
c64933541b
Add a yield node immediately after a clicked funcNode
...
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-11 10:47:17 -07:00
Jared Scheib
2036071827
Type new dashboard actions
2018-06-08 19:51:40 -07:00
Jared Scheib
0e69777933
Add DefinitelyTyped for react-router-redux v4
2018-06-08 19:51:04 -07:00
Jared Scheib
8238caf934
Type new synchronous dashboard action creators
2018-06-08 19:01:17 -07:00
Jared Scheib
73480c7128
Collapse spaces between dashboard types & actions for readability
2018-06-08 18:56:11 -07:00
Jared Scheib
77b475cd6b
Type remaining new fns in dashboard/utils/tempVars.ts
2018-06-08 18:48:58 -07:00
Jared Scheib
a15a950992
Create file for tempVars types, move tempVar types there, and update imports
2018-06-08 18:38:22 -07:00
Jared Scheib
93d09f5c12
Type stripTempVar
2018-06-08 18:37:30 -07:00
lukevmorris
37855fcf25
Provide a builder UI for a Flux Filter Node ( #3615 )
...
* Introduce FilterArgs as a seam
* Selecting a value adds to Script and Preview
* Hydrate FilterArgs dropdown from function body
* Functional operator selector
* Style polish
* Rename Filter/FilterPreview components
* Pull types into flux type file
* Derive Flux Filter UI state directly from AST
* Default func body
* Remove flicker when updating conditions
* Render a div when filter body isn't supported
* Base condition (true) is parseable
* Remove a test file if it doesn't have any tests
* Enable tslint and resolve errors
* Address other PR feedback
* Tests and improved parsing logic
* Add helper text when filter ui falls back to a textarea
2018-06-08 18:36:50 -07:00
Jared Scheib
d6e4c3517f
Rename & type generateURLQueriesFromTempVars
2018-06-08 18:30:47 -07:00
Jared Scheib
c78c4885c6
Move viewer unauthorized notification to tempvars section
2018-06-08 18:22:07 -07:00
Jared Scheib
767b5a56ef
Delete obsolete DashboardsPage.js file left by merge
2018-06-08 18:20:41 -07:00
Jared Scheib
a2e21db12e
Remove obsolete comment
2018-06-08 18:20:25 -07:00
Deniz Kusefoglu
e61304aa85
Merge pull request #3604 from influxdata/bugfix/table-graph-series-name
...
Bugfix/table graph series name
2018-06-08 17:55:10 -07:00
ebb-tide
c35770b90b
Fix prettier error
2018-06-08 17:52:47 -07:00
nathan haugo
042b168c5a
Update the name to fqi
2018-06-08 17:37:22 -07:00
Jared Scheib
3c99cabd8f
Prevent Viewer role from overriding temp vars from URL query
2018-06-08 17:31:21 -07:00
Jared Scheib
b8d7e317db
Fix dashboard switching & loading dashboard upon switching
2018-06-08 15:42:18 -07:00
Jared Scheib
d59443e55a
Fix merge bug where temp vars selected action needed changed prop key
2018-06-08 15:40:59 -07:00
Andrew Watkins
957880bea2
Add test for SET_ACTIVE_CELL
2018-06-08 15:34:59 -07:00
Christopher Henn
4285abf5d4
Ensure schema explorer copy button visible
2018-06-08 15:22:54 -07:00
Andrew Watkins
ba62ec82b5
Type dashboard test
2018-06-08 15:11:16 -07:00
Alex P
68d05a3ce9
Use solid dashboard icon in dashboard switcher
...
Might have a minute usability boost
2018-06-08 14:41:50 -07:00
Alex P
038d267980
Change source indicator to look more "databasey"
2018-06-08 14:41:32 -07:00
Alex P
cd5964b3c6
Move Time Machine into its own nav tab with "Flux Capacitor" icon
2018-06-08 14:41:16 -07:00
Alex P
aec602b7a8
Update icon font
2018-06-08 14:40:25 -07:00
Chris Henn
0f4116147a
Merge pull request #3609 from influxdata/flux/cache-metaqueries
...
Preserve schema tree children open state
2018-06-08 14:30:34 -07:00
Chris Henn
28c69ff92d
Merge pull request #3599 from influxdata/bugfix/kapacitor-form-alignment
...
Fix misaligned kapacitor form
2018-06-08 14:16:48 -07:00
Christopher Henn
e657b052c2
Preserve open state of schema tree children
2018-06-08 13:59:06 -07:00
Andrew Watkins
18956c8f0b
Remove linter comment
2018-06-08 13:51:33 -07:00
Andrew Watkins
4dde7a2ba9
Convert dashboard test to ts
2018-06-08 13:51:11 -07:00
Christopher Henn
7740e3375b
Group schema tree children in div
2018-06-08 13:28:29 -07:00
Brandon Farmer
b4581498bd
Merge pull request #3593 from influxdata/log-viewer/dynamic-message-width
...
Message column width changes with window size
2018-06-08 11:07:44 -07:00
Alex Paxton
f8c8f97bec
Merge pull request #3598 from influxdata/flux/vertical-builder
...
Make Flux Builder Stack Vertically
2018-06-08 11:05:21 -07:00
Brandon Farmer
7f7b61d5ec
Handle failing queries for log viewer
2018-06-08 10:49:42 -07:00
ebb-tide
17789f848f
Remove unnecessary comment in TableGraph
2018-06-08 10:48:44 -07:00
Andrew Watkins
dcf1553d9e
Remove FeatureFlag from Flux Page
2018-06-08 10:44:06 -07:00
ebb-tide
0b526d47e2
Add isGroupBy field to series that have groupby
2018-06-08 10:13:37 -07:00
Alex P
d5654b723e
Refactor func args to use getters instead of ternary
...
Cleaning up the render function
2018-06-08 10:10:37 -07:00
Jared Scheib
da2a3930aa
Merge remote-tracking branch 'origin/master' into fix/tempvars_url_query
2018-06-07 18:05:13 -07:00
Brandon Farmer
7d39f74551
Add indication if query is running
2018-06-07 16:38:13 -07:00
Christopher Henn
c0bbdee93e
Fix misaligned kapacitor form
2018-06-07 16:36:48 -07:00
Alex P
a9ab9e0c41
Align func node tooltip contents horizontally
2018-06-07 16:22:12 -07:00
Chris Henn
2d03fbc234
Merge pull request #3596 from influxdata/flux/limit-responses
...
Improved handling of large Flux query responses
2018-06-07 16:13:20 -07:00
Jared Scheib
e55f362628
Make browser Back button work as expected in the context of url queries syncing
...
Replace rather than push browser history when syncing url queries.
2018-06-07 16:02:07 -07:00
Brandon Farmer
27d21914ae
Selecting source is reflected in the dropdown
2018-06-07 15:43:41 -07:00
Jared Scheib
e9c9b33b88
Clear and hydrate temp vars on switch dashboards
...
componentDidMount was the only place that hydrating and syncing was happening,
but the component did not re-mount when you use the dashboard switcher. So
the new React 16 componentDidUpdate life cycle method was an appropriate place
to detect if the dashboard had switched, rather than creating an event handler
for dashboard switching.
2018-06-07 15:40:34 -07:00
Jared Scheib
2225cd4ad4
Get dashboards names for DashboardSwitcher
...
Refactor dashboards names into DashboardPage component state and
refresh names upon dashboard rename.
2018-06-07 15:35:05 -07:00
Jared Scheib
10c084fca8
Remove obsolete comment
2018-06-07 15:29:04 -07:00
Alex P
5e86a7b5e7
Position node tooltips to the right of the node
2018-06-07 15:08:39 -07:00
Alex P
278c147089
Add connector line from unassigned FROM to following node
2018-06-07 14:54:37 -07:00
Andrew Watkins
8b867d3ad3
Merge pull request #3595 from influxdata/flux/char-error
...
Flux Page Error Robustness
2018-06-07 14:39:16 -07:00
Alex P
944c4ed803
Add connector dot to variables when they are assigned to queries
2018-06-07 14:37:42 -07:00
Christopher Henn
fd2a489a91
Increase max response limit
2018-06-07 14:32:54 -07:00
Christopher Henn
5645764478
Improve scrolling performance in TimeMachineTable
2018-06-07 14:32:54 -07:00
Christopher Henn
a754311b05
Only parse first 2MB of Flux query responses
2018-06-07 14:32:54 -07:00
Andrew Watkins
252e845e15
Fix updating twice
2018-06-07 14:19:43 -07:00
Andrew Watkins
61c67c98f3
Fix typing
2018-06-07 13:36:07 -07:00
Andrew Watkins
1ace9495ff
Update AST debounce script typing change
2018-06-07 13:30:05 -07:00
Alex P
09b44edfe1
Redesign flux builder to stack nodes vertically
2018-06-07 11:57:48 -07:00
Alex P
4b92b84b58
Wrap body builder in fancy scrollbars
2018-06-07 11:57:25 -07:00
Andrew Watkins
a2122eabe8
Add clickable gutter error
2018-06-07 11:18:37 -07:00
Brandon Farmer
d03cee0535
Message column width changes with window size
2018-06-07 11:05:45 -07:00
Alex Paxton
241b8588fd
Merge pull request #3589 from influxdata/flux/explorer-polish
...
Flux Explorer Polish
2018-06-07 10:38:56 -07:00
Alex P
b17eaaf8aa
Refactor to remove ternary
2018-06-07 10:03:01 -07:00
Alex P
feecd88147
Replace icons in navbar with redesigned "outline" style icons
2018-06-06 17:27:22 -07:00
Iris Scholten
5c6c27070b
Rebase onto changeset from #3527 to fix time ranges for unparseable queries
...
Convert ui/src/shared/data/timeRanges to typescript
Update type in timeRanges.ts to extend TimeRange type from src/types/query
Fix typo in buildCannedDashboardQuery
Update addTimeBoundsToRawText to use regex in its string matching checks instead of strings
2018-06-06 17:17:33 -07:00
Alex P
5d192ae381
Fix linter bug
2018-06-06 16:41:22 -07:00
Alex P
bcae582676
Polish loading dots
2018-06-06 16:00:54 -07:00
Alex P
44f55230e4
Merge branch 'master' into flux/explorer-polish
2018-06-06 15:51:44 -07:00
Alex P
c0e43eae38
Randomize widths of skeleton loader blocks
2018-06-06 15:35:09 -07:00
Brandon Farmer
27e0561ce2
Merge pull request #3588 from influxdata/log-viewer/filtering
...
Log viewer/filtering
2018-06-06 15:33:11 -07:00
Brandon Farmer
bae5b110a4
Allow tags to be filtered with regex
2018-06-06 15:10:58 -07:00
Alex P
276e67148b
Update styles
2018-06-06 14:43:37 -07:00
Alex P
65ba51b874
Change classnames to be more BEM
2018-06-06 14:43:31 -07:00
Alex P
602696f0a4
Wrap tag values count in div
2018-06-06 14:43:03 -07:00
Alex P
d8d9b26c9b
Make search inputs smaller
2018-06-06 14:42:40 -07:00
Jared Scheib
2020628bea
Fix source maps to exactly reflect code instead of es5 transpilation
2018-06-06 14:15:59 -07:00
Iris Scholten
457c9cb649
Merge pull request #3575 from influxdata/ifql/copy-paste-schema
...
flux/Copy to clipboard in schema explorer
2018-06-06 14:14:43 -07:00
Brandon Farmer
f8e7cfa92e
Basic == and != filtering for logs
...
Co-authored-by: Delmer Reed<delmer814+1@gmail.com>
2018-06-06 13:35:39 -07:00
Iris Scholten
104e46a0c4
Rename copy functions for clarity
2018-06-06 13:31:45 -07:00
Iris Scholten
c62906411b
Create a notificationAction type to be used as notify's type
2018-06-06 13:28:22 -07:00
Chris Henn
e544d4ce00
Merge pull request #3583 from influxdata/flux/autocomplete
...
Function / Param specific autocomplete
2018-06-06 13:20:03 -07:00
Alex Paxton
ae1b40fed2
Merge pull request #3580 from influxdata/polish/log-icon
...
Replace log viewer icon with "log" icon
2018-06-06 13:06:01 -07:00
Christopher Henn
5b5622cfb9
Fix autocomplete typo
2018-06-06 13:04:25 -07:00
Christopher Henn
bee3a4aa3e
Don't insert newlines with default Flux script
...
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-06-06 13:04:25 -07:00
Christopher Henn
9d2181fc1a
Improve function specific autocomplete
...
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-06-06 13:04:24 -07:00
Christopher Henn
48c19ffd23
Remove unnecessary CodeMirror addon code
...
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-06-06 13:04:24 -07:00
Christopher Henn
e9fd63dc69
Use server-provided completion suggestions
...
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-06-06 13:04:24 -07:00
Christopher Henn
c2acd5ba49
Display autocomplete hints on Ctrl-Space only
...
...as opposed to on every key up.
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-06-06 13:04:24 -07:00
Alex P
33db2ebd44
Merge branch 'master' into logs-viewer/filter-bar
2018-06-06 11:34:27 -07:00
Alex P
dfb91bf7ec
Complete editable filter interaction
2018-06-06 11:28:56 -07:00
Alex P
f53dfce88a
Replace log viewer icon with "log" icon
2018-06-06 10:50:42 -07:00
Jared Scheib
d18720b4c5
Merge pull request #3574 from influxdata/fix/webpack_sourcemaps
...
Fix source maps to exactly reflect code instead of es5 transpilation
2018-06-05 16:53:34 -07:00
Iris Scholten
f08cc6c2e3
Add copy to clipboard to Tag value list items
2018-06-05 16:31:25 -07:00
Iris Scholten
83dcb9c247
Add copy to clipboard to tag list items
2018-06-05 16:19:41 -07:00
Iris Scholten
1a3fb65858
Update styles for copy to clipboard
...
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2018-06-05 15:16:31 -07:00
Jared Scheib
15ff45c270
Fix source maps to exactly reflect code instead of es5 transpilation
2018-06-05 14:37:12 -07:00
Iris Scholten
36581a765e
Send notification when copying to clipbaord
2018-06-05 14:24:56 -07:00
Alex P
4de6cd653e
Remove excess closure
2018-06-05 14:14:31 -07:00
Alex P
352ee815a9
WIP Make filter blocks editable
2018-06-05 13:59:13 -07:00
Iris Scholten
bcc7b36ec5
Refactor the filter logic into getter
2018-06-05 13:37:09 -07:00
Iris Scholten
3fafd9dbf9
Create styles for copy in schema and stop click propagation
2018-06-05 13:31:26 -07:00
Iris Scholten
69c766bb2d
Add copy and paste functionality to DatabaseListItem in IFQL schema
2018-06-05 11:15:48 -07:00
Chris Henn
581ae03c35
Merge pull request #3571 from influxdata/flux/rename-everything
...
Rename all usage of "IFQL" to "Flux"
2018-06-05 11:11:44 -07:00
Christopher Henn
1fb2a1551b
Reorganize Flux apis and parsing
2018-06-05 10:57:20 -07:00
Andrew Watkins
1344297421
Change IFQL to Flux
2018-06-05 10:57:19 -07:00
Iris Scholten
cc925ac001
Fix error from clicking on an imported dashboard due to redux not being loaded with new dashboard
2018-06-05 10:41:24 -07:00
Iris Scholten
eeecae953d
Fix error when dashboard import does not contain template variables
2018-06-05 10:41:24 -07:00
Iris Scholten
00714720c3
Add notifications for exports
2018-06-05 10:41:24 -07:00
Iris Scholten
236f9bd4a1
Convert dashboard ui/src/dashboards/actions/index.js and ui/src/dashboards/utils/templateVariableQueryGenerator.js to typescript
2018-06-05 10:41:24 -07:00
Alex P
6d221d1d8d
Implement DragAndDrop in ImportDashboardOverlay
...
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2018-06-05 10:41:24 -07:00
Alex P
402810f44b
Revert commit 7338312
2018-06-05 10:41:24 -07:00
Alex P
48ebf722a9
Remove unused state
2018-06-05 10:41:24 -07:00
Alex P
60986ed46e
Polish styles of drag and drop component
2018-06-05 10:41:24 -07:00
Iris Scholten
add4b0ebe4
WIP Create DragAndDrop component
...
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2018-06-05 10:41:24 -07:00
Iris Scholten
fcd7de2e8a
Add meta section to the expored file for chronografVersion and any other future metadata
2018-06-05 10:41:24 -07:00
Iris Scholten
cd4031041e
Prevent the user from being able to import a file with invalid JSON or before a file is added
2018-06-05 10:41:24 -07:00
Iris Scholten
74361bf74e
PrettyPrint dashboard export
2018-06-05 10:41:24 -07:00
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
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
Alex P
9b94576a51
Add "Play" icon to icon font
2018-06-01 16:47:18 -07:00
ebb-tide
407fb64394
Merge branch 'master' into ifql/join
2018-06-01 16:09:35 -07:00
ebb-tide
b7f6a1deeb
Remove overspeicialized arg type definitions
2018-06-01 16:05:41 -07:00
Andrew Watkins
0f7c175744
Fix Flux CSV response parsing
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-06-01 15:49:50 -07:00
Andrew Watkins
7bec1b49e8
Add in browser debugger for testing
2018-06-01 15:49:50 -07:00
Christopher Henn
017172c9fc
Upgrade Jest
2018-06-01 15:49:49 -07:00
Christopher Henn
eef8db1c76
Upgrade Jest
2018-06-01 15:49:32 -07:00
Deniz Kusefoglu
48e46c0f31
Validate URL query for zoomed time range input & notify if invalid
...
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
2018-06-01 15:39:43 -07:00
Deniz Kusefoglu
af5fca84ff
Validate URL query time range for lower being before upper in time sequence
...
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
2018-06-01 15:39:43 -07:00
Jared Scheib
0c4ae3beba
Clean up validation of URL query time range inputs
...
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-06-01 15:39:43 -07:00
ebb-tide
c7a07576e7
WIP Validate URL query time range inputs
...
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-06-01 15:39:07 -07:00
Brandon Farmer
3404d7375b
Adds autorefresh with play/pause
2018-06-01 15:05:38 -07:00
ebb-tide
8c6b2bff76
Prune dashtimev1 values for dashboards that do not exist in dasboards page
...
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-06-01 13:40:34 -07:00
ebb-tide
e69e0fa47e
WIP fix typescript inconsistencies
2018-06-01 13:08:29 -07:00
ebb-tide
ced2b894e4
No longer enrich suggestions
2018-06-01 12:21:49 -07:00
ebb-tide
189ff6ae0a
Replace get with getdeep to add types and refactor for clarity
2018-06-01 12:19:41 -07:00
Jared Scheib
b831c08c56
WIP Validate timeRange from URL query param
2018-05-31 18:44:01 -07:00
Jared Scheib
0a2d817586
Prevent unnecessary TemplateControlBar re-render so TemplateControlDropdowns stay open
...
Convert TemplateControlBar to ES6 class to use shouldComponentUpdate
2018-05-31 18:00:18 -07:00
Jared Scheib
0ff22b3c24
Consume zoomed time range from URL queries in DashboardPage state
2018-05-31 17:51:08 -07:00
Jared Scheib
025312a380
Rename query to queries in fn & var names for precision
2018-05-31 17:45:43 -07:00
Jared Scheib
ce0708e56f
Fix tempvars being removed from url upon time range selection
2018-05-31 17:43:41 -07:00
ebb-tide
ffca9ad0f1
Set Dashboard time range from query string middleware
...
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-05-31 16:45:40 -07:00
Brandon Farmer
955b2d278f
Merge pull request #3547 from influxdata/log-viewer/fancy-scrollbars
...
Fixes fancy scrollbars in log viewer
2018-05-31 15:58:17 -07:00
Brandon Farmer
fb3cc1fcd5
Fixes fancy scrollbars in log viewer
2018-05-31 15:35:07 -07:00
Andrew Watkins
535d34ef05
Fix tests
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:31:50 -07:00
ebb-tide
74f13d6114
Prevent null valued object parameters from updating Location query
...
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-05-31 15:29:54 -07:00
Christopher Henn
4894e2e82d
Increase pagination constant
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Christopher Henn
4a3184b968
Fix table header
2018-05-31 15:20:53 -07:00
Christopher Henn
aa30ccf61a
Only show sidebar if multiple results
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Christopher Henn
9b4654c76f
Display message when TagList is empty
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Christopher Henn
93a4786130
Fetch tag values count when fetching tag values
...
...instead of when fetching tag keys.
2018-05-31 15:20:53 -07:00
Andrew Watkins
3db7c6fca0
Simplify result naming in table sidebar
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Andrew Watkins
1c6ba204be
Display proper count in load more button
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Andrew Watkins
a6e16c35de
Cleanup
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Andrew Watkins
c254a8b5da
Enable pagination in tag value lists
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Andrew Watkins
a86c2817a8
Get actual databases for From component
2018-05-31 15:20:53 -07:00
Andrew Watkins
3bb4644aa9
Enable filtering with TagValueListItem
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Andrew Watkins
3fbfd97929
Add loading state to searching
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:52 -07:00
Christopher Henn
aabbbf2102
Display loading state for tag key and value lists
...
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-31 15:20:52 -07:00
Christopher Henn
7bb4afde77
Enable searching tag values
...
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-31 15:20:52 -07:00