* 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
* fix(ui/boxtooltip): moved boxtooltip a few pixels to prevent onMouseOver and onMouseOut from constantly triggering in EventMarker. Added a comment about the solution and wrote a new issue to deal with a long-term solution to the problem
* expose store to cypress
* Load variables from dashboard in edit cell view
* Initialize new veo with dashboard variable values
* Add cypress pipe library
* Add tests of redux state changes to cell
* Remove unused async command
* Create passing tests for view with variable
* Add moar tests!
* Add jest import
* Fix linter errors
* Use get to define default value
* Fix eslint errors
* Disable eslint for commands
* Improve code styles
* fix(ui/tasks): edit & update functionality has been fixed. Also fixed the issue where task form data didn't persist when toggling between schedule task options
* chore(CHANGELOG): updated changelog with current PR
* fix(ui/tasks): updated reducer test to more accurately reflect the current reducer functionality and updated the parameter name for consistency
* fix(linter): removed extra whitespace
* chore(comment): removed old comment from PR since it's no longer necessary
* fix(ui/collectorList-telegraf): sort telegrafs based on buckets
* fix(ui/collectors): added tests to the sort by telegrafs/buckets functionality
* fix(ui/collectors): made PR suggested changes
* fix(ui/collectors): updated snapshot test
* fix(collectors): added collectors changes
* fix: labels test
* fix: sanity check
* chore: skip tests to resolve in separate PR
* fix: revisit page
* chore(ui/GetResources): parallelized GetResources CDM calls
Refactored GetResources CDM call to take in an array of ResourceTypes to run in parallel rather than taking in a single ResourceType.
* chore(ui/GetResources): parallelized GetResources CDM calls
Refactored GetResources CDM call to take in an array of ResourceTypes to run in parallel rather than taking in a single ResourceType.
* fix(tests): updated components & refactored getresources to be async
* chore(ui/GetResources): parallelized GetResources CDM calls
Refactored GetResources CDM call to take in an array of ResourceTypes to run in parallel rather than taking in a single ResourceType.
* fix(tests): updated components & refactored getresources to be async
* fix(jstest): Fixed linter errors
* fix(jstest): fixed js test specs
* fix(ui/labeloverlayerror):
UI is now correctly disabling the submit button and returning an invalid input error when a user tries to submit an empty input for the label overlay name
Updated change log and added in link to issue for newly built tests
Updated the updateLabelOverlay methods to correspond with the changes made to the labeloverlayform
* chore(ui): upgrade clockface dependency
* refactor(ui): update components affected by breaking changes
* refactor(ui): update test snapshots
* refactor(ui): remove obsolete component
* refactor(ui): remove reference to non-existant stylesheet
* refactor(ui): update selector in e2e collectors test
* refactor(ui): attempt to fix e2e test
* refactor(ui): appease linter
* refactor(ui): update implementation of client library cards
* refactor: update all breakage from new version
* refactor: revert this commit
* refactor: fix popover by using useRef instead of createRef
* fix: update all instances of EmptyStateText
* fix: update all instances of PageHeader
* fix: update straggler empty state text
* fix: update instance of PageHeaderCenter
* fix: update instance of PageContents
* fix: update style rule for dashboard cards
* chore: update test snapshots
* refactor: update instance of question mark tooltip
* refactor: use brighten prop to ensure contrast with background
* Revert "refactor: revert this commit"
This reverts commit f325916d91.
* chore: upgrade to NPM package instead of local
* refactor: fix css import
* refactor: update test snapshot
* refactor: Guard against string being null
Co-Authored-By: Alex Boatwright <alex@drdelambre.com>
* refactor: move resource getter inside overlay so it does not disrupt layout
* refactor: fix unit test by updating selector
* refactor: guard against name being absent
* chore: upgrade to latest clockface to utilize a bugfix
* chore: update snapshot test
* refactor: fix appearance of searchableDropdown
* chore: upgrade dependency (again) for bugfixes
* refactor: fix labels e2e test
* refactor: fix tokens e2e test
* refactor: appease linter
* chore(flux): update Flux function docs with experimental and 0.50 functions
* removed unnecessary newlines from fluxFunctions.ts
* fix(fluxFunctions): add space before param
1. Removing dashboard changes from earlier commit
2. Changing inital state variable name to just be endpoint
3. moving dispatch in check actions
4. Adding notification to endpoints
These are the final tests and rule fix for this issue.
The checks is special in how it was fixed.
But endpoints and rules have the exact same fix on them
All the tests are running smoothly
EsLint was run so this branch should no longer fail from that as well.
1. We fixed the endpoints so it no longer routes to 404 page, instead now routes to the alerting index. When endpoint id does not exist.
2.Added Cypress test to confirm the routing works on checks. Routing the user to the index page when the checks id does not exist.
hopefully this commit doesnt do anything, but it opens up the ability to
change the static folder of the project through the environment variable
STATIC_FOLDER so that we can cache static files and not cache the index
file (allowing more passive deployment strategies), and allows the user
to change the base path of the project with the BASE_PATH variable,
opening up the ability to run an instance behind an nginx proxy,
though that change is pending an update to the @influxdata/oats package
before we can turn it on
add test for hydrateVars
dashboard variable dropdown test: inspect values, not just array length
add RTL test for variable dropdown changes
lint
fix: Disable saving threshold check if no threshold selected (#15348)
* Prevent check saving if no thresholds
* Add tests
* Add changes to changelog
* make optional props optional
* use false instead of null for boolean
changelog
fix(ui): ignore false change events in VariableForm (#15317)
closes#15059
the issue is to persist user data across variable type selection interfaces within the variable editor. this commit pushes all of the variable editor information down to redux to allow persistence outside of the view state until the user clicks "cancel" or "create" in the interface.