Commit Graph

423 Commits (1123f291a1dc1759584794fd6f3a9eb821cd6e17)

Author SHA1 Message Date
Palakp41 3c13a97a90
Merge pull request #2306 from influxdata/feat/display-token-myaccount
Display token on my account token overlay
2019-01-08 11:00:48 -08:00
Iris Scholten 99a2b9167b
Merge pull request #2310 from influxdata/onboarding/stop-header-skipping
fix(ui/onboarding): Prevent unskippable steps from being skipped with progress bar
2019-01-08 10:51:45 -08:00
alexpaxton b69f647c2b
Miscellaneous Polish (#2311)
* Update grid breakpoints

* Fix spacing of action buttons in dashboards index row

* Simplify micro copy on delete task and delete dashboard buttons

* Update HTML page title when a new page is loaded

* Condense layout of line options

* Update test snapshot

* Shrink size of buttons in task page header

* Prevent missing page name in dashboard during initial load

* Make tasks table "Owner" column match column in dashboards table

* Update test snapshots

* Depluralize button copy

* Guard against missing page titles
2019-01-08 10:27:53 -08:00
Iris Scholten bb93b3608d fix(ui/onboarding): Prevent unskippable steps from being skipped with progress bar 2019-01-08 10:11:23 -08:00
Palak Bhojani 071a109eae Display token on my account token overlay 2019-01-08 10:11:15 -08:00
Christopher Henn 01a836a995 Replace node-sass dep with sass 2019-01-08 09:42:32 -08:00
Christopher Henn c301f9150e Enable searching tag values in query builder
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2019-01-08 09:05:28 -08:00
Delmer 93c1a3a80a
feat(ui): add table graph hover time (#2286)
* feat(ui): add hover time for table graphs
* feat(ui): fix table graph sorting error

Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2019-01-08 10:42:33 -05:00
Palakp41 bf74b83724
Merge pull request #2280 from influxdata/onboarding-plugin-bundles
Remove plugin bundles that don't match the protoboards
2019-01-07 16:14:33 -08:00
Iris Scholten 6747b35455 fix(ui/dataLoaders): Ensure the type is streaming if the substep is streaming 2019-01-07 15:01:44 -08:00
Iris Scholten b020f6b0d3 feat(ui/onboarding): Allow filtering of plugin bundles 2019-01-07 14:42:14 -08:00
Christopher Henn f4c34aeda9 Fix plotting independent series 2019-01-07 12:47:32 -08:00
Christopher Henn 8fcd8ca594 Use memoization in DygraphTransformation 2019-01-07 12:47:32 -08:00
Palak Bhojani ae6c0957e3 Remove plugin bundles that don't match the protoboards 2019-01-07 11:55:06 -08:00
Christopher Henn d342fffbc9 Fix legend crash when rendering new time series
We use dygraphs to populate the value for each time series in the hover
legend. These values are stored as state, but can go stale if the
`Dygraph` component is rerendered with new time series. This breaks
assumptions we have about the data passed to the `Legend` component.

This commit adds a guard to the `Legend` component to bail out of
rendering if it encounters invalid data. This prevents the `Dygraph`
component from crashing.
2019-01-07 11:31:19 -08:00
Christopher Henn b286099f60 Polish graph loading states
If a graph switched from the "No Results" state to a loading state, it
would still display "No Results". Now, it will display the loading
state.
2019-01-07 11:07:54 -08:00
Christopher Henn 2770ae5e7b Implement new visual query builder designs 2019-01-07 10:58:18 -08:00
alexpaxton 099d311037
Refactor & Polish Renaming Widget (#2260)
* Refactor rename dashboard component

* moar polish

* Moar

* Rename component to be more generic

* Refactor component to remove flicker on blur
2019-01-07 10:35:33 -08:00
Brandon Farmer 732541f53d Do not truncate time fields in raw view 2019-01-04 16:14:49 -08:00
Brandon Farmer e3e7f1dab4 Remove y2 options 2019-01-04 14:34:12 -08:00
Brandon Farmer 97cafe85c8
Merge pull request #2227 from influxdata/feat/timeRangeStart-flux-variable
Add timeRangeStart variable to queries as preamble
2019-01-04 13:23:41 -08:00
Palakp41 35a038795f
Merge pull request #2226 from influxdata/feat/orgs-members-filtering
Create dummy data for members and add filter box to the header
2019-01-04 12:07:40 -08:00
Palak Bhojani 25d792f052 Create dummy data for members and add filter box to the header 2019-01-04 11:55:18 -08:00
alexpaxton aa1f3d2444
Introduce Confirmation Buttons (#2223)
* Initial pass at Confirmation Delete component

* Require confirmation when deleting a dashboard

* Require confirmation when deleting a task

* Cleanup

* Write unit test

* Rewrite test to use jest mock function
2019-01-04 10:01:50 -08:00
Brandon Farmer e7c33d5c8e Add timeRangeStart variable to queries as preamble 2019-01-04 09:30:04 -08:00
Delmer 3dacbdf162
feat(ui): add field options to view (#2171) 2019-01-04 08:57:04 -05:00
Andrew Watkins 6eca18fc4e
fix(ui/org-view): org view polish
* fix(ui/org-view): list actual tasks from api

* fix(ui/org-view): fix dashboard list not rendering

* fix(ui/org-view): fix bucket modal

* feat(dashboards): add updated at column
2019-01-03 16:18:14 -08:00
Palakp41 ac7e9df407
Merge pull request #2219 from influxdata/feat/org-members-role-column
Update MembersList to include role column
2019-01-03 16:09:49 -08:00
Palak Bhojani 21eb3a26d8 Update MembersList to include role column 2019-01-03 14:39:49 -08:00
Palakp41 36d602822f
Merge pull request #2199 from influxdata/fix-range-now-function
Update range function example constant to include now() instead of now
2019-01-03 14:27:27 -08:00
Palak Bhojani 56d1247e51 Update range function example constant to include now() instead of now 2019-01-03 14:10:38 -08:00
Palak Bhojani 029e3af719 Update telegraf.conf constant to 10 instead of 15 2019-01-03 13:32:35 -08:00
Palak Bhojani def2cdc287 Function name is being condition for any from functions 2019-01-03 12:39:59 -08:00
Palak Bhojani aaffe604fa Revert "Merge branch 'feat/from-function-explorer' of github.com:influxdata/platform into feat/from-function-explorer"
This reverts commit 93ce63e9c9, reversing
changes made to 4c7dfe93de.
2019-01-03 12:37:46 -08:00
Palak Bhojani 93ce63e9c9 Merge branch 'feat/from-function-explorer' of github.com:influxdata/platform into feat/from-function-explorer 2019-01-03 12:33:52 -08:00
Palak Bhojani 4c7dfe93de Add parameter to the onclick on toolbar function to condition on the func name 2019-01-03 12:32:28 -08:00
Palak Bhojani b5802b273b Merge branch 'feat/from-function-explorer' of github.com:influxdata/platform into feat/from-function-explorer 2019-01-03 12:31:20 -08:00
Palak Bhojani 6746d7ca22 Update from function example to bucket_name instead of telegraf/autogen 2019-01-03 11:52:48 -08:00
Palak Bhojani 69fd6fddd6 Add parameter to the onclick on toolbar function to condition on the func name 2019-01-03 11:20:14 -08:00
Brandon Farmer 78744e4b0e
Merge pull request #2194 from influxdata/feat/dataloader-verify-line-protocol
Add verify step for line protocol onboarding
2019-01-03 10:59:12 -08:00
Palak Bhojani ed424c713c Add parameter to the onclick on toolbar function to condition on the func name 2019-01-03 10:14:44 -08:00
Deniz Kusefoglu f79ed49a02
Merge pull request #2189 from influxdata/bugfix/tasks-error-messages
Fix error notifications on tasks
2019-01-03 18:04:44 +00:00
Brandon Farmer f06b258a13 Add verify step for line protocol onboarding 2019-01-03 09:57:39 -08:00
Christopher Henn 89e6851812 Upgrade Parcel to 1.11.0 2019-01-03 09:41:59 -08:00
Deniz Kusefoglu 9df87928ec Fix error notifications on tasks 2019-01-03 13:37:33 +00:00
Palak Bhojani 1c6f188f58 Style copy button to float right in the text area 2019-01-02 14:30:52 -08:00
Palak Bhojani cd698e1f5c Add notification when text is copied to clipboard 2019-01-02 12:25:00 -08:00
Deniz Kusefoglu be1ba8a559
Merge pull request #2178 from influxdata/tables/vertical-time-axis-default
Set default time axis to vertical
2019-01-02 18:58:02 +00:00
Deniz Kusefoglu acab39cf33 Set default time axis to vertical 2019-01-02 18:49:21 +00:00
Palak Bhojani a7ed69c322 Fix minor props issue on Admin Step 2019-01-02 09:18:41 -08:00
Palak Bhojani bab967df00 Pressing Enter takes user to next step or substep of the onboarding process
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2019-01-02 09:11:46 -08:00
Andrew Watkins 3429e8d0c6
feat(auth): rewrite authorization service (#2157)
* feat(view-token-overlay): add view token overlay

* test(tokens): update tests

* chore(auths): rename mock data file

* feat(token-view): clicking on description opens token view modal

* feat(token-view): add ability to close overlay

* feat(token-view): display token permissions with updated permissions shape

* feat(token-view): wip update authorization and permission shapes

* feat(auth): wip refactor auth permissions

* fix(auth): generate permissions via functions

* fix(auth): make Id ID

* chore(types): update generated client

* feat(auth): wip add user and org names to auth

* fix(user): didnt save rebase

* feat(auth): WIP refactor auth

* feat(auth): check for user existence during auth creation

* feat(auth): org must exist during auth creation

* fix(auth): pluralize telegrafs resource type

* docs(http): update swagger definition for the Authorization

* test(auth): fix broken tests

* docs(swagger): update cur_swagger Authrorizations

* fix(api): remove trace from cur_swag

* test(ui/token): update components with new generated type definitions

* feat(http): add lookup service adding names for permissions

* fix(http): remove debugging panics

* chore: go tidy

* fix: unsaved rebase

* test(idpe): add ids to Authorizations for log tests
2018-12-28 15:02:19 -08:00
Delmer efdb373868
Feat/manage labels (#2082)
feat(ui): add labels to org page
2018-12-27 13:19:07 -05:00
Deniz Kusefoglu b59f71697c
Merge pull request #2092 from influxdata/import-table-graph-changes
Merge table features from 1.x, get tables to work in dashboards
2018-12-20 18:24:57 -08:00
Deniz Kusefoglu 03a21fe487 Merge table features from 1.x, get tables to work in dashboards
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
Co-authored-by: Chris Henn <chris@chrishenn.net>
2018-12-20 17:52:48 -08:00
Daniel Campbell b327ff7d07
More onboarding styles (#2086)
* Update styles, fix onboarding weirdness

* update tests

* update test props
2018-12-20 13:57:59 -08:00
Christopher Henn 27b3c6e87b Add “Save As” button and modal to DE
Closes #1867
Closes #1868
2018-12-20 13:54:22 -08:00
Christopher Henn 7928eb762d Fix issue forcing sign in on page refresh 2018-12-20 10:47:17 -08:00
Alirie Gray 9dd5ee0d27 Display red x in sidebar when plugin config is invalid 2018-12-19 15:12:45 -08:00
Daniel Campbell 07edc3108b
update config title styles (#2055) 2018-12-19 13:28:35 -08:00
Daniel Campbell 60cbd661e8
remove CSV option (#2052) 2018-12-19 13:17:26 -08:00
Alirie Gray 34b9e90434
URI array validation (#2034) 2018-12-19 11:50:31 -08:00
alexpaxton 0f79e4ea32
Refactor Clockface Form and Grid (#2033)
* Introduce clockface components for grid layout

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Remove child type enforcement on grid row

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Improve naming of grid column props

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Implement Grid components in view options

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Add default prop to grid column

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Remove concept of grid layout from form elements

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Introduce validated form element

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Optionally render components into a form label

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Make linter happy via massive cleanup

* Update snapshots and fix failing test

* Add optional "required" to form elements

* Clean up grid usage in line graph options

* Update snapshot
2018-12-19 11:34:17 -08:00
Nathaniel Cook d6c0a393b0 Merge branch 'master' into flux-staging 2018-12-19 11:30:55 -07:00
Christopher Henn 33d2b133bd Rewrite hover legend 2018-12-19 10:02:08 -08:00
Daniel Campbell ef6321a708
Data loader button bar (#2039)
* Add Skip to Verify on streaming data steps, style wizard button bar

* Add tests, update snapshots
2018-12-18 18:24:09 -08:00
Iris Scholten d817ff4507 fix(ui/dataLoaders): Separate the error state from the data not found state when listening for data 2018-12-18 15:18:35 -08:00
Palakp41 1e7cadc9b9
Merge pull request #2029 from influxdata/fix/input-id-unnecessary
Remove id prop from input component
2018-12-18 14:59:00 -08:00
Alirie Gray 8b6eefb389
Merge pull request #2026 from influxdata/dataloaders/telegrafs-put-mocks
Create mock for telegraf update function
2018-12-18 14:32:12 -08:00
Palak Bhojani aeb279228d Remove id prop from input component 2018-12-18 14:30:03 -08:00
Palak Bhojani f4a291d1ff Telegraf plugins alphabetized in the sidebar 2018-12-18 13:27:40 -08:00
Alirie Gray 242d9e86e1 Create mock for telegraf update function 2018-12-18 12:34:21 -08:00
Alirie Gray 758af5eaaf Create/update telegraf plugin at verify step of onboarding 2018-12-18 12:06:45 -08:00
Nathaniel Cook b40a67efc7 chore(http): remove plan specs from swagger 2018-12-18 12:45:30 -07:00
Palak Bhojani 8a93b34198 Create styling for file input on streaming data sources 2018-12-18 11:39:54 -08:00
Iris Scholten 52b05fb5a3
Merge pull request #2010 from influxdata/dataLoaders/configure-next-back
fix(ui/dataLoaders): Update onboarding button labels and functionality
2018-12-18 11:26:05 -08:00
Nathaniel Cook f4dfda705a fix(http): remove /api/v2/query/plan
BREAKING CHANGE: The API endpoint exposed internal details about the implementation of
the logical and physical plans. Those data structures need to be free to
change without breaking the API. For now since the endpoint is unused it
is being removed. A similar API may be added back in that correctly
abstracts away the internal details of plans.
2018-12-18 12:17:34 -07:00
Nathaniel Cook e3eff83aaa chore(Makefile): remove yq dependency to generate ts client 2018-12-18 11:19:56 -07:00
Alirie Gray d9e9b1fd85
Merge pull request #2007 from influxdata/fix/authorizations-response
Match shape of get/authorizations to backend response
2018-12-18 10:06:28 -08:00
Iris Scholten 388265604b fix(ui/dataLoaders): Update the button labels and funcitonality in onboarding steps 2018-12-17 17:46:50 -08:00
Brandon Farmer eb81a9c48d
Merge pull request #2001 from influxdata/chore/misc-generated
Chore/misc generated
2018-12-17 16:36:07 -08:00
Alirie Gray 0f825d4ea3 Match shape of get/authorizations to backend response 2018-12-17 16:17:10 -08:00
alexpaxton 73b3d566e5
Add New Icons to Icon Font and Update Nav Icons (#2004)
* Update icon font

* Make nav bar icon font size a whole number

* Change icons in navbar
2018-12-17 14:28:34 -08:00
Deniz Kusefoglu a86f6cd4a4 Remove U as precision option, make default nanoseconds 2018-12-17 13:17:04 -08:00
Delmer e68949074a
feat(ui): add table options (#1994)
feat(ui): add table options

Co-authored-by: Alex Paxton<thealexpaxton@gmail.com>
2018-12-17 14:28:37 -05:00
Brandon Farmer 1b982ea984 Move misc api calls to generated client 2018-12-17 11:14:08 -08:00
Alirie Gray 0d896cb04d
Merge pull request #1980 from influxdata/tokens/delete-token-from-list
Add delete button to token index row
2018-12-17 09:37:45 -08:00
Alirie Gray 59eae630a1 Add delete button to token index row 2018-12-14 15:47:16 -08:00
Iris Scholten 3bc19c25c1
Merge pull request #1963 from influxdata/dataLoaders/required-config-fields
feat(ui/dataLoaders): Check if fields for plugin configuration
2018-12-14 15:07:34 -08:00
Iris Scholten eb0a38e727 feat(ui/dataLoaders): Check if fields are required for plugin configuration 2018-12-14 13:40:24 -08:00
Delmer 71d75cf2ab
feat(ui): disable removing only tab (#1831) 2018-12-14 14:21:59 -05:00
Brandon Farmer 767dededac
Merge pull request #1944 from influxdata/chore/org-resources-generated
Move org resources to use generated client
2018-12-13 17:16:22 -08:00
Alirie Gray 4df5303d9c
Merge pull request #1943 from influxdata/onboarding/update-step-status-on-skip
Handle setting step status when skipping a step
2018-12-13 16:58:22 -08:00
Brandon Farmer 41757e17e7 Move org resources to use generated client 2018-12-13 16:57:53 -08:00
Alirie Gray c812aa2bbb
Merge pull request #1940 from influxdata/onboarding/navigate-to-dashboard-page
Send the user to the dashboard page after completing onboarding
2018-12-13 16:44:18 -08:00
Alirie Gray 381565fe8c Handle setting step status when skipping a step 2018-12-13 16:42:37 -08:00
Brandon Farmer 816e5def43 Switch buckets ui to use generated client 2018-12-13 16:23:48 -08:00
Alirie Gray f24ec32343 Send the user to the dashboard page after completing onboarding
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-12-13 16:13:53 -08:00
alexpaxton 4e7f89d6a1
Prevent nav bar items from printing child coint as sub-items (#1941) 2018-12-13 15:15:30 -08:00
Christopher Henn 0633ad0c67 Refactor Flux visualization parsing
- Rewrite `getTablesByTime` as `spreadTables`
  - Return a single, wide, time-indexed table, which is a more useful format
    for consumers
  - Also return structured metadata about series, in preparation for
    improvements to the hover legend
  - Simplified and more efficient code
- Remove unused `parseValues` utility
- Move `results.test.ts` test cases to `response.test.ts`
- Rewrite `fluxToSingleStat` as `lastValue`, with a simplified call signature
- Fix bug where gauge visualizations would alternate which series they
  displayed a value for when refreshing, dependent on the order of the series
  in each refreshed response
- Simplify `fluxTablesToDygraph` implementation
- Memoize `lastValue` calls in the gauge and single stat visualizations, to
  avoid expensive parsing on each rerender if possible
2018-12-13 15:03:34 -08:00