Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add jest transform config #497

Merged
merged 7 commits into from
May 30, 2023
Merged

add jest transform config #497

merged 7 commits into from
May 30, 2023

Conversation

jackiehanyang
Copy link
Collaborator

@jackiehanyang jackiehanyang commented May 26, 2023

Latest Reviesion

tested with newly added unit test

$ ../../node_modules/.bin/jest --config ./test/jest.config.js --updateSnapshot AddAnomalyDetector.test.tsx
 PASS  public/components/FeatureAnywhereContextMenu/CreateAnomalyDetector/AddAnomalyDetector.test.tsx (90.94 s)
  AddAnomalyDetector
    ✓ renders (7 ms)

 › 1 snapshot written.
Snapshot Summary
 › 1 snapshot written from 1 test suite.

Test Suites: 1 passed, 1 total
Tests:       1 passed, 1 total
Snapshots:   1 written, 1 total
Time:        92.327 s
Ran all test suites matching /AddAnomalyDetector.test.tsx/i.

Description

Was seeing jest test failed on getting osd dark mode svg import. This pr adds jest transform mock to fix this

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
amitgalitz
amitgalitz previously approved these changes May 26, 2023
@@ -44,4 +44,9 @@ module.exports = {
testPathIgnorePatterns: ['<rootDir>/build/', '<rootDir>/node_modules/'],
transformIgnorePatterns: ['<rootDir>/node_modules'],
globalSetup: '<rootDir>/global-setup.js',
transform: {
'\\.[jt]sx?$': 'babel-jest',
'^.+\\.svg$': '<rootDir>/test/mocks/transformMock.js',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change file name here to transformMock.ts after changing original file

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed the file name

@amitgalitz amitgalitz dismissed their stale review May 26, 2023 23:16

added new comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
@jackiehanyang jackiehanyang requested a review from amitgalitz May 30, 2023 17:02
amitgalitz
amitgalitz previously approved these changes May 30, 2023
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
amitgalitz
amitgalitz previously approved these changes May 30, 2023
ohltyler
ohltyler previously approved these changes May 30, 2023
Copy link
Member

@ohltyler ohltyler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find! thanks for the change

@amitgalitz
Copy link
Member

amitgalitz commented May 30, 2023

I see that unit tests are failing, @jackiehanyang can you take a look before merging

export = {
^^^^^^

SyntaxError: Unexpected token 'export'
    at Object.compileFunction (node:vm:360:18)
    at wrapSafe (node:internal/modules/cjs/loader:1124:[15](https://github.com/opensearch-project/anomaly-detection-dashboards-plugin/actions/runs/5124491428/jobs/9216387208?pr=497#step:10:16))
    at Module._compile (node:internal/modules/cjs/loader:1[16](https://github.com/opensearch-project/anomaly-detection-dashboards-plugin/actions/runs/5124491428/jobs/9216387208?pr=497#step:10:17)0:27)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1250:10)
    at Module.load (node:internal/modules/cjs/loader:1074:32)
    at Function.Module._load (node:internal/modules/cjs/loader:909:12)
    at Module.require (node:internal/modules/cjs/loader:1098:19)
    at require (node:internal/modules/cjs/helpers:108:[18](https://github.com/opensearch-project/anomaly-detection-dashboards-plugin/actions/runs/5124491428/jobs/9216387208?pr=497#step:10:19))
    at requireOrImportModule (/home/runner/work/anomaly-detection-dashboards-plugin/anomaly-detection-dashboards-plugin/OpenSearch-Dashboards/node_modules/jest-util/build/requireOrImportModule.js:53:28)
    at /home/runner/work/anomaly-detection-dashboards-plugin/anomaly-detection-dashboards-plugin/OpenSearch-Dashboards/node_modules/@jest/transform/build/ScriptTransformer.js:382:73
error Command failed with exit code 1.

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
@jackiehanyang jackiehanyang dismissed stale reviews from ohltyler and amitgalitz via b29e75b May 30, 2023 18:40
@ohltyler
Copy link
Member

@jackiehanyang unit tests still failed, can you take a look?

@jackiehanyang
Copy link
Collaborator Author

@jackiehanyang unit tests still failed, can you take a look?

Failed tests are not related to this commit's change, it seems like it's been failing since previous commits - https://github.com/opensearch-project/anomaly-detection-dashboards-plugin/actions/runs/5093228267/jobs/9220008864

@ohltyler
Copy link
Member

@jackiehanyang unit tests still failed, can you take a look?

Failed tests are not related to this commit's change, it seems like it's been failing since previous commits - https://github.com/opensearch-project/anomaly-detection-dashboards-plugin/actions/runs/5093228267/jobs/9220008864

Sounds good, let's make sure they're all passing before merging to main.

@amitgalitz
Copy link
Member

@jackiehanyang unit tests still failed, can you take a look?

Failed tests are not related to this commit's change, it seems like it's been failing since previous commits - https://github.com/opensearch-project/anomaly-detection-dashboards-plugin/actions/runs/5093228267/jobs/9220008864

Oh I think that will be fixed when rebasing from main the fixes for 2.8, I’ll open a main rebase PR today

@jackiehanyang jackiehanyang merged commit 9308a4c into opensearch-project:featureAnywhere May 30, 2023
@amitgalitz
Copy link
Member

@jackiehanyang unit tests still failed, can you take a look?

Failed tests are not related to this commit's change, it seems like it's been failing since previous commits - https://github.com/opensearch-project/anomaly-detection-dashboards-plugin/actions/runs/5093228267/jobs/9220008864

Oh I think that will be fixed when rebasing from main the fixes for 2.8, I’ll open a main rebase PR today

This is however doesn't account for every test failure I see here, rebase for main will fix some of the failures

amitgalitz pushed a commit to amitgalitz/anomaly-detection-dashboards-plugin that referenced this pull request May 30, 2023
* add jest transform config

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add license header

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file as .ts file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add comment on jest config file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add more comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file export

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
amitgalitz pushed a commit to amitgalitz/anomaly-detection-dashboards-plugin that referenced this pull request May 31, 2023
* add jest transform config

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add license header

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file as .ts file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add comment on jest config file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add more comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file export

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
amitgalitz pushed a commit to amitgalitz/anomaly-detection-dashboards-plugin that referenced this pull request Jul 7, 2023
* add jest transform config

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add license header

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file as .ts file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add comment on jest config file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add more comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file export

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
jackiehanyang added a commit that referenced this pull request Jul 11, 2023
* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Adding expression function to retrieve anomalies  (#448)

* adding an AD expression function

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* making expression fn changes only to plugin.ts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressing comments, changed a few constants

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* moving getDetectorName into try catch

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Register AD as dashboard context menu option (#482)

* Register AD as dashboard context menu option

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* addressing comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add getActions props

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add EmbeddableStart

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* remove spread operator

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* clenaup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add overlay getter and setter

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Associated detectors flyout through UI actions (#449)

* working js manage detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding associated detectors page

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding unlink modal confirmation

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* prettier formating and merge conflicts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add unlinking capability

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding message for no search results

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* clean up files

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* more cleanup

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* making changes based on new upper container

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* ran prettier

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fix notification and clean up associated detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressing comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* renaming some files and adding index.ts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Added license to new files

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* clean up after rebase

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressed more comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* added notifications service as a getter-setter

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Feature anywhere create detector flyout page (#487)

* Add create detector flyout page

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* run prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* remove enzyme usage

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* reuse existing helper function when creating detector

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* rebase with associated detector change

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* move helper functions to helper file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* use VisLayerTypes for VisLayerExpressionFn

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* address comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* use OVERLAY_ANOMALIES constant

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>

* Adding functionality to associate existing detector with a visualization (#484)

* Adding associate existing

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed usememo, addressed other comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* merge cleanup

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* added integration to call on alerting

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* cleaned up files and added changes to check if detector is deleted in expr fn

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing dependency and notifcations issues

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed long toast life time

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* switched argument order (#494)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add jest transform config (#497)

* add jest transform config

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add license header

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file as .ts file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add comment on jest config file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add more comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file export

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Merging main branch into featureAnywhere (#499)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>

* Unit tests for expression function and additional components (#503)

* adding UT for expression function and some components

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* moved helper functions to separate files, cleaned up other tests

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* custom result bug fix along with a few others

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* revert historical boolean

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add pluginEventType when no error

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Fix various bugs (#504)

* fix bug bash bugs

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fix

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* yarn prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fix

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fixes

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* clean up code

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* removed unused snapshot

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>

* Various bug fixes and unit tests for AssociatedDetectors (#505)

* associated detectors unit tests

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixed some bugs and added unit tests for associated detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* make feature anywhere formatted detector name an assgiend value (#506)

* make feature anywhere formatted detector name an assgiend value to return

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update feature anywhere documentation link

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* correct type

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* correct typo

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* various bug fixes for anywhere features (#507)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add group category and order for context menu (#495)

Signed-off-by: David Sinclair <dsincla@rei.com>

* Update Advanced configuration accordion title (#513)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update categorical field text on Feature Anywhere flyout (#516)

* update categorical field text on Feature Anywhere flyout

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Use non-breaking space character to prevent removing needed empty space by yarn prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix the max width of associate detector flyout to 740px

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* fixing vis eligibility (#519)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* render embeddable by using vis embeddable (#521)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Change to anomaly start time; add test ids (#522)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Adding a callout on flyout when association limit has been reached (#524)

* adding a callout when association limit has been reached

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixed limit check and ran prettier

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Merge main into featureAnywhere (#525)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

* Merging main into featureAnywhere with conflicts resolved (#527)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

* copy files from main to resolve conflicts (#533)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* copy files to resolve conflicts (#538)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Feature anywhere (#540)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Amit Galitzky <amgalitz@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>
Signed-off-by: David Sinclair <dsincla@rei.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Amit Galitzky <amgalitz@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: David Sinclair <24573542+sikhote@users.noreply.github.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 11, 2023
* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Adding expression function to retrieve anomalies  (#448)

* adding an AD expression function

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* making expression fn changes only to plugin.ts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressing comments, changed a few constants

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* moving getDetectorName into try catch

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Register AD as dashboard context menu option (#482)

* Register AD as dashboard context menu option

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* addressing comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add getActions props

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add EmbeddableStart

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* remove spread operator

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* clenaup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add overlay getter and setter

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Associated detectors flyout through UI actions (#449)

* working js manage detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding associated detectors page

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding unlink modal confirmation

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* prettier formating and merge conflicts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add unlinking capability

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding message for no search results

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* clean up files

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* more cleanup

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* making changes based on new upper container

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* ran prettier

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fix notification and clean up associated detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressing comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* renaming some files and adding index.ts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Added license to new files

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* clean up after rebase

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressed more comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* added notifications service as a getter-setter

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Feature anywhere create detector flyout page (#487)

* Add create detector flyout page

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* run prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* remove enzyme usage

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* reuse existing helper function when creating detector

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* rebase with associated detector change

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* move helper functions to helper file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* use VisLayerTypes for VisLayerExpressionFn

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* address comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* use OVERLAY_ANOMALIES constant

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>

* Adding functionality to associate existing detector with a visualization (#484)

* Adding associate existing

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed usememo, addressed other comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* merge cleanup

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* added integration to call on alerting

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* cleaned up files and added changes to check if detector is deleted in expr fn

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing dependency and notifcations issues

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed long toast life time

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* switched argument order (#494)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add jest transform config (#497)

* add jest transform config

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add license header

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file as .ts file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add comment on jest config file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add more comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file export

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Merging main branch into featureAnywhere (#499)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>

* Unit tests for expression function and additional components (#503)

* adding UT for expression function and some components

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* moved helper functions to separate files, cleaned up other tests

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* custom result bug fix along with a few others

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* revert historical boolean

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add pluginEventType when no error

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Fix various bugs (#504)

* fix bug bash bugs

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fix

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* yarn prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fix

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fixes

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* clean up code

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* removed unused snapshot

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>

* Various bug fixes and unit tests for AssociatedDetectors (#505)

* associated detectors unit tests

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixed some bugs and added unit tests for associated detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* make feature anywhere formatted detector name an assgiend value (#506)

* make feature anywhere formatted detector name an assgiend value to return

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update feature anywhere documentation link

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* correct type

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* correct typo

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* various bug fixes for anywhere features (#507)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add group category and order for context menu (#495)

Signed-off-by: David Sinclair <dsincla@rei.com>

* Update Advanced configuration accordion title (#513)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update categorical field text on Feature Anywhere flyout (#516)

* update categorical field text on Feature Anywhere flyout

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Use non-breaking space character to prevent removing needed empty space by yarn prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix the max width of associate detector flyout to 740px

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* fixing vis eligibility (#519)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* render embeddable by using vis embeddable (#521)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Change to anomaly start time; add test ids (#522)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Adding a callout on flyout when association limit has been reached (#524)

* adding a callout when association limit has been reached

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixed limit check and ran prettier

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Merge main into featureAnywhere (#525)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

* Merging main into featureAnywhere with conflicts resolved (#527)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

* copy files from main to resolve conflicts (#533)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* copy files to resolve conflicts (#538)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Feature anywhere (#540)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Amit Galitzky <amgalitz@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>
Signed-off-by: David Sinclair <dsincla@rei.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Amit Galitzky <amgalitz@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: David Sinclair <24573542+sikhote@users.noreply.github.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>
(cherry picked from commit 1e0d783)
amitgalitz pushed a commit that referenced this pull request Jul 11, 2023
* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Adding expression function to retrieve anomalies  (#448)

* adding an AD expression function

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* making expression fn changes only to plugin.ts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressing comments, changed a few constants

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* moving getDetectorName into try catch

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Register AD as dashboard context menu option (#482)

* Register AD as dashboard context menu option

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* addressing comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add getActions props

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add EmbeddableStart

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* remove spread operator

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* clenaup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add overlay getter and setter

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Associated detectors flyout through UI actions (#449)

* working js manage detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding associated detectors page

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding unlink modal confirmation

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* prettier formating and merge conflicts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add unlinking capability

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding message for no search results

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* clean up files

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* more cleanup

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* making changes based on new upper container

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* ran prettier

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fix notification and clean up associated detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressing comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* renaming some files and adding index.ts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Added license to new files

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* clean up after rebase

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressed more comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* added notifications service as a getter-setter

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Feature anywhere create detector flyout page (#487)

* Add create detector flyout page

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* run prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* remove enzyme usage

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* reuse existing helper function when creating detector

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* rebase with associated detector change

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* move helper functions to helper file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* use VisLayerTypes for VisLayerExpressionFn

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* address comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* use OVERLAY_ANOMALIES constant

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>

* Adding functionality to associate existing detector with a visualization (#484)

* Adding associate existing

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed usememo, addressed other comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* merge cleanup

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* added integration to call on alerting

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* cleaned up files and added changes to check if detector is deleted in expr fn

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing dependency and notifcations issues

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed long toast life time

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* switched argument order (#494)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add jest transform config (#497)

* add jest transform config

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add license header

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file as .ts file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add comment on jest config file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add more comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file export

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Merging main branch into featureAnywhere (#499)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>

* Unit tests for expression function and additional components (#503)

* adding UT for expression function and some components

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* moved helper functions to separate files, cleaned up other tests

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* custom result bug fix along with a few others

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* revert historical boolean

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add pluginEventType when no error

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Fix various bugs (#504)

* fix bug bash bugs

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fix

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* yarn prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fix

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fixes

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* clean up code

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* removed unused snapshot

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>

* Various bug fixes and unit tests for AssociatedDetectors (#505)

* associated detectors unit tests

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixed some bugs and added unit tests for associated detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* make feature anywhere formatted detector name an assgiend value (#506)

* make feature anywhere formatted detector name an assgiend value to return

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update feature anywhere documentation link

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* correct type

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* correct typo

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* various bug fixes for anywhere features (#507)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add group category and order for context menu (#495)

Signed-off-by: David Sinclair <dsincla@rei.com>

* Update Advanced configuration accordion title (#513)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update categorical field text on Feature Anywhere flyout (#516)

* update categorical field text on Feature Anywhere flyout

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Use non-breaking space character to prevent removing needed empty space by yarn prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix the max width of associate detector flyout to 740px

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* fixing vis eligibility (#519)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* render embeddable by using vis embeddable (#521)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Change to anomaly start time; add test ids (#522)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Adding a callout on flyout when association limit has been reached (#524)

* adding a callout when association limit has been reached

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixed limit check and ran prettier

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Merge main into featureAnywhere (#525)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

* Merging main into featureAnywhere with conflicts resolved (#527)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

* copy files from main to resolve conflicts (#533)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* copy files to resolve conflicts (#538)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Feature anywhere (#540)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Amit Galitzky <amgalitz@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>
Signed-off-by: David Sinclair <dsincla@rei.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Amit Galitzky <amgalitz@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: David Sinclair <24573542+sikhote@users.noreply.github.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>
(cherry picked from commit 1e0d783)
amitgalitz pushed a commit to amitgalitz/anomaly-detection-dashboards-plugin that referenced this pull request Jul 11, 2023
* Add branch constants in CI workflow (opensearch-project#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (opensearch-project#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (opensearch-project#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (opensearch-project#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (opensearch-project#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (opensearch-project#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (opensearch-project#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (opensearch-project#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (opensearch-project#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (opensearch-project#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (opensearch-project#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (opensearch-project#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (opensearch-project#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (opensearch-project#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (opensearch-project#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (opensearch-project#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (opensearch-project#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Adding expression function to retrieve anomalies  (opensearch-project#448)

* adding an AD expression function

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* making expression fn changes only to plugin.ts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressing comments, changed a few constants

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* moving getDetectorName into try catch

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Register AD as dashboard context menu option (opensearch-project#482)

* Register AD as dashboard context menu option

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* addressing comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add getActions props

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add EmbeddableStart

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* remove spread operator

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* clenaup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add overlay getter and setter

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Associated detectors flyout through UI actions (opensearch-project#449)

* working js manage detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding associated detectors page

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding unlink modal confirmation

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* prettier formating and merge conflicts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add unlinking capability

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding message for no search results

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* clean up files

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* more cleanup

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* making changes based on new upper container

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* ran prettier

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fix notification and clean up associated detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressing comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* renaming some files and adding index.ts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Added license to new files

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* clean up after rebase

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressed more comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* added notifications service as a getter-setter

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Feature anywhere create detector flyout page (opensearch-project#487)

* Add create detector flyout page

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* run prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* remove enzyme usage

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* reuse existing helper function when creating detector

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* rebase with associated detector change

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* move helper functions to helper file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* use VisLayerTypes for VisLayerExpressionFn

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* address comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* use OVERLAY_ANOMALIES constant

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>

* Adding functionality to associate existing detector with a visualization (opensearch-project#484)

* Adding associate existing

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed usememo, addressed other comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* merge cleanup

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* added integration to call on alerting

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* cleaned up files and added changes to check if detector is deleted in expr fn

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing dependency and notifcations issues

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed long toast life time

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* switched argument order (opensearch-project#494)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add jest transform config (opensearch-project#497)

* add jest transform config

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add license header

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file as .ts file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add comment on jest config file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add more comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file export

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Merging main branch into featureAnywhere (opensearch-project#499)

* Add branch constants in CI workflow (opensearch-project#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (opensearch-project#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (opensearch-project#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (opensearch-project#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (opensearch-project#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (opensearch-project#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (opensearch-project#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (opensearch-project#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (opensearch-project#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (opensearch-project#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (opensearch-project#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (opensearch-project#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (opensearch-project#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (opensearch-project#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (opensearch-project#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (opensearch-project#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (opensearch-project#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (opensearch-project#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (opensearch-project#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (opensearch-project#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (opensearch-project#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>

* Unit tests for expression function and additional components (opensearch-project#503)

* adding UT for expression function and some components

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* moved helper functions to separate files, cleaned up other tests

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* custom result bug fix along with a few others

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* revert historical boolean

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add pluginEventType when no error

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Fix various bugs (opensearch-project#504)

* fix bug bash bugs

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fix

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* yarn prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fix

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fixes

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* clean up code

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* removed unused snapshot

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>

* Various bug fixes and unit tests for AssociatedDetectors (opensearch-project#505)

* associated detectors unit tests

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixed some bugs and added unit tests for associated detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* make feature anywhere formatted detector name an assgiend value (opensearch-project#506)

* make feature anywhere formatted detector name an assgiend value to return

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update feature anywhere documentation link

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* correct type

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* correct typo

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* various bug fixes for anywhere features (opensearch-project#507)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add group category and order for context menu (opensearch-project#495)

Signed-off-by: David Sinclair <dsincla@rei.com>

* Update Advanced configuration accordion title (opensearch-project#513)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update categorical field text on Feature Anywhere flyout (opensearch-project#516)

* update categorical field text on Feature Anywhere flyout

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Use non-breaking space character to prevent removing needed empty space by yarn prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix the max width of associate detector flyout to 740px

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* fixing vis eligibility (opensearch-project#519)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* render embeddable by using vis embeddable (opensearch-project#521)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Change to anomaly start time; add test ids (opensearch-project#522)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Adding a callout on flyout when association limit has been reached (opensearch-project#524)

* adding a callout when association limit has been reached

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixed limit check and ran prettier

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Merge main into featureAnywhere (opensearch-project#525)

* Add branch constants in CI workflow (opensearch-project#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (opensearch-project#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (opensearch-project#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (opensearch-project#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (opensearch-project#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (opensearch-project#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (opensearch-project#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (opensearch-project#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (opensearch-project#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (opensearch-project#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (opensearch-project#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (opensearch-project#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (opensearch-project#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (opensearch-project#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (opensearch-project#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (opensearch-project#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (opensearch-project#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (opensearch-project#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (opensearch-project#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (opensearch-project#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (opensearch-project#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (opensearch-project#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (opensearch-project#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (opensearch-project#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

* Merging main into featureAnywhere with conflicts resolved (opensearch-project#527)

* Add branch constants in CI workflow (opensearch-project#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (opensearch-project#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (opensearch-project#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (opensearch-project#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (opensearch-project#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (opensearch-project#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (opensearch-project#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (opensearch-project#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (opensearch-project#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (opensearch-project#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (opensearch-project#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (opensearch-project#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (opensearch-project#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (opensearch-project#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (opensearch-project#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (opensearch-project#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (opensearch-project#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (opensearch-project#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (opensearch-project#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (opensearch-project#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (opensearch-project#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (opensearch-project#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (opensearch-project#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (opensearch-project#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

* copy files from main to resolve conflicts (opensearch-project#533)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* copy files to resolve conflicts (opensearch-project#538)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Feature anywhere (opensearch-project#540)

* Add branch constants in CI workflow (opensearch-project#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (opensearch-project#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (opensearch-project#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (opensearch-project#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (opensearch-project#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (opensearch-project#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (opensearch-project#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (opensearch-project#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (opensearch-project#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (opensearch-project#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (opensearch-project#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (opensearch-project#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (opensearch-project#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (opensearch-project#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (opensearch-project#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (opensearch-project#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (opensearch-project#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (opensearch-project#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (opensearch-project#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (opensearch-project#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (opensearch-project#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (opensearch-project#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (opensearch-project#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (opensearch-project#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Amit Galitzky <amgalitz@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>
Signed-off-by: David Sinclair <dsincla@rei.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Amit Galitzky <amgalitz@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: David Sinclair <24573542+sikhote@users.noreply.github.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>
(cherry picked from commit 1e0d783)
amitgalitz added a commit that referenced this pull request Jul 11, 2023
* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Adding expression function to retrieve anomalies  (#448)

* adding an AD expression function

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* making expression fn changes only to plugin.ts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressing comments, changed a few constants

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* moving getDetectorName into try catch

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Register AD as dashboard context menu option (#482)

* Register AD as dashboard context menu option

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* addressing comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add getActions props

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add EmbeddableStart

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* remove spread operator

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* clenaup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add overlay getter and setter

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Associated detectors flyout through UI actions (#449)

* working js manage detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding associated detectors page

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding unlink modal confirmation

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* prettier formating and merge conflicts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add unlinking capability

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding message for no search results

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* clean up files

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* more cleanup

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* making changes based on new upper container

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* ran prettier

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fix notification and clean up associated detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressing comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* renaming some files and adding index.ts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Added license to new files

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* clean up after rebase

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressed more comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* added notifications service as a getter-setter

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Feature anywhere create detector flyout page (#487)

* Add create detector flyout page

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* run prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* remove enzyme usage

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* reuse existing helper function when creating detector

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* rebase with associated detector change

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* move helper functions to helper file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* use VisLayerTypes for VisLayerExpressionFn

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* address comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* use OVERLAY_ANOMALIES constant

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>

* Adding functionality to associate existing detector with a visualization (#484)

* Adding associate existing

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed usememo, addressed other comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* merge cleanup

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* added integration to call on alerting

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* cleaned up files and added changes to check if detector is deleted in expr fn

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing dependency and notifcations issues

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed long toast life time

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* switched argument order (#494)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add jest transform config (#497)

* add jest transform config

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add license header

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file as .ts file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add comment on jest config file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add more comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file export

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Merging main branch into featureAnywhere (#499)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>

* Unit tests for expression function and additional components (#503)

* adding UT for expression function and some components

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* moved helper functions to separate files, cleaned up other tests

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* custom result bug fix along with a few others

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* revert historical boolean

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add pluginEventType when no error

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Fix various bugs (#504)

* fix bug bash bugs

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fix

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* yarn prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fix

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fixes

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* clean up code

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* removed unused snapshot

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>

* Various bug fixes and unit tests for AssociatedDetectors (#505)

* associated detectors unit tests

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixed some bugs and added unit tests for associated detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* make feature anywhere formatted detector name an assgiend value (#506)

* make feature anywhere formatted detector name an assgiend value to return

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update feature anywhere documentation link

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* correct type

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* correct typo

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* various bug fixes for anywhere features (#507)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add group category and order for context menu (#495)

Signed-off-by: David Sinclair <dsincla@rei.com>

* Update Advanced configuration accordion title (#513)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update categorical field text on Feature Anywhere flyout (#516)

* update categorical field text on Feature Anywhere flyout

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Use non-breaking space character to prevent removing needed empty space by yarn prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix the max width of associate detector flyout to 740px

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* fixing vis eligibility (#519)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* render embeddable by using vis embeddable (#521)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Change to anomaly start time; add test ids (#522)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Adding a callout on flyout when association limit has been reached (#524)

* adding a callout when association limit has been reached

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixed limit check and ran prettier

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Merge main into featureAnywhere (#525)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

* Merging main into featureAnywhere with conflicts resolved (#527)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

* copy files from main to resolve conflicts (#533)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* copy files to resolve conflicts (#538)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Feature anywhere (#540)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Amit Galitzky <amgalitz@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>
Signed-off-by: David Sinclair <dsincla@rei.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Amit Galitzky <amgalitz@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: David Sinclair <24573542+sikhote@users.noreply.github.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>
(cherry picked from commit 1e0d783)

Co-authored-by: Jackie Han <hnyng@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants