one thing to note here is that new endpoint was created. there was no
endpoint for setting an initial password that worked. The existin endpoint
was a bit messy and coupled across multiple routes. Having multiple auth
schemes proved incredibly taxing to write against.
* 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
* 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
* fix(storage): add failing test for array cursor iterator stats
* fix(storage): make arrayCursorIterator.Stats() return stats of in-focus cursor
* fix(storage): add failing test to assert arrayCursorIterator.Stats() returns accumulated result
* fix(storage): assumulate stats in arrayCursorIterator.Stats() call across all observed cursors
* feat(kv): unique variable names
- adds system bucket for creating an index of unique variable names
- adds tests
- deleted unit tests for dead code
- removed a test runner for the variable service from http
* feat: (http) label names to be unique
* feat(http): should work for updates as well
* chore: commented out former work. added a failing test
* feat: ensure label uniqueness & test cases
* feat: updating labels ensures uniqueness
* fix: fixes a failing unrelated test
* chore: update changelog
* 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
* 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
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.
* refactor(ui): add default values for deadman condition
* refactor(ui): limit values to 2 decimal places when dragging thereshold handles
* refactor(ui): prevent system buckets from being deleted or renamed
* refactor(ui): indicate which buckets are system buckets
* refactor(ui): prevent user from creating buckets starting with _
* refactor(ui): remove system bucketes from generate token overlay
* refactor(ui): remove system buckets from bucket dropdowns
* chore(ui): update changelog
* refactor(ui): move check message to its own card
* refactor(ui): ensure builder cards fill width of overlay
* refactor(ui): make conditions boxes fill width of parent
* refactor(ui): allow check properties card to grow
* refactor(ui): remove matching rules card
* chore(ui): update changelog
e2e tests are failing because the fancyscroll bar component hides
the admin step during certain points in onboarding.
We were able to reproduce when the form in the admin step had been
marked as valid.
The use of the scrollbar in the setting seemed unneeded as it could
be rendered in a quite small window.
Therefore, we removed the scrollbar altogether for now.
Co-authored-by: Christopher Henn <chris@chrishenn.net>
* refactor(ui): move QuestionMarkTooltip into shared folder
* refactor(ui): delete unused component
* refactor(ui): allow QuestionMarkTooltip to wrap other elements
* refactor(ui): Add question mark tooltips to alerting column headers
* refactor(ui): color code buttons to indicate importance and grouping
* refactor(ui): swap order of endpoints and rules columns
* refactor(ui): show "first time" widget when no alerting resources exist
* refactor(ui): update alerting empty copy
* refactor(ui): ensure onboarding tooltips are using the correct prop names
* refactor(ui): remove tests for tooltips in admin step
These should be handled by Clockface instead
* refactor(ui): fix affected e2e test
* chore(ui): update changelog
* refactor(ui): expose bucket options as buttons instead of context menu
* chore(ui): update changelog
* refactor(ui): increase distance between bucket options and meta line
To have checks and notifications happen transactionally we need to be
able to alert the task system when a new task was created using the checks and notifications systems.
These two new middlewares allow us to inform the task system of a update
to a task that was created through the check or notification systems.
* refactor(ui): extend url activator to check on deeper URLs
* refactor(ui): create load data nav and page components
* refactor(ui): update telegrafs, scrapers, and buckets to use load data nav
* refactor(ui): update side nav and router to expose load data tab
* chore(ui): update changelog
* refactor(ui): update link to telegrafs page from status page
* refactor(ui): fix broken routes
* refactor(ui): make settings page tabs consistent with load data tabs
* refactor(ui): appease the linter gods
* refactor(ui): attempt to fix e2e tests
* adding new templates; removing calls to create templates
* fixing quickstart dashboard creation
* Type dashboard template
* bump templates repo version
* add templateID to template meta in swagger
* Add templateID to document meta type in UI
* add templateID to telegrafPlugin and telegrafplugin info types
* Instantiate templates from static templates
* Get tests to pass
* Fix type conflicts
* Bump templates version
* update changelog
If client requests with Accept-Encoding: gzip, then
compress response and return with Content-Encoding: gzip.
This increases the server-side load by about 12%, but saves network bandwidth.
benchmark old ns/op new ns/op delta
Benchmark_Query_no_gzip-4 123609 137885 +11.55%
benchmark old allocs new allocs delta
Benchmark_Query_no_gzip-4 149 150 +0.67%
benchmark old bytes new bytes delta
Benchmark_Query_no_gzip-4 14297 15205 +6.35%
* Report errors found when iterating over flux query in task
* Add failing test for tasks executor result iterator exhaust failure
* Ensure errors exhausting tasks query result iterator are surfaced as task failure
* Update CHANGELOG with task result iteration error surfacing fix