* refactor: move views logic to separate directory
* refactor: normalize views
* fix: spinners
* fix: dont render views until status is done
* fix(http/dashboards): view shape not returning from getDashboard
* test: delete irrelevant and redundant test
* fix: go tidy
* test: skipping monaco test
* chore: sort type exports
* chore: cleanup
* feat(agg-window): Add duration input to aggreagate functionn selector
* feat(agg-window): rename duration strings to durations
* feat(agg-window): Add window periods for common time ranges
* feat(agg-window): Handle set auto select durations correctly
* Update changelog
* feat(agg-window): Use triple equality:
* chore: move variable types
* refactor: wip normalize variables resource
* fix: typo
* chore: move creators and thunks into separate files
* fix: removal of default state
* refactor: normalize set variables
* chore: fix api imports
* refactor: normalize set and remove variable
* refactor(variables): use const assertion in actions
* refactor(ui/variables): update editor action to use const assertion
* fix: variables not showing up for dashboard
* fix: types
* fix: index variable values properly
* fix: type
* fix: type
* fix: feedback
* Use duration input for check.every field
* Convert check.offset to Duration Input
* Check is string for duration
* feat(duration-inputs): Add submitInvalid ld to duration input
* feat(duration-inputs) Add duration inputs to Deadman Conditions
* feat(duration-inputs) Add test-id to duration inputs
* feat(duration-inputs) Add offset defaults to notification rules
* feat(duration-inputs): Add duration inputs to notification rules
* feat(duration-inputs): Check validity of check durations and thresholds
* feat(duration-inputs): Add vertical scroll bar to duration input
* feat(duration-inputs): Make testID an optional parameter
* feat(duration-inputs) : use window isNan instead of lodash
* refactor: add stylesheet for cloud nav
* refactor: remove cloud icon from side nav
* refactor: move cloud nav to top of app
* chore: add declaration so PNG files are typed as any when imported
* refactor: modify cloud nav to use specified components
* fix: Remove comment
* refactor: update nav item text
* refactor: do not show logout in sidenav for cloud users
* refactor: add unique class for google tag manager
* chore: update changelog
* refactor: don't render user menu if org isn't available
* chore: add image file for logo
Adds-Binary: ui/src/pageLayout/images/influxdata-logo.png
* chore: prettier and eslint
* refactor: normalize tasks resource
* fix: pull tasks off of response
* refactor: use action to clear current task
* refactor: stop getting all tasks in every thunk
* fix(bucket-loading): Remove action duplication
* fix(bucket-loading): Remove state loading before routing to data loaders
* fix(bucket-loading): Limit available buckets to nonsystem buckets
* fix(bucket-loading): Update changelog
* fix(ui): Prevent negative zero and allow zero with decimal places
* chore: update CHANGELOG
* fix(ui): Turn off lint rule no-compare-neg-zero
* test: add more tests by overriding prettier
* fix(ui): turn off lint rule for a specific usage, not universally
* chore: alphabetize root reducer
* refactor(norm): normalize authorizations (tokens)
* refactor: orgs use immer and reducer helpers
* fix: provide initial state to orgs reducer
* fix(auth): normalize auths on token creation
* fix: initial state with empty object
* feat(norm): separate action creators and thunks
* feat(norm): wip normalize buckets
* refactor(norm): change consumption of buckets to norm shape
* test(ui/getResources): change test to accept norm shape
* test(buckets): fix runtime error
* refactor: use immer produce in members reducer
* refactor(norm): normalize organizations
* chore: add junit.xml to gitignore
* test(norm): restructure tests to conform to normalized orgs
* fix: set proper org in local storage
* fix: update createTelegraf to use types
* fix: runtime error when adding telegraf configs
* fix: dashboard thunk not using new org shape
* chore: move edit org to correct place
* fix(orgs): faulty reducer logic
* feat(ui): Add matching rules card to alert builder
* feat(checks): Add tags from query results to NR matching query parameters
* feat(ui): Update changelog
* feat(nr): Change api function to match import convention
* fix(ui): Fix changelog update mistake
* Click submit button after typing in time machine
* feat(notification rules): Add feature flag to matching notification rules
* feat(checks): Add custom check type
* feat(checks): Remove alert builder from custom check
* feat(checks): Add AlertBuilderAction to list of possible actions
* feat(checks): Query visualization does not make sense for custom check
* feat(check): check editor should only reexecute queries if view query changes
* Update ui/src/timeMachine/components/TimeMachineFluxEditor.tsx
Co-Authored-By: Bucky Schwarz <hoorayimhelping@users.noreply.github.com>
* Address PR review
Co-authored-by: Bucky Schwarz <hoorayimhelping@users.noreply.github.com>
feat(ui): added last run status checks for notification rules and check rules, readded updateCheck to fix linter and functionality issues with program and added tests to ensure check creation and update stability
* refactor: use replace select group with tabs in save as dialog
* refactor: replace local RightClick with Clockface RightClick
* refactor: delete local RightClick code
* refactor: replace ResponsiveGridSizer with SquareGrid
* chore: delete local grid sizer components
* fix: repair broken e2e tests
* fix: attempt to fix e2e test
* fix: repair query builder e2e test
* fix: don't call stop propagation because there is no event object
* refactor: extend DragAndDrop to support custom classnames
* refactor: use OverlayFooter
* refactor: remove WizardOverlay from CollectorsWizard
* refactor: redesign and simplify line protocol wizard
* refactor: remove WizardOverlay from telegraf instructions
* fix: repair affected e2e test
* refactor: use vscss ariable to ensure height consistency between steps
* refactor: extract helper text into component to ensure consistency
* build: split go linting from tests
Signed-off-by: Chris Goller <goller@gmail.com>
* build: split js linting from tests
Signed-off-by: Chris Goller <goller@gmail.com>
* ci: run go tests without verbose option
Signed-off-by: Chris Goller <goller@gmail.com>
* ci: parallelize eslint with 8 containers
Signed-off-by: Chris Goller <goller@gmail.com>
* ci: cache node modules for eslint
Signed-off-by: Chris Goller <goller@gmail.com>
* ci: lint circle yaml
Signed-off-by: Chris Goller <goller@gmail.com>
* ci: cd into ui directory for node caching
Signed-off-by: Chris Goller <goller@gmail.com>
* ci: note eslint parallelization
Signed-off-by: Chris Goller <goller@gmail.com>
* ci: update yarn cache directory to global
Signed-off-by: Chris Goller <goller@gmail.com>
* ci: cache jstest yarn downloads
Signed-off-by: Chris Goller <goller@gmail.com>
* ci: note parallelization of jest tests
Signed-off-by: Chris Goller <goller@gmail.com>
fix(ui): adding times in script editor will default start and endtime for timerange queries, compute timeranges based on script and based on widest date range & fix dashboard so that cells that have been saved with timerange scripts are based on those timeranges
* chore(flux): update flux functions list for flux 0.56
* added http.post function to flux functions list
* fix(fluxFunctions): change aggregateWindow example to use variable
* updated and simplified example window function in flux function list
* removed unnecessary newline from window function example
* chore(ui): Remove unused references to timeRange
* chore(ui): Add comment to timerange to duration function
* chore(ui): Fix getTimeRangeVars.test
* Refactor getTimeRangeVars.ts
* chore(ui): Remove references to zoomed time range
* chore(ui): Remove unused set dashboard time range v1 action
* chore(ui): Add preliminary timeRange types
* chore(ui): Add init pass at reasonable timeRange constants
* chore(ui): Finish Remove unused set dashboard time range v1 action
* fix(ui): Conver redux ranges state to object from array
* chore(ui): Read from and write to ranges local storage
* chore(ui): Reorder imported things
* chore(ui): Add typing to timeRanges from query params and localstorage
* chore(ui): Fix Dashboard and DE Time Range Dropdown
* chore(ui): Fix check timeRange
* chore(ui): Convert duration time Ranges to custom for time range dropdown
* chore(ui): Convert delete with predicate timeranges to TimeRange types
* chore(ui): Convert predicates timeRange to custom
* chore(ui): fix ValidateAndType bug
* fix(ui): Fix show bucketname in delete data form
* fix(ui): Allow timeRange to handle all duration time Ranges
* chore(ui): Separate DeleteDataOverlay update logic
* fix(ui): Fix deletedata overlay dismiss routing
* chore(ui) cleanup
* chore(ui): Allow timeRange dropdown to work with no prior timeRange selection
* chore(ui): Remove unused import
* fix(ui): Fix time Ranges tests
* fix(ui): Fix tests
* fix(ui): Fix tests
* fix(ui): Extract label creation function and use where needed
* fix(ui): Fix predicate testing
* fix(ui): Fix prettier issue
* chore(ui): Refactor duration.ts
* chore(ui): Remove labels from timeRange
* chore(ui): Return label for selectable-duration label
* chore(ui): Resolve merge error
* chore(ui): Make tests more robust
* feat(ui): protect query params access with get
* chore(ui): Add comment to warn against regex behavior
* Apply prettier to predicates.test
* fix(e2e): flakey query builder test
* test(e2e): run test 50 times
* test(e2e): run update label test 50 times
* fix(e2e): visit page after creation
* chore(e2e): run test once
* fix(e2e): run update label test once
* chore(ui): point to local build
* refactor(ui): repair breakage from update
* chore: Revert "chore(ui): point to local build"
This reverts commit 968a8232cc.
* chore: upgrade dependency to 1.1.0
* chore: appease prettier
* fix: correct typo
* fix(ui): give size to AlertColumns and update e2e tests
* fix(graph-time-query): updated graphs so that graph x-axis reflects the input timeRange
* fix(dashboard-timerange): dashboard timerange is now outputting the correct timerange
* fix(ui/dashboard): connected the timeMachine to the component to make data consistently available based on timeMachine context
* fix(query): updated implementation to reduce mucking the timeMachine reducer logic
* fix(edit-veo): configuring a timerange in the dashboard should be accessible when editing cells
* fix(wip): wip
* fix(graph-time-query): updated graphs so that graph x-axis reflects the input timeRange
* fix(dashboard-timerange): dashboard timerange is now outputting the correct timerange
* fix(ui/dashboard): connected the timeMachine to the component to make data consistently available based on timeMachine context
* fix(query): updated implementation to reduce mucking the timeMachine reducer logic
* fix(edit-veo): configuring a timerange in the dashboard should be accessible when editing cells
* feat(ui): Type start and end time functions
* fix(ui): Set VEO timeMachine timeRange from parent dashboard
* feat(ui): Regularize getStartTime and getEndTime
* feat(ui): Fix prettier errors
* fix(ui): added unit tests for critical parts of the function
* fix(ui): removed unnecessary console that was failing jstest
* fix(ui): added getStartTime and getEndTime tests:
* fix(ui): updated telegraf description to be more explicit
* fix(ui): updated title to display same styling as empty text
* fix(ui): added defaultProps and checks for collectors
* feat(ui/DWP): added searchable dropdown for tag key and values for selected bucket
* feat(DWP-targets): key-value tags are associated with selected bucket
* fix(predicates/action): reordered actions so that actions alphabetical and thunks are at the bottom of the page
* feat(DWP-dropdown): made suggested PR changes
* fix(DWP-dropdown): added filter predicate to tagKeys query
* feat(ui/DWP): added searchable dropdown for tag key and values for selected bucket
* feat(DWP-targets): key-value tags are associated with selected bucket
* fix(predicates/action): reordered actions so that actions alphabetical and thunks are at the bottom of the page
* feat(DWP-dropdown): made suggested PR changes
* fix(DWP-dropdown): added filter predicate to tagKeys query
* first steps to predicate action tests
* fix(dwp-dropdown): added action tests for thunk actions
* fix(predicates.test): removed unnecessary store and redux logic from test
* fix(ui): Remove add member flow and users redux state
* fix(getResourcesStatus): added tests to getresources function to ensure stability
* Refactor getResourcesStatus and testing
* fix(getResourcesStatus): added checks for status prop in getResourceStatus
* fix(getResourcesStatus): updated file to align with prettier format
* fix(getResourcesStatus): removed helper func for better performance