Commit Graph

2829 Commits (8dd8d1f79ed2b4dc7a9c7aa4da8a2311f93d2c87)

Author SHA1 Message Date
alexpaxton b4f4a11cff
feat(notebooks): display raw data within query pipes (#18341)
* refactor: add left indentation on all pipes to make titles easier to scan

* refactor: store results in raw and parsed formats

This intended is a bandaid fix until raw data table comes from Giraffe and accepts data in the standard way

* refactor: remove unused scss variable

* feat: create raw data components and display within query pipes

* fix: remove console log

* refactor: begone lodash
2020-06-02 16:18:47 -07:00
Zoe Steinkamp 7c88a79d58
Fix: Bin size limit (#18247)
* Fix: Bin size limit

limit bin size to 670, which craches on my computer beyong this

And added test to confirm its working

* Fix: Bin size limit

remove curlies

* Fix: Bin size limit

* Fix: Bin size limit test

* Fix: Bin size limit test
2020-06-02 16:26:17 -06:00
Zoe Steinkamp 3374c4c19b
fix: Flakey explorer test wrong test id (#18338)
* fix: Flakey explorer test wrong test id

specifcally the 'can filter aggregation functions by name from script editor mode'

* fix: Flakey explorer test wrong test id

* fix: Flakey explorer test wrong test id

* fix: Flakey explorer test wrong test id
2020-06-02 16:26:04 -06:00
Bucky Schwarz 59b82df30f fix: update app-metrics path to point to the right place 2020-06-02 09:12:37 -07:00
Alex Boatwright 25b73be687
fix: wrap flux validation (#18321) 2020-06-02 09:08:34 -07:00
Ariel Salem 65fe3d49e0
feat(flag-redirectTo): using old UI feature flag to flag redirectTo (#18320) 2020-06-01 15:24:38 -07:00
Andrew Watkins eb1041c7d1
test(e2e): dashboard notes (#18318)
* test: add typings for cy commands

* test(dashboard): creation of note cell
2020-06-01 14:54:39 -07:00
Andrew Watkins 17ccbbefcb
test(e2e): rename collectors to telegrafs (#18317) 2020-06-01 13:11:06 -07:00
Zoe Steinkamp d3ca54fcc4 Fix: Bin size limit test 2020-06-01 14:07:28 -06:00
Zoe Steinkamp bcd3292d53 Fix: Bin size limit test 2020-06-01 14:07:28 -06:00
Zoe Steinkamp b6bc4057f2 Fix: Bin size limit 2020-06-01 14:07:28 -06:00
Zoe Steinkamp 75ae52cc1b Fix: Bin size limit
remove curlies
2020-06-01 14:07:28 -06:00
Zoe Steinkamp 474a30e355 Fix: Bin size limit
limit bin size to 670, which craches on my computer beyong this

And added test to confirm its working
2020-06-01 14:07:28 -06:00
Bucky Schwarz 3bd249fdfc feat: add feature-flagged app metrics 2020-06-01 11:12:05 -07:00
Scott Anderson aed25eca00
chore(flux): Add Flux 0.68 functions (#18303)
* chore(flux): Add Flux 0.68 functions
* chore(flux): fixed formatting issues in fluxFunctions.ts
2020-06-01 11:02:36 -06:00
Alex Boatwright 494d6d4f76
feat: allowing notebooks to submit queries (#18257) 2020-05-29 09:16:20 -07:00
alexpaxton 7df56f5d6c
feat(notebooks): introduce minimap (#18270)
* refactor: extract notebook scoped scss variables to own file

* feat: WIP introduce minimap components

* feat: attempt to add minimap state to AppContext

* refactor: update notebooks layout to handle minimap alongside pipe list

* refactor: remove border from markdown preview

* refactor: add spacing between minimap items

* chore: cleanup styles and markup

* feat: give panels an ID attribute to facilitate scrolling to their position

* feat: enable minimap to update scroll position of pipe list via notebook context

* feat: make minimap scrollable

* feat: style hidden pipes differently in minimap

* fix: remove console logs

* refactor: move scrolling related code into separate context

* refactor: use refs instead of IDs for getting a panel's scroll position

* refactor: remove minimap state from AppSettingProvider

* refactor: use persisted redux to store minimap visibility preference

Seems like the kind of thing that would have ended up here eventually so I'll save future me some trouble and do it now

* fix: add & repair unit tests
2020-05-28 17:38:02 -07:00
Jakub Bednář 97200f1b92
feat(clientLibs): add Kotlin and Scala client library (#18198)
* feat(clientLibs): add Kotlin and Scala client library

Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>

* feat(clientLibs): add Kotlin logo from - https://resources.jetbrains.com/storage/products/kotlin/docs/kotlin_logos.zip

Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>

* feat(clientLibs): add Scala logo from - https://github.com/kaeawc/scala-logo

Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>

* fix(clientLibs): fixing logos, small code cleanup

* fix(clientLibs): run prettier

Co-authored-by: Russ Savage <russ@influxdata.com>
2020-05-28 15:01:38 -07:00
Timmy Luong d30540e0b2 chore: update giraffe 2020-05-28 14:46:11 -07:00
Jakub Bednář 96110ec5f9
fix(swagger): added missing Permission type: dbrp (#18260) 2020-05-28 11:50:48 -06:00
alexpaxton 139aa40988
feat(notebooks): add empty state (#18256)
* feat: add empty pipe list component + graphic

* feat: display empty state when no pipes exist

* feat: display label text next to add cell buttons

* fix: use preferred import path

* feat: create and use webpack alias "assets" for loading images
2020-05-27 16:14:37 -07:00
alexpaxton 0eb1e06ba1
feat(notebooks): make panels focusable (#18233)
* feat: make panels click to focus instead of hover

* chore: prettier

* fix: prevent event bubbling from move panel button

This causes the focus behavior to do weird things

* feat: add title attributes to notebook panel buttons

* refactor: change default cell name to "Cell"

* refactor: show panel buttons on hover and focus state

* refactor: wrap updatePanelFocus in useCallback
2020-05-27 11:12:41 -07:00
Ariel Salem 0770046659
feat(redirectTo): added UI part of redirectTo logic for CLOUD users to redirectTo original links after logging in (#18214) 2020-05-27 05:45:06 -07:00
Alex Boatwright 448b598834
feat: moving markdown editing to monaco (#18231) 2020-05-26 15:14:02 -07:00
alexpaxton dae7953806
feat: change "Submit" to "Run Notebook" (#18230) 2020-05-26 15:02:36 -07:00
Brandon Farmer f04fc81ca6
Merge pull request #18226 from influxdata/update-lsp-0.5.11
chore: update lsp to 0.5.11
2020-05-26 15:00:20 -07:00
Alex Boatwright 30f8978974
chore: cleaning up code styling (#18223) 2020-05-26 14:17:50 -07:00
Alex Boatwright 70073ff793
fix: remove example pipe (#18224) 2020-05-26 13:09:32 -07:00
Brandon Farmer 4c59dc6738 chore: update lsp to 0.5.11 2020-05-26 11:50:38 -07:00
Alex Boatwright cfdfec04cd
feat: allow monaco to autogrow (#18205) 2020-05-26 11:38:56 -07:00
alexpaxton 743fb67546
feat(notebooks): introduce markdown pipe type (#18181)
* chore: light cleanup

* feat: add generic controls prop to pipe context

* feat: introduce primitive version of markdown panel

* feat: WIP enable edting / preview modes of markdown panel

* fix: prettier

* chore: simplify means of updating meta

* refactor: make new markdown cells in edit mode and focused by default

* refactor: add controls back into notebook panel

* refactor: make script editor have min-height instead of notebook panel
2020-05-22 11:54:57 -07:00
Alex Boatwright 6e67fb4f6f
feat: add query type for notebooks (#18168) 2020-05-22 10:51:47 -07:00
Zoe Steinkamp 78466ba736
fix: Change max width to fix hover (#18189)
* fix: Change max width to fix hover

* fix: Change max width to fix hover

prettier fix
2020-05-22 11:47:05 -06:00
Ariel Salem 24ce3606a3
chore(hb_parse_error): created a JSON validation function to prevent HB error and correctly log errors (#18199) 2020-05-22 10:13:17 -07:00
Ariel Salem 27b7a5d387
fix(variable_hydration): reverted filter function to keep dashboards working as expected (#18191)
* fix(variable_hydration): reverted filter function to keep dashboards working as expected

* revert(variable_thunk): reverted to the original implementation
2020-05-21 17:14:09 -07:00
Deniz Kusefoglu 782a0d0f05
fix(customChecks): bring back custom check saving (#18194) 2020-05-21 16:56:30 -07:00
Ariel Salem bf13e339fe
chore(reduce_honeybadger_noise): saveCheckFromTimeMachine was reporting Honeybadger errors when users were trying to save checks with the same name. (#18188) 2020-05-21 12:21:12 -07:00
Zoe Steinkamp 99074a262d
fix: adjust dropdown width + changelog additions (#18185)
Also update changelog
2020-05-21 12:50:53 -06:00
Zoe Steinkamp f1b3e97c1e
Check statuses (#18171)
* Fix: Loading status checks

The first pass at fixing the loading screen

* Fix: Loading status checks

* Fix: Loading status checks

Fix non used variables

* Fix: Loading status checks

fix copy

* Fix: Loading status checks

prettier
2020-05-21 12:43:05 -06:00
Andrew Watkins d361afc289
chore(multiUser): remove feature flag (#18180) 2020-05-21 08:52:20 -07:00
Alex Boatwright 27fa70a4d7
feat: keep notebook meta out of the pipes (#18163) 2020-05-20 12:26:23 -07:00
Ariel Salem 0c44328419
fix(variable_hydration): limiting variable hydration to changing variables (#18071) 2020-05-20 09:22:00 -07:00
Timmy Luong 0360d0d5c0 chore: sync flux in yarn.lock and package.json 2020-05-20 09:19:27 -07:00
Ariel Salem b913eea568
fix(parseYBounds): parseYBounds was parsing integers, causing floating numbers to be trimmed. Updated parseYBounds to parseFloat instead (#18166) 2020-05-19 14:46:25 -07:00
Brandon Farmer ebbc8025b3
Merge pull request #18165 from influxdata/update-flux-lsp-0.5.8
chore: update flux-lsp to 0.5.8
2020-05-19 14:19:40 -07:00
Alex Boatwright aa3ac572c9
feat: adding basic notebook header (#18117) 2020-05-19 14:17:58 -07:00
Brandon Farmer 2ec0d26699 chore: update flux-lsp to 0.5.8 2020-05-19 11:33:37 -07:00
Alex Boatwright 001e3b75c5
fix: faster dashboards (#18142) 2020-05-19 09:18:24 -07:00
Jakub Bednář 6fee1562f9
docs(clientLibs): updated version of Java client, changed how to initialize Ruby client (#18094)
Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>
2020-05-19 08:59:37 -07:00
Zoe Steinkamp d5b3ccb6f0
Fix: Fancy scrollbars (#18151)
* Fix: Fancy scrollbars

* Fix: Fancy scrollbars
2020-05-18 18:40:40 -06:00
alexpaxton b3037680f8
feat(ui): polish notebook panels (#18141)
* refactor: organize panel components in folder

* refactor: add page control bar to notebooks page

* chore: update example pipe to use new name of notebook panel

* refactor: break panel elements out into individual components

* fix: add trailing space

* refactor: make panel buttons purely signalling

Remove ID from type as well as props

* refactor: consolidate panel move buttons into a single component

* refactor: import/export notebook panel from notebook component

* fix: remove usePanelState hook

This is causing some linter errors

Also panel state has been simplified a bunch and is only used by one component so I'm leaving the state code in NotebookPanel

* feat: moving around (#18145)

* refactor: remove id from panel action function types

* refactor: enforce movement bounds based on index of pipe

Co-authored-by: Alex Boatwright <drdelambre@gmail.com>
2020-05-18 15:20:23 -07:00
Zoe Steinkamp 9eb180b6c7
refactor: remove fancy scroll bars (#18016)
* refactor: remove fancy scroll bars

the code changes in influxdb, the final removal of fancy scrollbars, this will need to go out with clockface changes

* refactor: remove fancy scroll bars

Prettier fixes
2020-05-18 10:33:03 -06:00
Bucky Schwarz 074a319239 chore: alphabetize flags list 2020-05-18 05:35:39 -07:00
Timmy Luong 05fb0e3d23 chore: restore flux version 2020-05-17 21:32:00 -07:00
Alex Boatwright 89fe6834b0
feat: adding basic structure for notebooks (#18108) 2020-05-15 17:18:25 -07:00
Timmy Luong 1199136bbd refactor(ui): use find util rather than rely on having an array 2020-05-15 13:25:06 -07:00
Zoe Steinkamp 9770d0ac44
chore: upgrade clockface 2.2.0 (#18092)
* chore: upgrade clockface 2.2.0

* chore: upgrade clockface 2.2.0

test fix

* chore: upgrade clockface 2.2.0

fix test
2020-05-15 11:02:39 -06:00
Deniz Kusefoglu c6d60924e5
feat(demodata): Flip demodata feature flag (#18103) 2020-05-14 18:26:51 -07:00
Timmy Luong a2f1a5073d fix(ui): wait for org to be available then fetch org settings just once 2020-05-14 17:52:08 -07:00
Deniz Kusefoglu 020f895013
feat(demodata): Response statuses are numbers (#18110) 2020-05-14 17:39:05 -07:00
Deniz Kusefoglu 5102d311b0
feat(demodata): Polish demo data error reporting (#18107)
* feat(demodata): Add type do demodata notification

* feat(demodata):  do not report dashboard would exceed quota errors

* feat(demodata): notify user of demodata availability error in dashboards

* feat(demodata): Correct error reporting for demodata

* feat(demodata): Add error if demodata bucket is missing
2020-05-14 15:55:52 -07:00
Zoe Steinkamp 17f4cc14f2
fix: Adjusting the width of dropdown (#18059)
* fix: Adjusting the width of dropdown

This will make it so the width of the dropdown will adjust to the longest variable name

* fix: Adjusting the width of dropdown

Updating font

* fix: Adjusting the width of dropdown

fix prettier
2020-05-14 15:30:32 -06:00
Brandon Farmer 7dd2ea9b09 chore: update flux parser
- better error handling
- updated language specs
2020-05-14 13:28:22 -07:00
Alex Boatwright a280a50f99
feat: adding notebook context (#18089) 2020-05-14 13:17:19 -07:00
Andrew Watkins 828302c430
feat: tokens empty state (#18060)
* feat(tokens): add TokensEmptyState component

* feat: token empty state
2020-05-14 08:25:05 -07:00
Alex Boatwright 8903c939fe
feat: move cursor to end of text (#18063) 2020-05-13 12:23:14 -07:00
Michael Desa ddefe22ae5 chore(shared/constants): increase flux response limit to 27MB
This was detemined by looking at the 99th percentile of query responses.
2020-05-13 11:49:56 -07:00
Ariel Salem 8365f7617f
fix(useVisYDomainSettings): added check for undefined values (#18082) 2020-05-13 11:15:04 -07:00
Deniz Kusefoglu 2a1511c188
feat(demodata): Disambiguate dd errors (#18075) 2020-05-13 11:11:03 -07:00
Alex Boatwright 246eeef794
feat: notebook flag (#18087) 2020-05-13 11:08:51 -07:00
Greg 6ad1640641
feat: use new demodata member apis (#18058) 2020-05-13 11:55:15 -06:00
Ariel Salem aad4eea933
feat(y_axis_domain): updated y-axis domain settings to allow min OR max values to be set. (#18040) 2020-05-12 14:36:23 -07:00
Deniz Kusefoglu 396e7f629f
feat(demodata): Add GA events for demodata (#18047)
* feat(demodata): Initialize window.dataLayera

* feat(g-analytics): Add generic GA event function

* feat(demodata): Add demodata bucket Added event

* feat(demodata): Add remove dd event

* feat(demodata): Fire query analytics event when org is queried

* feat(demodata): Convert DashboardHeader to FC

* feat(demodata): Alert on demodata dashboard viewed

* feat(demodata): fireGAEvent to fireEvent

* feat(demodata): move window.dataLayer override to fireEvent function

* feat(demodata): Fix fire event name where it is called
2020-05-12 13:53:19 -07:00
Timmy Luong d1bcc9d498
fix: change null to empty array for default value 2020-05-12 13:05:26 -07:00
Timmy Luong 2a58a92973
fix: add default value for "settings" 2020-05-12 12:13:49 -07:00
Andrew Watkins 5cd872721d
fix: password length (#18041)
* fix: password length

* chore: go mod tidy

* chore: switch err message

* chore: remove backend validation
2020-05-12 10:14:09 -07:00
Deniz Kusefoglu 46ad19500a
feat(demodata): Place dd dashboard errors behind feature flag (#18027)
* feat(demodata): Alert user if demodata switched off

* feat(demodata): Get created Dashboard directly from api call function

* feat(demodata): Return flux errors as part of query response parsing

* feat(demodata): Fix linting errors

* feat(demodata): Return flux code directly
2020-05-12 10:03:22 -07:00
Ariel Salem c6b2fc5d2c
feat(custom-tz): added the ability to set UTC as the timezone when making custom time range queries (#18011) 2020-05-11 09:15:48 -07:00
Brandon Farmer 38f900ced4 chore: update LSP 2020-05-08 14:02:41 -07:00
Deniz Kusefoglu b58fb7ebe8
feat(demodata): Make dd error messages more explanatory (#18006)
* feat(demodata): Make dd error messages more explanatory

* feat(demodata): improve error writing with two trycatches
2020-05-07 19:07:36 -07:00
Zoe Steinkamp 8c72f1e5e1
fix: 404 page on about 'users' (#18009) 2020-05-07 16:15:19 -06:00
Ariel Salem 20054d1d0c
Revert "feat(custom-timerange-tz): timeZone dropdown is now integrated in setting custom time ranges for queries (#17992)" (#18008)
This reverts commit 97c15012a1.
2020-05-07 15:04:24 -07:00
Ariel Salem 97c15012a1
feat(custom-timerange-tz): timeZone dropdown is now integrated in setting custom time ranges for queries (#17992) 2020-05-07 14:39:39 -07:00
Andrew Watkins 1d1bb484dd
chore: multiUser defaults to true (#17976) 2020-05-07 10:54:10 -07:00
Deniz Kusefoglu 33f77d7fea
feat(demodata): get error message from error for notification (#17983) 2020-05-06 17:26:49 -07:00
Iris Scholten ac28d5bc44
Merge pull request #17849 from influxdata/refactor/org-nav-items
chore(ui): move users & about nav items
2020-05-06 16:36:30 -07:00
Timmy Luong d984d35c06 refactor(ui): update variable names, code patterns, and CloudUpgradeNavBanner 2020-05-06 15:59:46 -07:00
Timmy Luong 0a3cd47047 refactor(ui): use fetch instead of axios 2020-05-06 15:59:46 -07:00
Timmy Luong 4e0672e78e feat(ui): hide the "Upgrade Now" button for Cloud users when appropriate 2020-05-06 15:59:46 -07:00
Jakub Bednář 9bde937c54
docs(clientLibs): improve client docs: (#17968)
* `Initialize the Client` always contains full range of required imports
* `Initialize the Client` contains `org`, `bucket` and `token` constant for reuse on all places
* Timestamps are always current time => user view written data in default settings of DataExplorer

Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>
2020-05-06 09:06:38 -07:00
Andrew Watkins 4243bca075
fix(queryBuilder): display loading text (#17963)
* fix(queryBuilder): display loading text

* fix: add loading text to dropdown
2020-05-05 20:52:00 -07:00
Brandon Farmer c4824e8f2b chore: update lsp dependency to 0.5.5 2020-05-05 09:44:06 -07:00
Deniz Kusefoglu 9bc7a37c0b
feat(demodata): Optimize demodata lookup (#17947)
* feat(demodata): Optimize demodata lookup

* feat(demodata): style demodata dropdown
2020-05-04 14:50:03 -07:00
Ariel Salem 2eb70ee041
fix(zero_value_checks): checks can now have a value set to 0 (#17933) 2020-05-04 05:00:28 -07:00
Alex Boatwright 369186d339
fix: show buckets in alerting (#17930) 2020-05-01 11:26:36 -07:00
Alex Boatwright 0f09f4d2ab
fix: safari rendering bug in checks (#17929) 2020-05-01 10:28:07 -07:00
Alex Boatwright 7be7328c3b
feat: frontend consumption of feature flags (#17926) 2020-04-30 16:44:09 -07:00
Alex Boatwright 22899aee25
fix: load variables one at a time (#17875) 2020-04-30 13:59:38 -07:00
Alex Boatwright 446563cdfa
fix: remove toggle on note cell (#17914) 2020-04-29 15:52:43 -07:00
Alex Boatwright 09f3ba5787
fix: monaco polish (#17908)
* fix: monaco cleaning

* chore: tsc

Co-authored-by: drdelambre <drdelambre>
2020-04-29 15:39:06 -07:00
Andrew Watkins a6af6d29b4
chore: upgrade ts to 3.8.3 (#17913) 2020-04-29 15:38:49 -07:00
Ariel Salem 89f4914f3d
feat(github): removing the Github social sign-up option until further notice (#17909) 2020-04-29 15:03:25 -07:00
Deniz Kusefoglu 080d77751b
feat(demodata): Notify on demodata success and failure. (#17902)
* feat(demodata): Do not delete dashboard when delete demodata bucket

* feat(demodata): Refactor demodata dropdown

* feat(demodata): Fetch DD_Buckets in DD_Dropdown

* feat(demodata): Refactor notifications

Co-authored-by: alexpaxton <thealexpaxton@gmail.com>

* feat(demodata): Style demo data dropdown

* feat(demodata): Remove double console logging of error

* feat(demodata): Error on success and failure

* feat(demodata): Remove duplicate console.error

* feat(demodata): fix lint errors

* feat(demodata): Reintroduce Notification Style and add testID

* feat(demodata): Add dd success notification and links to notifications

Co-authored-by: alexpaxton <thealexpaxton@gmail.com>

* feat(demodata): fix test

* feat(demodata): Simplify getDemoDataBucketMembership function

* feat(demodata): Remove unused notification copy

* feat(demodata): Extend notification duration

* feat(demodata): Return null instead of false

* feat(demodata): Do not console.error if also notifying user

* feat(demodata): Add todo item

Co-authored-by: alexpaxton <thealexpaxton@gmail.com>
2020-04-29 14:52:36 -07:00
Alex Boatwright 463c8bab1f
fix: make single stats work in catalina (#17910) 2020-04-29 14:42:09 -07:00
drdelambre 00e60091b6 chore: tsc 2020-04-29 13:21:18 -07:00
drdelambre 0aaa6bdf88 fix: monaco cleaning 2020-04-29 13:09:30 -07:00
Alex Boatwright 0d48f4c09a
fix: persist local feature flag overrides (#17882) 2020-04-28 11:04:49 -07:00
alexpaxton d56966face
feat(ui): ability to create a bucket from time machine (#17860)
* feat: WIP allow on the fly bucket creation

* refactor: fully implement create bucket in both places

* refactor: use separate popover based component for selector list bucket creation

* chore: prettier

* chore: cleanup buckets tab

Doesn't need org, overlay state, or any overlay components

* chore: prettier

* refactor: convert CreateBucketOverlay to function component

* chore: changelog

* chore: cleanup

* feat: add integration test for creating a bucket from the query builder

* refactor: rebuild selector list bucket creator with useReducer

* refactor: keeping it DRY - both bucket creation components use the same state management
2020-04-27 14:19:12 -07:00
Daniel Campbell 5028b8a969 fix(tests): update test-ids 2020-04-27 10:32:36 -07:00
Daniel Campbell fd8dc3544a fix(ui): remove unused imports 2020-04-27 10:32:36 -07:00
Daniel Campbell 08e0c74e52 chore(ui): move multiUser feature flag 2020-04-27 10:32:36 -07:00
Daniel Campbell a86143a000 chore(ui): rename members tab to users in cloud 2020-04-27 10:32:36 -07:00
Daniel Campbell 0b5a6b68d6 fix(ui): about url 2020-04-27 10:32:36 -07:00
Daniel Campbell cef760234f chore(ui): move org nav items 2020-04-27 10:32:36 -07:00
Alex Boatwright 5c00430e0b
fix: move feature flag state into redux (#17806) 2020-04-27 10:12:33 -07:00
Scott Anderson decddb4710
chore(flux): add flux 0.66 functions (#17741)
* chore(flux): add flux 0.66 functions
* chore(flux): fix syntax issues in flux functions list
2020-04-23 10:54:53 -06:00
Ariel Salem a1d1a67a1b
feat(SignUpForm): Removed sign-up functionality since it's no longer relevant (#17841) 2020-04-22 14:37:48 -07:00
Brandon Farmer e29a2c78de
Merge pull request #17837 from influxdata/tag-key-completion
feat: integrate tag key completion in ui
2020-04-22 13:13:03 -07:00
Deniz Kusefoglu 5a663ead25
feat(demodata): polish (#17838)
* feat(demodata): Add flexbox around label

* feat(demodata): Change website monitoring bucket name
2020-04-22 12:32:01 -07:00
Brandon Farmer 5fe4520f4f feat: integrate tag key completion in ui 2020-04-22 11:25:27 -07:00
Alex Boatwright f5d19c1a26
fix: backfilling views and cells when we grab dashboards (#17822) 2020-04-22 10:39:52 -07:00
Alex Boatwright aa940a9739
fix: reapply new flux result parser (#17757)
now its behind a flag
2020-04-22 09:49:22 -07:00
Ariel Salem 960ec964f6
fix(Logout): Reverted the Logout component functionality to maintain the original IDPE-based logout (#17830)
fix(package.json): Updated the cloud-dev command to have the CLOUD_URL land on the same default port as Quartz

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2020-04-22 09:42:39 -07:00
Alex Boatwright ee39940a5e
fix: catch date format issue in table view type (#17823) 2020-04-21 15:42:14 -07:00
Johnny Steenbergen e5e5500401 feat(dashboards): extend dashboard update API to take cells as a put doc operation 2020-04-20 14:04:45 -07:00
Ariel Salem 615fa1c813
feat(SigninPage): Updated the Signin checkSession to correspond to API changes (#17772)
* feat(ui): get type from clientConfig to send with authorization request

* feat(LoginPageContents): Updated the LoginPageContents error when trying to log-in with the wrong username/password combo

* revert(Signin): Removed the checkSession logic from the UI to reduce overall authentication complexity. Since redirecting to the /login page will now happen from the API, we no longer need to worry about validating a user session from the UI

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2020-04-20 08:54:11 -07:00
Alex Boatwright e09e073acd
fix: allow dev mode with ingress prefixes (#17788) 2020-04-17 14:48:30 -07:00
alexpaxton 4fec6a3ae0
chore(ui): upgrade to Clockface 2.1.0 (#17767)
* chore: upgrade clockface dependency

* fix: update all instances of ResourceCard to match the new API

* fix: bandaid style for spacing in resource lists

* fix: make dashboard grid align with page

* fix: update card selectors labels e2e test

* fix: update meta item selector in buckets e2e test

* fix: ensure popover is dismissed and doesn't obscure other check card items

* fix: update selector in dashboard card interaction test

* fix: pass in meta items as children instead of an array to avoid map key issues

* refactor: ensure meta items are composed instead of passed in as an array

* fix: cleanup
2020-04-17 12:07:25 -07:00
Brandon Farmer 6633641d48 feat: ui measurement completion 2020-04-17 11:11:34 -07:00
Timmy Luong a86c7d7db6 test(ui): remove unnecessary unit test (already covered in e2e test) 2020-04-16 09:45:05 -07:00
Timmy Luong 81bc56cba0 fix(ui): update icons in Telegraf config 2020-04-16 09:45:05 -07:00
Timmy Luong fdb2524406 fix(ui): unset active plugin to allow user to leave info page 2020-04-16 09:45:05 -07:00
Alex Boatwright 20283a6713
fix: removing overflow for now (#17761) 2020-04-15 17:01:12 -07:00
Alex Boatwright 2aeb391178
feat: adding client library option for buckets (#16680) 2020-04-15 16:22:15 -07:00
Timmy Luong 0ec94e93a0 fix(ui): remove spacing above error message in Cells 2020-04-15 12:43:37 -07:00
Timmy Luong be06131423 fix(ui): add error messaging for cells in dashdboard view 2020-04-15 12:43:37 -07:00
Ariel Salem 91178cebb7
fix(auth0.checkSession): added an Auth0 check to see whether an Auth0 session already exists for the incoming user and redirects the user based on whether they have a valid session or not in Auth0 (#17753) 2020-04-15 11:16:05 -07:00
alexpaxton 56f0d77d12
feat(ui): add single-color schemes for visualizations (#17740)
* feat: add single color schemes for line graphs

* chore: changelog
2020-04-15 10:07:57 -07:00
Alex Boatwright 3ba003b55d
fix: revert "fix: legacy fromFlux translation (#17725)" (#17752)
This reverts commit 2424d80117.
2020-04-15 09:34:25 -07:00
Deniz Kusefoglu c891e96d6b
feat(demodata):Fix demodata bucket name constant (#17738) 2020-04-14 21:54:32 -07:00
Alex Boatwright 2424d80117
fix: legacy fromFlux translation (#17725)
migrating from giraffe to influxdb 🤞
2020-04-14 14:12:08 -07:00
Deniz Kusefoglu aa1f21b58a
feat(demodata): Pass bucket to removeBucket function (#17731) 2020-04-13 23:32:10 -07:00
alexpaxton 8130aa07a3
feat(ui): resource sorting dropdowns (#17321)
* feat(ui): replace sortable dashboard table headers with sort dropdown

* refactor(ui): remove unecessary components

* refactor(ui): add testIDs to dropdown

* refactor(ui): move tasks filter to page control bar

* fix(ui): remove unused import

* feat(ui): replace tasks sortable headers with sort dropdown

* fix(ui): make search widget more responsive

* fix(ui): make dashboard sort dropdown maintain size

* refactor(ui): consolidate resource sorting into a single component

* refactor(ui): standardize tabbed page headers

* fix: use correct import paths

* refactor(ui): implement resource sorting dropdown for variables

* refactor(ui): implement sorting dropdown on labels list

* chore: delete unused stylesheet

* refactor: implement sort dropdown for templates list

* refactor: implement sort dropdown on buckets list

* refactor: update design of "what is a bucket?" card

* refactor: implement sort dropdowns in telegrafs list

* fix: appease linter

* refactor: implement sort dropdown on scrapers list

* chore: add testIDs to resource sorter

* fix: remove unused code

* fix: update buckets and telegraf e2e tests

* fix: update labels e2e test

* fix: update variables e2e test

* refactor: move dashboards list empty state into own component

* fix: oops derp ayyyy

* chore: changelog

* refactor: use more resource specific types for sort keys
2020-04-13 15:38:03 -07:00
Bucky Schwarz 0d092d3dbb chore: cleaned up markdown usage in the ui 2020-04-13 14:34:32 -07:00
Bucky Schwarz 29bd1c0b20 feat(cloud): add MarkdownRenderer a cloud-aware wrapper of react-markdown 2020-04-13 14:34:32 -07:00
Alex Boatwright fa887b8768
feat: move flux parser (#17681) 2020-04-13 14:30:38 -07:00
Timmy Luong 859b2bd642 fix(ui): update e2e test for orgs 2020-04-13 14:17:58 -07:00
Timmy Luong 53f2cced0c fix(ui): add component to route hierarchy to handle org renaming 2020-04-13 14:17:58 -07:00
Ariel Salem d16406650b
chore(ui): The default transitions were slow and choppy, leading to a weird UX. Updated the Transition component to override default transition effects to speed and smooth them update. (#17719) 2020-04-13 13:03:06 -07:00
Deniz Kusefoglu b1ba20c79c
feat(demodata): Demodata UI polish (#17690)
* feat(demodata): set UI display elements for demodata buckets

* feat(demodata): instantiate demodata template on bucket request

* feat(demodata): Adjust width of demodata dropdown

* feat(demodata): Filter demodata buckets array by instantiated buckets

* feat(demodata): Add delete button functionality to demodata buckets

* feat(demodata): Delete demodata dashboard if it exists

* feat(demodata): Remove unused action

* feat(demodata): Connect DemoDataBucketCard to redux

* feat(demodata): Create separate delete demodata thunk

* feat(demodata): Alphabetize bucket

* feat(demodata): import template json

* feat(demodata): api import

* feat(demodat): fix anon import

* feat(demodata): Avoid fetching all buckets on add and remove demodata buckets

* feat(demodata): await DemoDataTemplates

* feat(demodata): Add prefetch

* feat(demodata): Linting
2020-04-10 16:01:07 -07:00
alexpaxton b987f1da66
fix(ui): make cell cloning more predictable (#17700)
* fix: simplify cloned cell positioning

* refactor: append "(Clone)" to the name of cloned cells
2020-04-10 14:23:41 -07:00
Ariel Salem 4bb34bb056
fix(TelegrafInstructions): Updated the TelegrafInstructions to remove the warning to tell users to keep the token (#17705) 2020-04-10 11:16:43 -07:00
Timmy Luong 615b1f456a fix(ui): allow mouse cursor inside Script Editor for Safari 2020-04-09 16:52:02 -07:00
Russ Savage 336644a858
fix(fluxFunctions): fix typo in assert methods, group under tests (#17694)
* fix(fluxFunctions): fix typo in assert methods, group under tests

* chore(changelog): add 17694 to changlog
2020-04-09 10:27:58 -07:00
Alex Boatwright 9b8a607940
fix: load dashboard before accessing (#17691) 2020-04-09 08:05:05 -07:00
Timmy Luong e170b5d2df
fix(ui): update giraffe to fix spacing between ticks (#17692)
* fix(ui): update giraffe to fix spacing between ticks

* chore: update CHANGELOG
2020-04-08 17:45:56 -07:00
alexpaxton 0b94b09527
feat(ui): sort getting started dashboards by modified (#17657)
* feat(ui): sort getting started dashboards widget by modified

* feat(ui): make recent dashboards list searchable

* refactor(ui): increase font size of tutorials list

* fix(ui): prettier

* chore(ui): update changelog
2020-04-08 16:19:56 -07:00
alexpaxton a43e9c4197
refactor(ui): polish labels interactions (#17660)
* refactor(ui): smooth out interactions of inline labels editor

* refactor(ui): remove visibility state from labels editor

* fix(ui): prevent labels list from expanding oddly

* chore(ui): update changelog
2020-04-08 14:55:06 -07:00
alexpaxton ce69045708
fix(ui): enable token overlay headers to wrap (#17661) 2020-04-08 13:20:18 -07:00
Andrew Watkins 9d791d12ed
fix: read only errors (#17664)
* fix: display notification on ne create

* fix: create dashboard from DE notify

* fix: keep user logged in on /write 403
2020-04-08 08:31:31 -07:00
Alex Boatwright 0b6f8eada9
fix: escaping tags in flux queries (#17665) 2020-04-07 17:34:26 -07:00
Deniz Kusefoglu 7b0ca1a2bc
fix(alerting): ensure that status fields exist before renaming them (#17662) 2020-04-07 14:27:54 -07:00
Bucky Schwarz e55c085141 fix: sidebar upgrade now should now redirect properly 2020-04-07 12:38:51 -07:00
Ariel Salem ffa48c59b8
fix(ui): fixed dark lines in checks (#17651) 2020-04-07 10:56:55 -07:00
Bucky Schwarz 6854ead72f fix: force a server redirect to /upgrade 2020-04-07 08:02:19 -07:00
Alex Boatwright bd91a81123
feat: swallow the error for now (#17637) 2020-04-06 17:26:24 -07:00
alexpaxton 0677b88f9b
feat(ui): remove treenav flag (#17581)
* refactor(ui): remove treeNav feature flag

* chore(ui): remove unused components

* chore(ui): remove unused routes from settings

* chore(ui): update changelog

* fix(ui): repair login e2e test

* fix(ui): repair tasks navigation e2e test

* fix(ui): repair query builder navigation test

* fix(tenants): remove portion of test

@aliriegray mentioned I should make this change to match her PR https://github.com/influxdata/influxdb/pull/17474
2020-04-06 17:06:43 -07:00
Ariel Salem c11b2d89e1
chore(ui): refactor logout to utilize new featureFlagging from IDPE (#17625) 2020-04-06 14:14:00 -07:00
Alex Boatwright 2746a8b2ce
fix: more variable dependancies (#17617) 2020-04-06 13:48:14 -07:00
alexpaxton 58c5cf6aea
fix(ui): ensure all dashboard cards render the same size (#17612)
* fix(ui): ensure all dashboard cards render the same size

* fix(ui): ensure dashboard cards with long names don't deform

* chore(ui): changelog

* fix(ui): update dashboard card name selector in e2e test
2020-04-06 13:14:28 -07:00
Andrew Watkins be4c8e590e
fix: read only notifications (#17626)
* fix: bubble template create permission error

* fix(read-only): display delete unauth message
2020-04-06 13:09:35 -07:00
Bucky Schwarz 7bf234ab89 feat(cloud): change text on Upgrade button to Upgrade Now 2020-04-06 05:02:31 -07:00
Alex Boatwright d2aefbd8fd
fix: hierarchy of variables is back (#17609) 2020-04-03 16:16:55 -07:00
Ariel Salem d2ea7c30ec
chore(ui): updated login page styling to match Quartz (#17600) 2020-04-03 15:17:08 -07:00
Ariel Salem 53a13e5a77
fix(regression): function inserts now happen on new line (#17552) 2020-04-03 13:31:05 -07:00
alexpaxton 9678dc67d8
chore(ui): remove most fancy scrollbars (#17543)
* chore(ui): remove unused component

* refactor(ui): remove fancy scroll and clean up alert builder

* chore(ui): delete unused components

* refactor(ui): replace fancy scrollbar in query builder

* refactor(ui): replace fancyscrollbars in token viewer

* refactor(ui): replace fancyscrollbars in telegraf config builder

* refactor(ui): replace fancy scrollbars

* refactor(ui): replace fancyscrollbar in empty graph error

* refactor(ui): update markdown cell styles and remove fancy scrollbars

* refactor(ui): ensure markdown changes look good in light mode

* refactor(ui): refactor code snippet to not use fancy scrollbars

* refactor(ui): replace last 2 instances of Fancy scrollbars

* pull mock and import out of describe block

* fix(ui): use less magic numbers for font sizes

Co-authored-by: Bucky Schwarz <d.w.schwarz@gmail.com>
2020-04-03 13:14:24 -07:00
alexpaxton b394fdf28c
feat(ui): redesign alerting index to be responsive (#17583)
* feat(ui): redesign alerting index to be responsive

* chore(ui): update changelog

* fix(ui): ensure tested elements are visible

* fix(ui): actually fix e2e tests
2020-04-03 12:28:20 -07:00
Ariel Salem 207f174d75
fix(ui): fixed single column links bug (#17601) 2020-04-03 10:24:31 -07:00
Alex Boatwright 96321ff8bd
fix: validate existence of limit api response objects (#17605) 2020-04-03 10:06:00 -07:00
Vlasta Hajek 39978aa500
docs(clientLibs): update-go-client (#17572) 2020-04-03 09:22:24 -07:00
Alex Boatwright 15435d1682
fix: dont wait for query hydration (#17587) 2020-04-02 16:10:19 -07:00
Brandon Farmer d38d47867e
Merge pull request #17575 from influxdata/update-lsp-042
chore: update LSP dependency to 0.4.2
2020-04-02 10:08:34 -07:00
Alex Boatwright c87e3abf0b
feat: metaKey click opens dashboards in a new tab (#17567) 2020-04-02 09:53:12 -07:00
Brandon Farmer a58b3347ed chore: update LSP dependency to 0.4.2 2020-04-02 09:13:31 -07:00
Deniz Kusefoglu 1a0cb0b803
feat(sampledata): Add demodata bucket type (#17553)
* feat(sampledata): Add readableRetention to buckets remove ruleString

* feat(sampledata): Add new demodata bucket type and card

* feat(sampledata): Fix buckets in test

* feat(sampledata): Return empty array if demodata bucket fetching errors

* feat(sampledata): Do cleanup

* feat(sampledata): Make components more readable
2020-04-01 20:39:17 -07:00
Alex Boatwright 5762e64e0b
feat: dashboard var linking (#17522)
please don't be broken
2020-04-01 16:47:32 -07:00
Alex Boatwright 9d3294b31c
fix: filter variables to only those you are using (#17549) 2020-04-01 15:36:44 -07:00
Bucky Schwarz 83c0f297c7 perf: TableGraphTable: tweak rendering internal state
fields that are often re-updated but rarely change value were moved out of react state
and into internal component state. changing these values won't force re-renders.
2020-04-01 11:54:39 -07:00
Alex Boatwright 1461dbb1d3
fix: allow the addition of variables (#17538) 2020-04-01 11:15:08 -07:00
Bucky Schwarz 0070350cad fix: tech-debt workaround - add limit of 100 to checks fetches to show all checks 2020-04-01 11:00:49 -07:00
Bucky Schwarz 02946a48a2 fix: view editor overlay should respect table view options 2020-04-01 10:04:25 -07:00
Bucky Schwarz 572e81e3ea chore: use performance timer to measure query duration, rather than date 2020-04-01 10:04:25 -07:00
Alex Boatwright eaaf66d59b
fix: adding contextual time to timemachine (#17528) 2020-04-01 05:26:22 -07:00
Alex Boatwright 91d632ea5c
fix: filter out empty nodes on the ast (#17517) 2020-03-31 17:49:03 -07:00
alexpaxton 0e4289c595
fix(ui): include link to non-multi-user members cloud page (#17459)
* fix(ui): include link to non-multi-user members cloud page

* refactor(ui): conditionally render anchors or router links depending on whether the destination is cloud or internal

* refactor(ui): ensure old /profile route is supported

* refactor(ui): consolidate multi-user quartz links
2020-03-31 14:50:24 -07:00
alexpaxton f617657e8d
feat(ui): update design of flux editor toolbar (#17488)
* feat(ui): redesign flux editor

* chore(ui): delete threesizer

* fix(ui): repair explorer e2e tests

* refactor(ui): make variables easier to test

* fix(ui): appease prettier

* fix(ui): update selectors in dashboards view test
2020-03-31 14:45:47 -07:00
Scott Anderson 1816425e52
chore(flux): added Flux 0.65 functions (#17506) 2020-03-31 15:26:24 -06:00
Alex Boatwright 6fa144192f
chore: cleaning variables (#17360)
this refactors variable selectors so that they work everywhere
2020-03-31 13:14:34 -07:00
Deniz Kusefoglu 6aa7c0830e
feat(sampledata): Request buckets with demodata orgID (#17507) 2020-03-31 12:52:33 -07:00
Jakub Bednář d7f7cf26b1
docs(clientLibs): fix examples for PHP and JavaScript/Node.js (#17497)
* docs(clientLibs): fixed examples for PHP

Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>

* docs(clientLibs): fixed examples for JavaScript/Node.js

Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>

* docs(clientLibs): fixed examples for Python

Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>

* docs(clientLibs): fixed examples for Ruby

Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>
2020-03-31 08:55:44 -07:00
Ariel Salem a8becf1a73
fix(ui): fixed export token refresh bug (#17471) 2020-03-27 13:43:17 -07:00
Deniz Kusefoglu ad38ed1215
feat(sampledata): Add demo data dropdown and membership request to buckets (#17454)
* feat(sampledata): Create Add demodata button behind feature flag

* feat(sampledata): Add demodata actions and reducers

* feat(sampledata): Add sampledata api functions

* feat(sampledata): Place bucket fetching behind feature flag

* feat(sampledata): Clean up

* feat(sampledata): Add actions to demodata dropdown

* feat(sampledata): No need to map over demodata buckets

* feat(sampledata: Fetch demo data buckets user is member to

* feat(sampledata): const is const

* feat(sampledata): Add demodata to testID string

* feat(sampledata): simplify buckets endpoint check

* feat(sampledata): Remove feature flag component for isFlagEnabled function
2020-03-26 17:31:47 -07:00
alexpaxton 844abce937
fix(ui): fix Quartz URLs (#17455)
* fix(ui): remove rogue slashes

* fix(ui): remove extra bit of URL

* fix(ui): ensure proper usage path is being used

* fix(ui): use proper billing path

* fix(ui): default org link to /about if in cloud

* fix(ui): prevent OSS members tab from appearing in cloud

* chore(ui): prettier

* fix(ui): update links in org nav

* fix(ui): direct org header to /users in cloud
2020-03-26 17:21:54 -07:00
Bucky Schwarz a142d11d9a feat: configurable js linewriter 2020-03-26 14:11:55 -07:00
alexpaxton 0bdc90a58f
refactor(ui): enable background image on signin page (#17424) 2020-03-26 09:43:00 -07:00
alexpaxton f1e2dad6d6
feat(ui): implement new navigation design (#17206)
* refactor(ui): WIP implement tree nav

* feat(ui): enable expand/collapse behavior of nav tree

* chore(ui): rename "settings" to "organization"

* fix(ui): add nav tree key to mock state

* refactor(ui): remove CloudNav component

* fix(ui): cleanup

* refactor(ui): move nav tree object to constants file

* fix(ui): use correct icon for data nav item

* fix(ui): repair affected test

* refactor(ui): use a more explicit type than boolean for nav state

* chore(ui): write test for nav bar state action

* refactor(ui): handle org switching with an overlay

* chore(ui): replace reference to local clockface with reference to package

* fix(ui): update nav selector in tasks e2e test

* chore(ui): add testids to all nav items for easier selection

* fix(ui): prevent expanded navbar from breaking e2e tests

* fix(ui): update broken login e2e test

* fix(ui): udpate selectors in query builder test

* refactor(ui): align nav structure with quartz counterpart

* fix(ui): prettier

* refactor(ui): move usage and billing into user widget

* refactor(ui): use correct url for usage and billing

* chore(ui): upgrade clockface dependency to 2.0.3

* refactor(ui): implement short labels in the navigation tree

* refactor(ui): wrap tree nav in feature flag

* chore(ui): prettier

* chore(ui): remove deleted file accidentally included in rebase

* refactor(ui): use get in TreeNav mstp to prevent potential future breakage

* chore(ui): set default values for treeNav feature flag

* refactor(ui): reinstate cloud nav but wrapped with a feature flag

* refactor(ui): reinstate old navbar wrapped in feature flag

* feat(ui): add Upgrade button to all page headers except DashboardPage

* feat(ui): add upgrade banner to treenav

* chore(ui): remove comments

* refactor(ui): polish upgrade banner

* refactor(ui): only show tiny banner ad if screen is large enough and menu is collapsed

* refactor(ui): ensure settings page supports old and new navigation

* chore(ui): cleanup

* chore(ui): revert comment change

* chore(ui): ensure custom classname exists on new upgrade button

* chore(ui): cleanup

* fix(ui): remove duplicate route

* refactor(ui): make const for repeated comparison

* refactor(ui): cleanup from pr review

* fix(ui): oops

* refactor(ui): update user widget to follow most recent logout approach

Co-Authored-By: Ariel Salem <ariel.salem1989@gmail.com>

Co-authored-by: Ariel Salem <ariel.salem1989@gmail.com>
2020-03-25 13:57:24 -07:00
Ariel Salem 9ce2af7fdf
fix(ui): fixed logout functionality so that Logout Component is displayed and used on cloud (#17416) 2020-03-25 11:18:41 -07:00
Ariel Salem dc915569f3
fix(ui): updated duplicate check error message (#17404) 2020-03-24 14:03:10 -07:00
Alex Boatwright 40d3dd8cc4
fix: show all dashboards (#17399) 2020-03-24 11:14:55 -07:00
Ariel Salem 4d60f8e3c9
chore(ui): updated the login page to new design (#17397) 2020-03-24 11:03:39 -07:00
Ariel Salem 4f65cda351
fix(ui): fixed threshold check bug that wouldn't allow threshold checks to be created where fields had spaces in them (#17391) 2020-03-23 19:17:52 -07:00
Brandon Farmer de2ea6d139 feat: ui lsp integration
- Code folding
- Document Symbols
- Rename
- References
- Go to definition
2020-03-20 16:12:47 -07:00
Johnny Steenbergen 132eaef33a fix(ui): change biuld optimization for parralel option
dropping it to 2 for the time being. seeing a lot of failures in CI when
parallel is set to true.

issue aligns with webpack issue: https://github.com/webpack-contrib/webpack-bundle-analyzer/issues/214#issuecomment-458227171
2020-03-20 08:18:04 -07:00
Ariel Salem 42ad3818ca
fix(ui): resolved telegraf bucket dropdown bug and undefined token issue (#17363) 2020-03-19 20:01:42 -07:00
Brandon Farmer 4d377b2fb0 feat: Add flux function signatures to ui
- Pulls signatures from LSP
2020-03-19 13:59:08 -07:00
Alex Boatwright e7c363e60d
fix: neateo (#17358) 2020-03-19 12:21:29 -07:00
Brandon Farmer a5255b748c feat: add flux editor errors 2020-03-18 18:27:57 -07:00
Andrew Watkins 794b8cd9e1
fix: set bucket limit to 100 (#17336)
* fix: set bucket limit to 100

* chore: extract limit to constant
2020-03-18 12:42:18 -07:00
Ariel Salem 8a027bccca
fix(ui): removed more dead code (#17318) 2020-03-17 14:43:39 -07:00
Ariel Salem e81d764fe6
fix(ui): fixed styling for login page (#17315) 2020-03-17 13:44:08 -07:00
Bucky Schwarz 46e2e2b301 feat(cloud): add user data and org data events to dataLayer 2020-03-17 13:24:50 -07:00
Bucky Schwarz 500ac5a2cd feat(cloud): add shallow wrapper around eventing in gtm 2020-03-17 13:24:50 -07:00
alexpaxton eb226776ff
feat(ui): add dashboard empty state graphics (#17297)
* chore(ui): add graphic assets for empty dashboard state

* feat(ui): implement empty dashboard graphic for both light and dark modes

* chore(ui): update changelog
2020-03-16 16:35:36 -07:00
alexpaxton 2b0a9be5de
refactor(ui): replace text with icons in dashboard light/dark toggle (#17300) 2020-03-16 16:35:03 -07:00
Scott Anderson 7588e126c9
chore(flux): add experimental csv.from function (#17298)
* chore(flux): add experimental csv.from function

* fix(fluxFunctions): lowercasing URL param

Co-authored-by: Russ Savage <russorat@users.noreply.github.com>
2020-03-16 17:10:08 -06:00
alexpaxton b0d459fccf
feat(dashboards): enable optional light mode for dashboards (#17232)
* refactor(ui): distill presentation mode toggle into discreet component

* refactor(ui): introduce foundations for Light Mode

* fix(ui): ensure light mode does not affect dashboards index view

* feat(ui): enable light mode for some chart types

* refactor(ui): adapt dashboard page title to light mode

* refactor(ui): polish appearance of cells in light mode

* fix(ui): make detection of dashboard viewing more resilient and precise

* fix(ui): pass in missing prop

* feat(ui): allow gauge to render as either light or dark

* fix(ui): ensure light mode of gauge is scoped to dashboard cells and not veo

* feat(ui): refactor table graphs to conditionally render light mode

* feat(ui): enable Heatmap graphs to render in light mode

* feat(ui): enable histograms to render in light mode

* feat(ui): enable scatterplots to render in light mode

* fix(ui): remove console log

* fix(ui): update test

* refactor: calc theme state

* fix: type

* refactor: fix action types

* chore: remove dead code

* refactor(ui): rename props from "lightMode" to "theme"

* refactor(ui): make variables control bar respond to theme

* fix(ui): update mockState to match current appState shape

* fix(ui): update affected tests

* refactor(theme): remove currentPage from localStorage

* chore(ui): update changelog

* fix(ui): update test

Co-authored-by: Andrew Watkins <watts@influxdb.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2020-03-16 14:34:33 -07:00
alexpaxton eda7e058e2
feat(ui): update oss login page (#17291)
* feat(ui): update design of oss login page

* chore(ui): remove splash page components

* chore(ui): update changelog

* chore(ui): sort css attributes alphabetically
2020-03-16 12:58:19 -07:00
Ariel Salem ab1081ac78
feat(ui): made slight UI changes to the login page as per design requests (#17255) 2020-03-16 06:39:37 -07:00
alexpaxton 57de029118
feat(ui): display graphic in time machine top when in empty state (#17271)
* feat(ui): display graphic in time machine top when in empty state

* chore(ui): prettier fix
2020-03-13 15:41:16 -07:00
Russ Savage a5c368e5f8
fix(jslogo): fix for displaying in firefox (#17240)
* fix(jslogo): fix for displaying in firefox

* chore(changelog): update changelog for #17240
2020-03-13 10:34:20 -07:00
Michael Desa de252b3017 fix(ui/src/alerting): reduce points per check from 300 to 100
This was done to reduce amount of data returned to the client. This is
problematic when there are a large number of series that get returned
from a query. Long term we will want to limit the topN tables so that
this is not an issue.
2020-03-13 08:02:51 -07:00
Deniz Kusefoglu 1ce19b520d
feat(sampledata): Allow users to query buckets in 'other' org (#17207)
* feat(sampledata): Query appropriate org in queries

* feat(sampledata): Add bucket resource fetching to Dashboard and DE

* feat(sampledata): Get orgID from query in refreshing view

* feat(sampledata): Be the change you want to see

* feat(sampledata): Only use loading state if resource has not been loaded before

* feat(sampledata )Get buckets from api endpoint rather than through query

* feat(sampledata): Direct load tag selector and values queries to correct org

* feat(sampledata): Protect against buckets that have no orgID.
2020-03-12 16:58:55 -07:00
Scott Anderson 047e19548f
chore(flux): Add geo package functions (#17190)
* chore(flux): Add geo package functions

* corrected geo package references

* added geo.s2CellIDToken flux function
2020-03-12 11:11:50 -06:00
alexpaxton b845d6a1ba
fix(ui): remove gradients from logo svg components (#17214)
* fix(ui): remove gradients from logo svg components

* chore(ui): update changelog

* fix(rubylogo): tab to space

Co-authored-by: Russ Savage <russorat@users.noreply.github.com>
Co-authored-by: Russ Savage <russ@influxdata.com>
2020-03-12 09:40:19 -07:00
Jakub Bednář 88a6a693fe
feat(clientLibs): add PHP client library, update JavaScript/Node.js examples (#17165)
* feat(clientLibs): add PHP client library

Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>

* feat(clientLibs): update JavaScript/Node.js examples

Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>

* fix(php): adding logo

* fix(php): renaming graphic

Co-authored-by: Russ Savage <russ@influxdata.com>
2020-03-11 15:23:14 -07:00
Ariel Salem d2a49b8052
fix(ui): fixed dashboard cells and check query builder update bug (#17202) 2020-03-11 14:35:39 -07:00
Ariel Salem 09807736fd
fix(ui): fixed yield bug that was caused by race condition (#17208) 2020-03-11 12:51:18 -07:00
Alex Boatwright 49c1d85770
fix: enable variables again (#17141) 2020-03-10 15:40:16 -07:00
alexpaxton 01f3161bd1
fix(ui): fix visual defects from clockface 2 upgrade (#17176)
* refactor(ui): redesign and clean up query tabs

* refactor(ui): remove extra space in VEO empty state

* fix(ui): ensure gauge fonts render correctly

* fix(ui): ensure single stat font renders correctly

* fix(ui): update veo to match styles of other overlays

* fix(ui): update font definition in monaco editors

* refactor(ui): soften contrast of grid axes with background

* fix(ui): prevent references to Roboto

* chore(ui): prettier

* refactor(ui): use more resilient variable

* refactor(ui): polish appearance of alert and check history pages

* fix(ui): ensure create check dropdown is not clipped

* refactor(ui): update colors in view type dropdown

* refactor(ui): ensure view options toggle and panel are consistent across editors
2020-03-10 12:33:36 -07:00
Ariel Salem b678ace7aa
fix(ui): updated styling so that telegraf configs maintain their original size when filtering configs (#17168) 2020-03-10 09:42:57 -07:00
Ariel Salem 952e31fe4c
fix(ui): updated trigger to be onFocus as well as onChange (#17161) 2020-03-10 09:10:02 -07:00
Bucky Schwarz f3d871fff8 fix: change variable name to match new clockface variable names 2020-03-09 12:00:50 -07:00
alexpaxton a0505cf73d
chore(ui): upgrade to Clockface 2.0.0 (#17086)
* chore(ui): upgrade clockface dependency to the latest version

* refactor(ui): address breaking changes from clockface

* refactor(ui): update design of home page

* chore(ui): prettier

* refactor(ui): update page headers to conform to new design

* refactor(ui): import stylesheet from Clockface and delete obsolete local styles

* refactor(ui): cleanup

* refactor(ui): factor out PageTitleWithOrg

* refactor(ui): remove font files and references to them

* fix(ui): update dashboard index and task index e2e tests

* fix(ui): update failing e2e test for Data Explorer

* fix(ui): derp

* refactor(ui): remove string interpolation

* refactor(ui): redesign renamable page title to match new clockface style

* refactor(ui): update VEO and CheckEO headers

* refactor(ui): flatten query builder design

* refactor(ui): polish save as dialog

* refactor(ui): cleanup

* refactor(ui): use Rubik in giraffe theme

* fix(ui): upgrade to utilize font and other fixes

* refactor(ui): fix jitter in renamable page title
2020-03-09 11:08:38 -07:00
Ariel Salem 4b3b1308f0
feat(ui): login & sign-up page for IDPE (#17049) 2020-03-09 10:33:34 -07:00
Ariel Salem a017f0c4a2
fix(ui): displaying variable list default values (#17097) 2020-03-09 09:31:52 -07:00
Randy Coulman 47944e5bfa
chore(multi-user): rename nav link for org members (#17128)
Co-authored-by: Andrew Watkins <watts@influxdb.com>

Co-authored-by: Andrew Watkins <watts@influxdb.com>
2020-03-06 11:44:49 -08:00
Alex Boatwright b982974c60
fix: stops variables from crashing (#17127)
Co-authored-by: drdelambre <drdelambre>
2020-03-06 11:44:31 -08:00
Ariel Salem ddc0d9afd8
fix(ui): disabled group functionality for check query builder (#17113)
fix(ui): disabled group functionality for check query builder
2020-03-06 10:45:59 -08:00
Ariel Salem 148b55b9f6
fix(ui): fixed dashboard cell error for disk usage (#17120)
fix(ui): fixed dashboard cell error for disk usage
2020-03-06 09:21:00 -08:00
Ariel Salem 037d4845d6
Revert "fix(ui): disabled group functionality for check query builder (#17110)" (#17112)
This reverts commit ff6d9c87cb.
2020-03-05 17:14:44 -08:00