Commit Graph

6767 Commits (1c19faa1f5c0c3f8a94e892b296ed6c0a067ad35)

Author SHA1 Message Date
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
Alex P 10d8ccb0f4 Replace button with compact tab toggle 2018-06-01 16:59:51 -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
Brandon Farmer 3404d7375b Adds autorefresh with play/pause 2018-06-01 15:05:38 -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
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
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
Christopher Henn c6862669ee Enable searching tag keys
...and remove unused top-level filter.

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 a1b19295db WIP
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
Andrew Watkins 74403084f0 Refresh AST when getting time series 2018-05-31 15:20:52 -07:00
Christopher Henn d9942259db WIP
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 c575a09d89 WIP schema explorer
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
Brandon Farmer 2e49a5f30f Add more styling to severity 2018-05-31 13:50:28 -07:00
Brandon Farmer dcd978949b Implements basic log viewer search 2018-05-31 10:50:46 -07:00
ebb-tide fc3e2bc091 Name the default export from FuncArgTextArea correctly 2018-05-30 18:59:41 -07:00
ebb-tide c626809e6f DRY in FuncArds render function 2018-05-30 18:48:36 -07:00
ebb-tide a3aa112cc3 Refactor walker.test to create explicit expected variables 2018-05-30 18:14:54 -07:00
Brandon Farmer d2171be2e0 Merge pull request #3538 from influxdata/log-viewer/graph
Calculate bin size for log viewer
2018-05-30 15:00:33 -07:00
Brandon Farmer aa17232a3a Display tabular log data and Calculate bin size for log viewer 2018-05-30 14:23:12 -07:00
Iris Scholten 82d0f0b3cd Merge pull request #3527 from influxdata/fixes/custom-time-selector
Ensure Cells show only data from TimeSelector Constraints
2018-05-29 14:15:01 -07:00
Iris Scholten 822618fab3 Update addTimeBoundsToRawText to use regex in its string matching checks instead of strings 2018-05-29 13:55:16 -07:00
Iris Scholten ba871fe07e Fix typo in buildCannedDashboardQuery 2018-05-29 13:17:42 -07:00
Iris Scholten 2673d9d62d Update type in timeRanges.ts to extend TimeRange type from src/types/query 2018-05-29 13:16:35 -07:00
ebb-tide 57f5d581e3 Merge branch 'master' into ifql/join 2018-05-29 12:36:57 -07:00
ebb-tide 7cf1f40b21 Remove ArgVar as an allowable argument type 2018-05-29 12:35:48 -07:00
ebb-tide 103b980c1e Add missing suggestion params inside bodynodes function 2018-05-29 12:35:24 -07:00
ebb-tide 2ba143d731 Remove table1 and table2 from state in Join 2018-05-29 11:26:02 -07:00
Alex P 23d345dc03 Merge branch 'master' into log-viewer/placeholder-markup 2018-05-29 10:36:41 -07:00
ebb-tide 0ae074854b Remove unused vars 2018-05-29 09:55:41 -07:00
ebb-tide 0adf01bfb6 Show table1 and table2 in dropdown selector even if they are not in dropdown items 2018-05-29 09:53:58 -07:00
Brandon Farmer 267c7d34bf Merge pull request #3526 from influxdata/log-viewer/graph
Show histogram for log counts in log viewer
2018-05-26 15:24:18 -07:00
ebb-tide f5c30d7f84 Convert objects and arrays to script correctly 2018-05-25 17:20:11 -07:00
ebb-tide 1c9d67ab2e Fix adding unnecessary newlines in script 2018-05-25 17:19:39 -07:00
ebb-tide b0383bbfe1 Stop deriving state from props in join component 2018-05-25 17:18:32 -07:00
ebb-tide 6f02d7b90a Make join return table object values from state 2018-05-25 17:18:03 -07:00
Alex P e1d90dbe0b Remove margin in filter tooltip 2018-05-25 16:56:20 -07:00
Alex P 2ab4b4f6ac Improve readability of logic 2018-05-25 16:24:49 -07:00
ebb-tide 954b1d36f4 Define additional argument types 2018-05-25 16:15:16 -07:00
ebb-tide 08c1ba2a26 Correct default join string 2018-05-25 16:14:41 -07:00
Brandon Farmer 58de6abd80 Show histogram for log counts in log viewer 2018-05-25 16:03:22 -07:00
Alex P 6bbed0cadd Introduce component for individual filters 2018-05-25 15:58:09 -07:00
Alex P f2fff2385b Create SCSS shadow mixin
this is used a bunch of places in the UI, going to work this in over
time
2018-05-25 15:57:38 -07:00
ebb-tide 12f10e7d9d Improve Join Function 2018-05-25 15:57:09 -07:00
Iris Scholten 6e4cc9937f Convert ui/src/shared/data/timeRanges to typescript 2018-05-25 15:52:16 -07:00
Iris Scholten 6efbf38ce8 Add and ensure upper time bound in querytext when query is not parseable into a query config 2018-05-25 15:52:05 -07:00
ebb-tide 64d66cf186 Display object and array args in preview 2018-05-25 15:47:53 -07:00
ebb-tide ac896351d2 Return objects and array values from ast 2018-05-25 15:23:33 -07:00
Alex P 28aeb076d7 Rename files and flesh out filter bar component 2018-05-25 11:59:49 -07:00
Alex P d61ffc906c Mock out search state and interactions 2018-05-25 10:54:46 -07:00
Alex P abef7cd87a Add static markup & styles for Search and Filtering 2018-05-24 16:52:24 -07:00
Alex P 74e4837074 Condense page header 2018-05-24 15:34:53 -07:00
Andrew Watkins b26416ef60 Merge pull request #3519 from influxdata/ifql-table
Ifql table
2018-05-24 14:24:48 -07:00
Iris Scholten 2847b5f214 Merge pull request #3522 from influxdata/feature/tempvars-cell-titles
Template Variables in Cell Titles
2018-05-24 14:20:17 -07:00
Andrew Watkins 399c2dc8fa Tweak styles
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-24 13:50:17 -07:00
Andrew Watkins 5e6f7d7484 Improve column sizing
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-24 13:18:31 -07:00
Andrew Watkins 7cad3357c4 Handle script edge cases
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-24 13:06:46 -07:00
ebb-tide 5953b70d18 Add object type to ifql mode for codemirror 2018-05-24 12:00:38 -07:00
Andrew Watkins 8284f29230 Move service fetching
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-24 11:01:38 -07:00
Andrew Watkins d8ed336248 Automatically select table on initial render 2018-05-24 09:37:17 -07:00
Andrew Watkins 264afed4b8 WIP add table vis to TimeMachine 2018-05-23 15:55:59 -07:00
Iris Scholten ff9166fe3e Replace temp vars in cellName 2018-05-23 15:05:16 -07:00
Alex P 0f4f430f55 Use text block icon in sidenav 2018-05-23 14:38:11 -07:00
Alex P 92498a3029 Create scaffolding components for page layout 2018-05-23 14:35:25 -07:00
Alex P bd0e8ff4be Use fragment instead of wrapper div 2018-05-23 14:35:04 -07:00
Alex P 507122b182 Introduce stylesheet for logs viewer page 2018-05-23 14:34:45 -07:00
ebb-tide 6dbb118c51 Merge branch 'master' into ifql/join 2018-05-23 14:28:33 -07:00
Andrew Watkins 8bddfe43f4 Enable sidebar selection of IFQL script results
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-23 14:15:16 -07:00
Brandon Farmer b9bd417746 Fix import of get to getDeep 2018-05-23 12:48:05 -07:00
Brandon Farmer f362d2046d Merge pull request #3508 from influxdata/features/log-viewer-scaffold
Add log viewer page with header
2018-05-23 12:27:27 -07:00
Brandon Farmer 5a73f1fdf0 Populate current namespace when getting source 2018-05-23 12:11:00 -07:00
Andrew Watkins 6e997a7f35 Add IFQL script response parser
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-23 11:30:52 -07:00
Andrew Watkins 3e1131c8ff Kind of type buildQueriesForLayouts 2018-05-23 09:18:21 -07:00
Andrew Watkins 173346beb1 WIP introduce tables 2018-05-22 16:44:45 -07:00
Andrew Watkins cbab52c45a Merge pull request #3507 from influxdata/ifql/save-service
Persist ifql script
2018-05-22 15:22:00 -07:00
Alex Paxton 5e6a883239 Merge pull request #3506 from influxdata/design/new-icons
Moar Icons
2018-05-22 15:19:49 -07:00
Andrew Watkins fc3be53e9e Update action type to use enum 2018-05-22 15:06:13 -07:00
Brandon Farmer f23417221a Add log viewer page with header 2018-05-22 15:05:02 -07:00
Andrew Watkins 7274928e5c Persist ifql script
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-22 14:50:07 -07:00
Alex P 7456d83cb0 Add bar chart & text block icons
Experimenting with using these for the log viewer
2018-05-22 14:45:29 -07:00
Alex P 7556f0336a Update Icon Font
- Remove unused “arrow” icons
- Redesigned Cube icon
- Redesigned Refresh icon
- Redesigned Download icon
- Import & Export icons
2018-05-22 14:03:57 -07:00
Alex P 772819bac7 Shrink vertical handles and font size in collapsed state 2018-05-22 11:45:53 -07:00
Alex P a2a5d45f81 Ensure that page container fills screen when no header is present 2018-05-22 11:45:26 -07:00
Alex P 3cfb06d138 Make buttons in division headers XS size 2018-05-22 11:44:58 -07:00
Alex Paxton f297bcd3f5 Merge pull request #3499 from influxdata/ifql/style-suggestions
Ifql/style suggestions
2018-05-22 11:06:46 -07:00
Jared Scheib b72d06823f Merge pull request #3500 from influxdata/fix/ceo_source_change
Fix/ceo source change
2018-05-22 10:44:24 -07:00
Alex P 15b1719e13 Merge branch 'master' into ifql/style-suggestions 2018-05-22 10:34:12 -07:00
Jared Scheib 267a33c8b2 Use consistent logic for finding source in getter 2018-05-22 10:19:01 -07:00
Iris Scholten b980d1a8b3 Rename getNested to getDeep 2018-05-22 10:13:56 -07:00
Brandon Farmer ed3bdec523 Merge pull request #3492 from influxdata/fixes/missing-role-on-logout
Use get to find role
2018-05-22 10:04:45 -07:00
Brandon Farmer 35e264f65e Fixes topic saving for kafka handler 2018-05-21 17:50:22 -07:00
Iris Scholten 1ea21b36f9 Merge remote-tracking branch 'origin/master' into fix/ceo_source_change 2018-05-21 17:20:53 -07:00
Iris Scholten 392ad3a63f Fix initialSource getter to find source from props sources
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-05-21 16:54:49 -07:00
Alex P ac2373e262 Merge branch 'master' into ifql/style-suggestions 2018-05-21 16:30:00 -07:00
Jared Scheib 559d42c26a Correct spelling of 'fallack' to 'fallback' in getNested 2018-05-21 16:22:53 -07:00
Iris Scholten c0e907b84f Rename nested lodash get wrapper to getNested for idiomatic in-place clarity 2018-05-21 16:22:38 -07:00
Alex P 5ffea9a52e Highlight function arg in function body
This regex is kinda simplistic and could be more specific but I’ll do
more testing / improvement on this later
2018-05-21 16:20:46 -07:00
ebb-tide 8f2385d065 Pass declarationsFromBody to FuncArgs 2018-05-21 16:20:10 -07:00