Commit Graph

6692 Commits (4de6cd653edcd1c22ffcf398e7b522847b003232)

Author SHA1 Message Date
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
Alex P 047daa082a Implement new themes and modes 2018-05-21 16:12:51 -07:00
Alex P f004fe78bd Organize code mirror themes into separate sheets 2018-05-21 16:12:29 -07:00
Alex P 7b26809521 Improve IFQL syntax highlighting 2018-05-21 16:12:11 -07:00
Iris Scholten da5af543cd Fix source selection & CEO initialSource to always be Source type
Refactor lodash get usage in CEO to use wrapped get that
requires generics. Nested generics were at the root of
not being able to determine that initialSource() was not
always returning a Source, and was instead returning a string.

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-05-21 15:58:19 -07:00
Alex P 7510de4f2c Move and rename code mirror theme styles 2018-05-21 15:32:30 -07:00
Alex P 6b37dbd743 Define separate Code Mirror "Modes" for IFQL and TickScript in a constants file 2018-05-21 15:29:44 -07:00
Jared Scheib a1f5712755 Fix source switching by ensuring source is always url string 2018-05-21 11:54:26 -07:00
Alex P 667e442017 Add styles for CodeMirror hints 2018-05-21 11:30:41 -07:00
Jared Scheib c92f5d1724 Correct QueryConfig to Query type in Visualization & VisView 2018-05-21 11:18:40 -07:00
Brandon Farmer 683a9e2362 Use get to find role 2018-05-21 11:16:01 -07:00
Andrew Watkins de59c25140 Introduce new and edit ifql connection forms 2018-05-21 10:45:28 -07:00
Andrew Watkins 6e7263f40d Add abiility to edit existing service 2018-05-21 10:45:28 -07:00
Andrew Watkins fbafc81c1f WIP edit ifql service 2018-05-21 10:45:28 -07:00
Andrew Watkins 76d60b5962 Fix type errors 2018-05-21 10:45:28 -07:00
Andrew Watkins e3c75858e5 Introduce ability to add an IFQL connection 2018-05-21 10:45:28 -07:00
ebb-tide f32af7bb09 Improve temporary amendment of suggestions to include join 2018-05-21 10:45:28 -07:00
Andrew Watkins 3d186b1f93 Introduce CheckServices component 2018-05-21 10:45:28 -07:00
Andrew Watkins cd66eae659 Remove services from ifql table 2018-05-21 10:45:28 -07:00
Andrew Watkins afc7bf7648 Import Service type 2018-05-21 10:45:28 -07:00
Andrew Watkins c5fcb3c59f Give services their own namespace in app state 2018-05-21 10:45:28 -07:00
ebb-tide 2f4123d3a2 Override suggestions temporarily 2018-05-21 10:45:28 -07:00
ebb-tide f43131c99e Add temporary overrides to suggestions 2018-05-21 10:45:28 -07:00
ebb-tide 4538e05710 Improve default join query 2018-05-21 10:45:28 -07:00
Andrew Watkins ea78bf3c66 WIP Introduce LOAD_SERVICES 2018-05-21 10:45:28 -07:00
ebb-tide 8abf433a6e Add append handlers for join function 2018-05-21 10:45:28 -07:00
Andrew Watkins 149cd4a27f Refactor InfluxTable and convert to ts 2018-05-21 10:45:28 -07:00
ebb-tide c78f97972d Add join to funcNames, and use to build declerationFunctions 2018-05-21 10:45:28 -07:00
ebb-tide ba9680d5bf Add join to available declarationfuncs 2018-05-21 10:45:28 -07:00
Jade McGough 393bdfb68e Convert ManageSource page and actions to ts 2018-05-21 10:45:28 -07:00
Andrew Watkins 2304ed7899 Move threesizer into own dir 2018-05-21 10:45:28 -07:00
Andrew Watkins 522d792416 Moved files 2018-05-21 10:45:28 -07:00
Andrew Watkins 1f0a11d528 Correct filename 2018-05-21 10:45:28 -07:00
Andrew Watkins fe29d93c9e Introduce appendFrom funtionality 2018-05-21 10:45:28 -07:00
Andrew Watkins 9748d526a3 Fix broken tests 2018-05-21 10:45:28 -07:00
Andrew Watkins 08cb613529 Display success on analysis 2018-05-21 10:45:28 -07:00
Andrew Watkins 99f87a54f0 Introduce analyze button 2018-05-21 10:45:28 -07:00
Andrew Watkins 4cd7550512 Enable multiple line error spans 2018-05-21 10:45:28 -07:00
Andrew Watkins 5d9a20a7d7 Refine error reporting 2018-05-21 10:45:28 -07:00
Andrew Watkins 66b046aced Prevent suggestions on paste / copy 2018-05-21 10:45:27 -07:00
Andrew Watkins 206496c656 Add line specific error text 2018-05-21 10:45:27 -07:00
Andrew Watkins 539d302312 Move Analyze to inside division: 2018-05-21 10:45:27 -07:00
Alex P 07d0220cd8 Hide children in DivisionHeader when division is collapsed 2018-05-21 10:45:27 -07:00
Andrew Watkins 78092c0e48 End merge 2018-05-21 10:45:27 -07:00
Alex P e4123e6281 Create & Style DivisionMenu component 2018-05-21 10:45:27 -07:00
Andrew Watkins 9254c14048 Add threesizer context menus 2018-05-21 10:45:27 -07:00
Andrew Watkins 9a6a71af5c Introduce DivisionHeader 2018-05-21 10:45:27 -07:00
Andrew Watkins 5c8d23c57b Move Threesizer to own dir 2018-05-21 10:45:27 -07:00
Andrew Watkins 5e35865888 Display user defined functions 2018-05-21 10:45:27 -07:00
Andrew Watkins a7c7945042 Remove untitled variables 2018-05-21 10:45:27 -07:00
Andrew Watkins f6a91342c2 Introduce foundation for forking 2018-05-21 10:45:27 -07:00
Andrew Watkins 1beb3622a3 Add Get Data! button 2018-05-21 10:45:27 -07:00
Andrew Watkins ce08176317 Fix component flickering 2018-05-21 10:45:27 -07:00
Andrew Watkins 1103b40b23 Cleanup 2018-05-21 10:45:27 -07:00
Andrew Watkins 4a0c3a8d7a Introduce getting actual data 2018-05-21 10:45:27 -07:00
ebb-tide 06dc7f861e Use predefined TimeSeriesServerResponse type in LayoutCell 2018-05-21 10:11:01 -07:00
Iris Scholten cd007ed467 Convert Visualization and buildQueriesForGraphs to typescript
Visualization now uses the new context api
2018-05-21 09:37:49 -07:00
Deniz Kusefoglu 3864470d34 Merge pull request #3418 from influxdata/chore/tables-to-TS
Convert tables to TS
2018-05-21 08:59:31 -07:00
Iris Scholten 694e2f47f8 WIP trying Source as a string on save 2018-05-18 19:41:31 -07:00
Iris Scholten 808c4e643f Change sourceLink back to source on queryConfigs/queryWorkingDrafts
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-05-18 18:44:31 -07:00
Brandon Farmer 73e3c58ee2 Merge pull request #3490 from influxdata/feature/multiple-kafka-nodes
Feature/multiple kafka nodes
2018-05-18 17:11:02 -07:00
Brandon Farmer 1437f34db0 Clean up kafka multi config code 2018-05-18 16:55:55 -07:00
Jared Scheib f4e5ca69b6 WIP 2018-05-18 16:36:34 -07:00
Brandon Farmer 357cfe2085 Update changelog 2018-05-18 15:45:34 -07:00
Brandon Farmer 0d5e91b30c Show cluster id in alert rules
- fix slack nickname input on existing configs

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-05-18 15:35:42 -07:00
Brandon Farmer 7b16466d38 No longer allow slack default nickname to be editable 2018-05-18 09:59:30 -07:00
Brandon Farmer 97dd4f8f82 Check for query text in CustomTimeIndicator 2018-05-18 09:29:14 -07:00
Iris Scholten ea3ddda63b Handle enabled for KafkaConfig
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-05-18 09:09:27 -07:00
Iris Scholten dca875cd3f Add ability to create multiple Kapacitor configs
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-05-17 16:04:28 -07:00
Brandon Farmer bf0446f070 Merge pull request #3482 from influxdata/fixes/continue-multiple-slack
Fixes remaining bugs with multi slack handlers
2018-05-17 12:47:40 -07:00
Brandon Farmer b0103b14b4 Fix issues with slack multi node
- Alerts not persisting workspace
- Error when saving handler with empty nickname
- Allow users to add multiple empty rules

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-05-17 11:38:44 -07:00
Alex P 9c3c450752 Merge branch 'master' into ts-party/misc-shared-components 2018-05-17 11:24:11 -07:00
Alex P e319cf590e Type map state to props 2018-05-17 11:13:15 -07:00
Alex P 6476812a1d Make pencil menu into getter to remove ternary 2018-05-17 11:08:03 -07:00
Alex P ae437ab39b Type query getter response 2018-05-17 11:00:21 -07:00
Alex P cd73ef416d Create type for menu item action
Also renaming “MenuOption” to be “MenuItem”
2018-05-17 10:53:37 -07:00