* 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
* fix(flakey-test): refactored getSortedBucketNames for more consistency and predictability. Finished DWP API functionality
* fix(FilterRow): removed unnecessary FeatureFlag from component
* chore: updated yml and tests to reflect API changes
* fix(custom-table): working on refactoring the set_fields custom table overwrite
* fix(custom-table): resolved data inconsistencies
* fix(tests): added utility function testing for reducer method
* fix(inputs): modified reducer to make inputs actionable
* fix(visibility): added check for visibility differences
* fix(WIP): toggling between custom tables works
* fix(comments): added comments to help clarify util func
* fix(tests): added basic testing for settings functionality
* chore(linter): made suggested linter changes
* fix(bucket-list): wrapped DWP in featureFlag and sorted bucket list
* chore(changelog): updated the changelog to reflect PR changes
* fix(e2e): skipping tests until featureflag removed from DWP
* chore(tests): refactoring to use selector and add tests
* chore(refactor): created selector for ordering bucketlist and added tests
* fix(bucketsort): updated func and var names to accurately reflect intent
* fix(bucket/selector): renamed func for accuracy
* refactor: update appearance of variables control bar
* refactor: add documentation link to variables empty state
* refactor: update appearance of table cells
* refactor: update appearance of raw data table
* refactor: appease linter
* refactor(cells): improve contrast and compactness of cells
Also removing a lot of absolute positioning to reduce z-index headaches
* refactor(ui): redesign markdown cells
* refactor(ui): WIP redesign context menus
* refactor(ui): complete styling of context menus
* refactor(ui): redesign cell notes
* fix: update dashboard view e2e test
* fix: appease linter
* refactor: make background color of veo match dashboard cells
* refactor: make notes the same color as cells
* refactor: increase markdown cell horizontal padding
* refactor: replace hamburger icon with dor grid
* refactor: ensure cell icons all transition uniformly
* refactor: hide download csv link behind feature flag
* fix(DWP): reset redux state when DWP resolves or rejects
* chore(lint): fixed lint and added PR to changelog
* fix(linter): removed unused depenency in tests
* Add initial react-monaco-editor
* Add flux language options to monaco
* feat: only including vendor libraries when the module is used
* chore: clean up after thineself
* refactor: replace FancyScrollbar with DapperScrollbars
* refactor: simplify component to use style prop
* refactor: replace custom styles with Clockface components
* refactor: ensure layout of single stat and gauge are consistent
* fix: appease linter
* fix: update unit test
* fix: fix typo in unit test
* fix: don't use base threshold for test
It has no input
* fix: fix moar typos in unit test
dear lord
* fix: add timeouts to threshold tests
* fix: don't look for error states until they should exist
* fix: use getNodeText to test error messages exactly
* fix: keep variable fresh
* fix: tweak assertion
* fix: use child count in assertion
* fix: appease linter
The vertical scroll on the variable page was not displaying the last element
The horizontal scroll on the filter scroll was covering the bottom scroll, this is probably happening in other places
* refactor(ui): add explainer panel to buckets index view
* refactor: convert both explainer components from SFC to FunctionComponent
* refactor: appease linter
* fix(debug): debugging popover refactor
* fix(ui/timerangedropdown): refactored the daterangepicker implementation into a popover
* chore(linter): fixed linter errors
* feat(tests): added tests to refactor and reported found issues