Skip to content

Commit

Permalink
Feature/collaborations updated (#1006)
Browse files Browse the repository at this point in the history
* Add availability help flyout (#734)

Signed-off-by: Eugene Lee <eugenesk@amazon.com>

* Make common delete modal for components (#766)

Signed-off-by: Eugene Lee <eugenesk@amazon.com>

* Sync app and app list types (#763)

Signed-off-by: Eugene Lee <eugenesk@amazon.com>

* [WIP]: Cypress automation for Trace analytics dashboard application (#775)

* Added cypress test cases for tooltip and search engine on Trace dashboard

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Added test cases for filters

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Added cypress test cases for tooltip and search engine on Trace dashboard

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Added test cases for filters

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Added test cases for Service page in Trace analytics

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Added Cypress test cases for trace analytics services spans table

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Cypress test case for Traces

Signed-off-by: Nidhi Singhai <nidhi_singhai@persistent.com>

* Cypress test case for Traces Updated

Signed-off-by: Nidhi Singhai <nidhi_singhai@persistent.com>

* Worked on review comments

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

Co-authored-by: Deepak Nevde <deepak_nevde@persistent.com>
Co-authored-by: Nidhi Singhai <nidhi_singhai@persistent.com>

* Feature/error toast on invalid valueoption selection 666 (#736)

* rendered default axes selected and added error toasts on Save and Apply click if invalid value option selected

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* Cypress changes for error toasts on invalid value options selected

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* added constant VIZ_CONTAIN_XY_AXIS for x, y value axis

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* [Feature]: Treemap chart support in Event Analytics (#693)

* Initial commit for treemap visualization

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* changes to labelField, layout and config

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* reverted changes of layoutConfig

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* Cypress TestCase for TreeMap

Signed-off-by: Nidhi Singhai <nidhi_singhai@persistent.com>

* added new line

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* updated test cases

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* reverted snapshots

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* implemented treemap config options

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* added multicolored theme option

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* updated snapshots

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* Updated test scripts for multicolored section

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Fixed default selection for treemap

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

Co-authored-by: Nidhi Singhai <nidhi_singhai@persistent.com>
Co-authored-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Uses custom plugin to publish zips to maven (#786)

Signed-off-by: Joshua Li <joshuali925@gmail.com>

* Cypress automation for Notebooks application (#809)

* Added test cases for Notebooks application

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Added test cases for empty state of Notebooks table

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Feature/Pie chart legend, chart style, color theme and cypress test cases for same. (#776)

* pie chart legends, chart color contrast and cypress test cases

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Added color code in constants

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Snapshots updated

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Conflicts resolved

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Review comment addressed

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* color variable changes

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* [Feature]: Heatmap- Color theme implementation in config panel (#778)

* Implementation of color theme for heatmap

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* refactoring code

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* HeatMap Cypress TestCase

Signed-off-by: Nidhi Singhai <nidhi_singhai@persistent.com>

* Cypress TestCase for HeatMap

Signed-off-by: Nidhi Singhai <nidhi_singhai@persistent.com>

* Update Done according to Comment

Signed-off-by: Nidhi Singhai <nidhi_singhai@persistent.com>

* Refactored code

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Updated snapshot test case

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Fixed toast implementation and no result found for heatmap

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Undefined checks for value options

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

Co-authored-by: Nidhi Singhai <nidhi_singhai@persistent.com>

* [Enhancement]: Pie Config Panel features v1  (#816)

* updated dimensions and metrics UI for pie chart

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* updated imports

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* updated snapshots

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* [Enhancement]: TreeMap Config Panel features v1 (#814)

* added support for multiple parents in treemap

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* minor type and position fixes

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* added default values for color pickers

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* resolved review comments

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* TreeMap Enhancement TestCases

Signed-off-by: Nidhi Singhai <nidhi_singhai@persistent.com>

* TreeMap Enhancement TestCases

Signed-off-by: Nidhi Singhai <nidhi_singhai@persistent.com>

* TreeMap Enhancement TestCases Updated

Signed-off-by: Nidhi Singhai <nidhi_singhai@persistent.com>

* Update Done

Signed-off-by: Nidhi Singhai <nidhi_singhai@persistent.com>

* fixed default parent color pickers state

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* fixed undefined check

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* updated snapshots

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

Co-authored-by: Nidhi Singhai <nidhi_singhai@persistent.com>
Co-authored-by: Subrat Pattnaik <subrat.pattnaik@hotmail.com>

* Bar chart: Legend, Chart styles, and Color Theme features implementation on config panel - 697 (#780)

* mode, orientation and rotate labels implementation under Chart style for Bar chart

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_button_group.tsx

* LineWidth and Fill-opacity changes

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/utils/utils.tsx

* Bar Group Width, Bar Width changes and rotated label hiding issue resolved

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* corner cases handled for bar with and group Width and conditionally rendered rotate label UI

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* Bar chart legend and color theme changes

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_legend.tsx

* Snapshots updated

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* empty line added

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_button_group.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_legend.tsx

* review comment addressed

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_legend.tsx

* snapshot updated

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* PR review comment addressed.

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_button_group.tsx

* add button constant added

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* changed rgba to rgb in bar.tsx

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* snapshot updated

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* bump version to 2.1.0 and bump gradle to 7.4.2 (#817)

Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com>

* 2.1 release notes (#839)

Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com>

* change 2.1 version bump PR under maintenance  (#841)

* change version bump to maintenance

Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com>

* change version bump to maintenance

Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com>

* Sprint1 : combine PR for visualization from Sprint1 (#824)

* graph style section UI schema

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

* changes for style mode and interpolation

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

* lineWidth integration for line mode

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line.tsx
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

# Conflicts:
#	dashboards-observability/common/constants/shared.ts
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_style_slider.tsx

* changes for Legend and Orientation in Line

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_button_group.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_legend.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_style_slider.tsx

* point size and Bar Alignment changes

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line.tsx
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/common/constants/shared.ts
#	dashboards-observability/common/types/explorer.ts

* implemented fill opacity for line chart

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line.tsx

# Conflicts:
#	dashboards-observability/public/components/event_analytics/utils/utils.tsx

* changes for line width and fill opacity in bar mode and removed mode from chartOption

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/common/constants/shared.ts

* updated bar mode opacity in line chart

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* refactored the config chart style code

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/common/constants/shared.ts
#	dashboards-observability/common/types/explorer.ts

* snapshot updated and code refactored

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/utils/utils.tsx

* type added to new component

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_button_group.tsx

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_style_slider.tsx

* review comments addressed

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/utils/utils.tsx

# Conflicts:
#	dashboards-observability/common/constants/shared.ts

* cypress test case added and resolve button label wraping issue

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/.cypress/integration/1_event_analytics.spec.js
#	dashboards-observability/.cypress/utils/event_constants.js

# Conflicts:
#	dashboards-observability/.cypress/integration/1_event_analytics.spec.js

# Conflicts:
#	dashboards-observability/.cypress/integration/1_event_analytics.spec.js

* multi matrices changes for Line

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* dimensions and metrics UI changes for time-series

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/common/constants/explorer.ts
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_config_panel_item.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/index.tsx

* made data config pannel collapsable and initial fields render

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_config_panel_item.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/index.tsx

* code refactored

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_config_panel_item.tsx

* snapshot updated and handled corner cases

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* code styling fixes and added TODO comment

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* table view: eui table replaced with ag-grid

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* drag-drop issue fixed

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* test case of data_table updated

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* feedback comments resolved

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* grid height issue:fixed

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* column height, value getter for type double

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* data_table elements moved to separate

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* footer components

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* cypress test cases for table view

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* data config reviewed code added

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Text correction

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Conflicts resolved

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* enhancement for heatmap with new UI

Signed-off-by: Shankha Das <shankha.das@domo.com>

* line chart test cases

Signed-off-by: Shankha Das <shankha.das@domo.com>

* console logs removed

Signed-off-by: Shankha Das <shankha.das@domo.com>

* updated value options ui for treemap

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* removed console

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* sprint1-visualization-fixes.

Signed-off-by: abasatwar <amruta_basatwar@persistent.com>

* initialize default params for DimensonComponent and formatted the codes

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* code review changes done

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* added empty line at end.

Signed-off-by: abasatwar <amruta_basatwar@persistent.com>

Co-authored-by: rinku-kumar-psl <rinku_kumar@persistent.com>
Co-authored-by: Ramneet Chopra <ramneet_chopra@persistent.com>
Co-authored-by: Deepak Nevde <deepak_nevde@persistent.com>
Co-authored-by: Shankha Das <shankha.das@domo.com>
Co-authored-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* Bump moment from 2.29.2 to 2.29.4 in /dashboards-observability (#845)

Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Sprint2 (#47) (#868)

* graph style section UI schema

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

* changes for style mode and interpolation

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

* lineWidth integration for line mode

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line.tsx
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

# Conflicts:
#	dashboards-observability/common/constants/shared.ts
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_style_slider.tsx

* changes for Legend and Orientation in Line

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_button_group.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_legend.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_style_slider.tsx

* point size and Bar Alignment changes

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line.tsx
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/common/constants/shared.ts
#	dashboards-observability/common/types/explorer.ts

* implemented fill opacity for line chart

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line.tsx

# Conflicts:
#	dashboards-observability/public/components/event_analytics/utils/utils.tsx

* changes for line width and fill opacity in bar mode and removed mode from chartOption

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/common/constants/shared.ts

* updated bar mode opacity in line chart

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* refactored the config chart style code

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/common/constants/shared.ts
#	dashboards-observability/common/types/explorer.ts

* snapshot updated and code refactored

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/utils/utils.tsx

* type added to new component

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_button_group.tsx

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_style_slider.tsx

* review comments addressed

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/utils/utils.tsx

# Conflicts:
#	dashboards-observability/common/constants/shared.ts

* cypress test case added and resolve button label wraping issue

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/.cypress/integration/1_event_analytics.spec.js
#	dashboards-observability/.cypress/utils/event_constants.js

# Conflicts:
#	dashboards-observability/.cypress/integration/1_event_analytics.spec.js

# Conflicts:
#	dashboards-observability/.cypress/integration/1_event_analytics.spec.js

* multi matrices changes for Line

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* dimensions and metrics UI changes for time-series

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/common/constants/explorer.ts
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_config_panel_item.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/index.tsx

* made data config pannel collapsable and initial fields render

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_config_panel_item.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/index.tsx

* code refactored

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_config_panel_item.tsx

* snapshot updated and handled corner cases

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* code styling fixes and added TODO comment

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* sequence change for dimensions and metrics

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Sprint1 (#14)

* graph style section UI schema

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

* changes for style mode and interpolation

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

* lineWidth integration for line mode

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line.tsx
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

# Conflicts:
#	dashboards-observability/common/constants/shared.ts
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_style_slider.tsx

* changes for Legend and Orientation in Line

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_button_group.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_legend.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_style_slider.tsx

* point size and Bar Alignment changes

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line.tsx
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/common/constants/shared.ts
#	dashboards-observability/common/types/explorer.ts

* implemented fill opacity for line chart

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line.tsx

# Conflicts:
#	dashboards-observability/public/components/event_analytics/utils/utils.tsx

* changes for line width and fill opacity in bar mode and removed mode from chartOption

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/common/constants/shared.ts

* updated bar mode opacity in line chart

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* refactored the config chart style code

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/common/constants/shared.ts
#	dashboards-observability/common/types/explorer.ts

* snapshot updated and code refactored

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/utils/utils.tsx

* type added to new component

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_button_group.tsx

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_style_slider.tsx

* review comments addressed

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/utils/utils.tsx

# Conflicts:
#	dashboards-observability/common/constants/shared.ts

* cypress test case added and resolve button label wraping issue

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/.cypress/integration/1_event_analytics.spec.js
#	dashboards-observability/.cypress/utils/event_constants.js

# Conflicts:
#	dashboards-observability/.cypress/integration/1_event_analytics.spec.js

# Conflicts:
#	dashboards-observability/.cypress/integration/1_event_analytics.spec.js

* multi matrices changes for Line

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* dimensions and metrics UI changes for time-series

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/common/constants/explorer.ts
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_config_panel_item.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/index.tsx

* made data config pannel collapsable and initial fields render

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_config_panel_item.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/index.tsx

* code refactored

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_config_panel_item.tsx

* snapshot updated and handled corner cases

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* code styling fixes and added TODO comment

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* data config reviewed code added

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Text correction

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Conflicts resolved

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* table view: eui table replaced with ag-grid

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* drag-drop issue fixed

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* test case of data_table updated

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* feedback comments resolved

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* grid height issue:fixed

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* column height, value getter for type double

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* data_table elements moved to separate

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* footer components

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* cypress test cases for table view

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* enhancement for heatmap with new UI

Signed-off-by: Shankha Das <shankha.das@domo.com>

* line chart test cases

Signed-off-by: Shankha Das <shankha.das@domo.com>

* console logs removed

Signed-off-by: Shankha Das <shankha.das@domo.com>

* updated value options ui for treemap

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* removed console

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* Fixes of sprint1 for new ui implementation (#12)

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

Co-authored-by: rinku-kumar-psl <rinku_kumar@persistent.com>
Co-authored-by: Deepak Nevde <deepak_nevde@persistent.com>
Co-authored-by: Ramneet Chopra <ramneet_chopra@persistent.com>
Co-authored-by: Shankha Das <shankha.das@domo.com>
Co-authored-by: Mrunal Zambre <mrunal_zambre@persistent.com>
Co-authored-by: ruchika-narang <79983862+ruchika-narang@users.noreply.github.com>

* Latest code added

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Collapsapable button position change to top

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* table view: eui table replaced with ag-grid

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* drag-drop issue fixed

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* test case of data_table updated

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* feedback comments resolved

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* grid height issue:fixed

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* column height, value getter for type double

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* data_table elements moved to separate

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* footer components

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* cypress test cases for table view

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* data config reviewed code added

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Text correction

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Conflicts resolved

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* enhancement for heatmap with new UI

Signed-off-by: Shankha Das <shankha.das@domo.com>

* line chart test cases

Signed-off-by: Shankha Das <shankha.das@domo.com>

* console logs removed

Signed-off-by: Shankha Das <shankha.das@domo.com>

* updated value options ui for treemap

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* removed console

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* sprint1-visualization-fixes.

Signed-off-by: abasatwar <amruta_basatwar@persistent.com>

* added colorscale config options for treemap

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* code review comment resolved

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* added config option to sort treemap sectors

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* changes to resctct duplicte options

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* Updated and Added test scripts for Treemap chart along with data config and worked on reassembling the event_constants.js file

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Removed unwanted code

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* implementation of histogram with new UI

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* gauge chart added

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* Pie chart enhancement, multi labels change

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* threshold text fix

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* cypress test cases added

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* Code review comment resolved

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* reset fixed, unused imports removed, PR checks fixed

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* single timestamp dimension, no data dsiplay, label rotate, label/legend size

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* layout fixed for primary y axis

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* change of screen size of no data found and visualization

Signed-off-by: Shankha Das <shankha_das@persistent.com>

* changes for restriction of duplicate fields on Data Config and only numeric field selection to metrics

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* line label replaced with time series

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* snapshot tests

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* Removed unwanted spaces

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* initialize default params for DimensonComponent and formatted the codes

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* pr review feedback

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* updated preview functionality for charts

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* updated snapshots

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* Worked on review comments

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* changed variable names

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* code review changes done

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* added empty line at end.

Signed-off-by: abasatwar <amruta_basatwar@persistent.com>

* updated variable names

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* updated snapshots

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* Added pie chart test cases

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* updated snapshots

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Removed consoles

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Worked on conflicts

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* color selector added

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* updated snapshots

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* UI updated as recommended

Signed-off-by: Shankha Das <shankha_das@persistent.com>

* Added legend to heatmap

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* data_config_panel_item timeseries code removed

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* bar chart with multiple dimension and metrics, timestamp

Signed-off-by: abasatwar <amruta_basatwar@persistent.com>

* limit no. of gauge option added

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* threshold limit added, gauge default parameters moved to constants/explorer

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* legend placement added

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* yarn test

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* snapshot updated

Signed-off-by: abasatwar <amruta_basatwar@persistent.com>

* snapshot updated

Signed-off-by: abasatwar <amruta_basatwar@persistent.com>

* Resolving issues after removal of preview functionality

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* updated snapshots

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Updated snapshots

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* changes for default timestamp data for time-series and corner cases

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* code review comment addressed

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* pr feedback

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* dimensions, metrics length checks refined

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* updated as per review comments

Signed-off-by: abasatwar <amruta_basatwar@persistent.com>

* fixing of data config corner cases

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* snapshot updated

Signed-off-by: abasatwar <amruta_basatwar@persistent.com>

* pr feedback

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

Co-authored-by: rinku-kumar-psl <rinku_kumar@persistent.com>
Co-authored-by: Deepak Nevde <deepak_nevde@persistent.com>
Co-authored-by: Ramneet Chopra <ramneet_chopra@persistent.com>
Co-authored-by: Shankha Das <shankha.das@domo.com>
Co-authored-by: Mrunal Zambre <mrunal_zambre@persistent.com>
Co-authored-by: ruchika-narang <79983862+ruchika-narang@users.noreply.github.com>
Co-authored-by: Pratibha Pandey <pratibha_pandey@persistent.com>
Co-authored-by: ruchika-narang <ruchika_narang@persistent.com>
Co-authored-by: Shankha Das <shankha_das@persistent.com>

Co-authored-by: rinku-kumar-psl <rinku_kumar@persistent.com>
Co-authored-by: Deepak Nevde <deepak_nevde@persistent.com>
Co-authored-by: Ramneet Chopra <ramneet_chopra@persistent.com>
Co-authored-by: Shankha Das <shankha.das@domo.com>
Co-authored-by: Mrunal Zambre <mrunal_zambre@persistent.com>
Co-authored-by: ruchika-narang <79983862+ruchika-narang@users.noreply.github.com>
Co-authored-by: Pratibha Pandey <pratibha_pandey@persistent.com>
Co-authored-by: ruchika-narang <ruchika_narang@persistent.com>
Co-authored-by: Shankha Das <shankha_das@persistent.com>

* Staging for version increment automation (#848)

* Version increment automation

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

* Version increment automation

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

* Version increment automation: task rename updateVersion

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

* Release Notes for 2.2.0 (#920)

Signed-off-by: vamsi-amazon <reddyvam@amazon.com>

* Sprint2 code refactoring and warning minimization (#904)

* changes to remove for unique key warning on Dom and code refactoring sprint2

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* snapshot updated

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* no_results.test.tsx snapshot updated

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* added empty line at the end of the file

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* Bump to 2.2.0 (#918) (#928)

* Bump to 2.2.0

Signed-off-by: vamsi-amazon <reddyvam@amazon.com>

* Update snapshots

Signed-off-by: Joshua Li <joshuali925@gmail.com>

Co-authored-by: Joshua Li <joshuali925@gmail.com>
(cherry picked from commit da9e9c013e13e03afd09d324e06e025dbb207f0c)

Co-authored-by: vamsi-amazon <reddyvam@amazon.com>

* Sprint3 alpha (#64) (#931)

* Sprint3 alpha (#64)

Signed-off-by: abasatwar <amruta_basatwar@persistent.com>

* issues resolved and snapshots updated

Signed-off-by: Shankha Das <shankha_das@persistent.com>

* 2 snapshots updated

Signed-off-by: Shankha Das <shankha_das@persistent.com>

Signed-off-by: abasatwar <amruta_basatwar@persistent.com>
Signed-off-by: Shankha Das <shankha_das@persistent.com>
Co-authored-by: Shankha Das <shankha_das@persistent.com>

* [ENHANCEMENT]: Movement of temporary visualization panel data into userconfig (#929)

* Worked on movement of data to userConfigs

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Updated snapshots

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Updated snapshots

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Updated snapshots for failing checks

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* resolved PR comments

Signed-off-by: Shankha Das <shankha_das@persistent.com>

* visType added

Signed-off-by: Shankha Das <shankha_das@persistent.com>

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>
Signed-off-by: Shankha Das <shankha_das@persistent.com>
Co-authored-by: Shankha Das <shankha_das@persistent.com>

* cypress test case for horizontal bar (#935)

Signed-off-by: nidhisinghai <nidhisinghai@persistent.com>

Signed-off-by: nidhisinghai <nidhisinghai@persistent.com>
Co-authored-by: nidhisinghai <nidhisinghai@persistent.com>

* build error resolve (#923)

Signed-off-by: nidhisinghai <nidhisinghai@persistent.com>

Signed-off-by: nidhisinghai <nidhisinghai@persistent.com>
Co-authored-by: nidhisinghai <nidhisinghai@persistent.com>

* [BUG] : Dimensions getting removed when no timeseries field is present (#944)

* Fix for app crash and dimension disaapearing

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* optimized the code and updated snapshots

Signed-off-by: Shankha Das <shankha_das@persistent.com>

* resolved PR comments

Signed-off-by: Shankha Das <shankha_das@persistent.com>

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>
Signed-off-by: Shankha Das <shankha_das@persistent.com>
Co-authored-by: Shankha Das <shankha_das@persistent.com>

* cypress test case for scatter chart (#930)

Signed-off-by: nidhisinghai <nidhisinghai@persistent.com>

Signed-off-by: nidhisinghai <nidhisinghai@persistent.com>
Co-authored-by: nidhisinghai <nidhisinghai@persistent.com>

* Bug/logs-view-data-config: Added Columns in Data Configuration for Logs View (#955)

* Fix for app crash and dimension disaapearing

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* optimized the code and updated snapshots

Signed-off-by: Shankha Das <shankha_das@persistent.com>

* resolved PR comments

Signed-off-by: Shankha Das <shankha_das@persistent.com>

* resolved data configuration bug for logs view

Signed-off-by: Shankha Das <shankha_das@persistent.com>

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>
Signed-off-by: Shankha Das <shankha_das@persistent.com>
Co-authored-by: ruchika-narang <ruchika_narang@persistent.com>

* Feature/tooltip-section: Added tooltip options for various charts (#952)

* Fix for app crash and dimension disaapearing

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* optimized the code and updated snapshots

Signed-off-by: Shankha Das <shankha_das@persistent.com>

* resolved PR comments

Signed-off-by: Shankha Das <shankha_das@persistent.com>

* added tooltip options

Signed-off-by: Shankha Das <shankha_das@persistent.com>

* removed log

Signed-off-by: Shankha Das <shankha_das@persistent.com>

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>
Signed-off-by: Shankha Das <shankha_das@persistent.com>
Co-authored-by: ruchika-narang <ruchika_narang@persistent.com>

* resolved color theme issue (#960)

Signed-off-by: Shankha Das <shankha_das@persistent.com>

Signed-off-by: Shankha Das <shankha_das@persistent.com>

* Renamed data panel to style (#964)

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Query Manager (#915)

* Bump prismjs from 1.25.0 to 1.27.0 in /dashboards-observability (#508) (#574)

Bumps [prismjs](https://github.com/PrismJS/prism) from 1.25.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.25.0...v1.27.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit b4f491a16f81725db6d63f604a3020e5b89dd720)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* change to support java 8 in compile and runtime (#575) (#576)

Signed-off-by: Zhongnan Su <szhongna@amazon.com>
(cherry picked from commit 5c43e9dac336b37fa4f6f002709e0965015383aa)

Co-authored-by: Zhongnan Su <szhongna@amazon.com>

* Add 1.3.0 release notes (#580) (#582)

Signed-off-by: Eugene Lee <eugenesk@amazon.com>

* query manager

Signed-off-by: Eric Wei <menwe@amazon.com>

* removed aggregations from dimensions

Signed-off-by: Eric Wei <menwe@amazon.com>

* qm improvements

Signed-off-by: Eric Wei <menwe@amazon.com>

* types/code cleanups/error corrections

Signed-off-by: Eric Wei <menwe@amazon.com>

* fixed a undefined issue

Signed-off-by: Eric Wei <menwe@amazon.com>

* qm fixes for query builder

Signed-off-by: Eric Wei <menwe@amazon.com>

* viz timestamp selector

Signed-off-by: Eric Wei <menwe@amazon.com>

* use postinstall for antlr output files

Signed-off-by: Eric Wei <menwe@amazon.com>

* query building fixes

Signed-off-by: Eric Wei <menwe@amazon.com>

* updated snapshots

Signed-off-by: Eric Wei <menwe@amazon.com>

* remove output files

Signed-off-by: Eric Wei <menwe@amazon.com>

* cherry-pick from integration branch

Signed-off-by: Eric Wei <menwe@amazon.com>

* explicitly remove generated files

Signed-off-by: Eric Wei <menwe@amazon.com>

Signed-off-by: Eugene Lee <eugenesk@amazon.com>
Signed-off-by: Eric Wei <menwe@amazon.com>
Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zhongnan Su <szhongna@amazon.com>

* Query manager integration (#987)

* Bump prismjs from 1.25.0 to 1.27.0 in /dashboards-observability (#508) (#574)

Bumps [prismjs](https://github.com/PrismJS/prism) from 1.25.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.25.0...v1.27.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit b4f491a16f81725db6d63f604a3020e5b89dd720)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* change to support java 8 in compile and runtime (#575) (#576)

Signed-off-by: Zhongnan Su <szhongna@amazon.com>
(cherry picked from commit 5c43e9dac336b37fa4f6f002709e0965015383aa)

Co-authored-by: Zhongnan Su <szhongna@amazon.com>

* Add 1.3.0 release notes (#580) (#582)

Signed-off-by: Eugene Lee <eugenesk@amazon.com>

* query manager

Signed-off-by: Eric Wei <menwe@amazon.com>

* removed aggregations from dimensions

Signed-off-by: Eric Wei <menwe@amazon.com>

* qm improvements

Signed-off-by: Eric Wei <menwe@amazon.com>

* types/code cleanups/error corrections

Signed-off-by: Eric Wei <menwe@amazon.com>

* qm fixes for query builder

Signed-off-by: Eric Wei <menwe@amazon.com>

* viz timestamp selector

Signed-off-by: Eric Wei <menwe@amazon.com>

* query manager integration with bar step 1

Signed-off-by: Eric Wei <menwe@amazon.com>

* span fix

Signed-off-by: Eric Wei <menwe@amazon.com>

* use postinstall for antlr output files

Signed-off-by: Eric Wei <menwe@amazon.com>

* query building fix

Signed-off-by: Eric Wei <menwe@amazon.com>

* updated snapshots

Signed-off-by: Eric Wei <menwe@amazon.com>

* fixed file not found issue

Signed-off-by: Eric Wei <menwe@amazon.com>

* remove output files

Signed-off-by: Eric Wei <menwe@amazon.com>

Signed-off-by: Eugene Lee <eugenesk@amazon.com>
Signed-off-by: Eric Wei <menwe@amazon.com>
Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zhongnan Su <szhongna@amazon.com>

* Bug/color-theme-options: Resolved color theme issue #960 (#971)

* Resolved to show only metrics in the dropdown instead of all the fields

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Removed unncessary import

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Updated snapshots after rebasing with main

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* cypress box plot (#983)

* cypress box plot

Signed-off-by: nidhisinghai <nidhisinghai@persistent.com>

* cypress box plot new

Signed-off-by: nidhisinghai <nidhisinghai@persistent.com>

Signed-off-by: nidhisinghai <nidhisinghai@persistent.com>
Co-authored-by: nidhisinghai <nidhisinghai@persistent.com>

* fix: reset fontSize on click of reset (#986)

Signed-off-by: SivaprasadAluri <sivaprasad_aluri@persistent.com>

Signed-off-by: SivaprasadAluri <sivaprasad_aluri@persistent.com>

* Cypress automation for Logs view (#995)

* Added cypress scripts for Logs view

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Added screenshots files

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Added snapshots files

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

Signed-off-by: Eugene Lee <eugenesk@amazon.com>
Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>
Signed-off-by: Joshua Li <joshuali925@gmail.com>
Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>
Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>
Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>
Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com>
Signed-off-by: pgodithi <pgodithi@amazon.com>
Signed-off-by: vamsi-amazon <reddyvam@amazon.com>
Signed-off-by: abasatwar <amruta_basatwar@persistent.com>
Signed-off-by: Shankha Das <shankha_das@persistent.com>
Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>
Signed-off-by: nidhisinghai <nidhisinghai@persistent.com>
Signed-off-by: Eric Wei <menwe@amazon.com>
Signed-off-by: SivaprasadAluri <sivaprasad_aluri@persistent.com>
Co-authored-by: Eugene Lee <eugenesk@amazon.com>
Co-authored-by: Pratibha <103417380+pratibhapandey16@users.noreply.github.com>
Co-authored-by: Deepak Nevde <deepak_nevde@persistent.com>
Co-authored-by: Nidhi Singhai <nidhi_singhai@persistent.com>
Co-authored-by: Rinku Kumar <103560761+rinku-kumar-psl@users.noreply.github.com>
Co-authored-by: Mrunal Zambre <79525611+mrunal-z@users.noreply.github.com>
Co-authored-by: Pratibha Pandey <pratibha_pandey@persistent.com>
Co-authored-by: Joshua Li <joshuali925@gmail.com>
Co-authored-by: deepaknevdepsl <102342039+deepaknevdepsl@users.noreply.github.com>
Co-authored-by: ruchika-narang <79983862+ruchika-narang@users.noreply.github.com>
Co-authored-by: Subrat Pattnaik <subrat.pattnaik@hotmail.com>
Co-authored-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com>
Co-authored-by: abasatwar <amruta_basatwar@persistent.com>
Co-authored-by: rinku-kumar-psl <rinku_kumar@persistent.com>
Co-authored-by: Ramneet Chopra <ramneet_chopra@persistent.com>
Co-authored-by: Shankha Das <shankha.das@domo.com>
Co-authored-by: Mrunal Zambre <mrunal_zambre@persistent.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ruchika-narang <ruchika_narang@persistent.com>
Co-authored-by: Shankha Das <shankha_das@persistent.com>
Co-authored-by: Prudhvi Godithi <pgodithi@amazon.com>
Co-authored-by: vamsi-amazon <reddyvam@amazon.com>
Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Co-authored-by: nidhisinghai <103416937+nidhisinghai@users.noreply.github.com>
Co-authored-by: nidhisinghai <nidhisinghai@persistent.com>
Co-authored-by: shankha-das <93648901+shankha-das@users.noreply.github.com>
Co-authored-by: Eric Wei <menwe@amazon.com>
Co-authored-by: Zhongnan Su <szhongna@amazon.com>
Co-authored-by: SivaprasadAluri <110654651+SivaprasadAluri@users.noreply.github.com>
Co-authored-by: Li <lnse@b0f1d8522b4f.ant.amazon.com>
  • Loading branch information
1 parent 4ca65ca commit d1bb24a
Show file tree
Hide file tree
Showing 175 changed files with 32,971 additions and 7,825 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on: [pull_request, push]
env:
PLUGIN_NAME: dashboards-observability
OPENSEARCH_VERSION: 'main'
OPENSEARCH_PLUGIN_VERSION: 2.0.0.0
OPENSEARCH_PLUGIN_VERSION: 2.2.0.0

jobs:

Expand Down
504 changes: 462 additions & 42 deletions dashboards-observability/.cypress/integration/1_event_analytics.spec.js

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions dashboards-observability/.cypress/integration/2_notebooks.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import {
SAMPLE_URL,
SQL_QUERY_TEXT,
PPL_QUERY_TEXT,
NOTEBOOK_TEXT,
OPENSEARCH_URL,
} from '../utils/constants';

import { SAMPLE_PANEL } from '../utils/panel_constants';
Expand Down Expand Up @@ -63,6 +65,13 @@ describe('Testing notebooks table', () => {
cy.visit(`${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/notebooks`);
});

it('Notebooks table empty state', () => {
cy.get('#notebookArea').contains('Notebooks (0)').should('exist');
cy.get('.euiTextAlign.euiTextAlign--center').contains('No notebooks');
cy.get('.euiButton__text').eq(2).contains('Create notebook');
cy.get('.euiButton__text').eq(3).contains('Add samples');
});

it('Displays error toast for invalid notebook name', () => {
cy.get('.euiButton__text').contains('Create notebook').click();
cy.wait(delay);
Expand Down Expand Up @@ -125,6 +134,21 @@ describe('Testing notebooks table', () => {
.should('exist');
});

it('Notebooks table columns headers and pagination', () => {
cy.get('.euiTitle.euiTitle--small').contains('Notebooks').should('exist');
cy.get('.euiTableCellContent__text[title="Name"]').should('exist');
cy.get('.euiTableCellContent__text[title="Last updated"]').should('exist');
cy.get('.euiTableCellContent__text[title="Created"]').should('exist');
cy.get('[data-test-subj="tablePaginationPopoverButton"]').should('exist');
});

it('"Learn more" link under Notebooks header', () => {
cy.get('.euiTitle.euiTitle--small').contains('Notebooks');
cy.get('.euiTextColor.euiTextColor--subdued').contains(NOTEBOOK_TEXT);
cy.get('a.euiLink.euiLink--primary').contains('Learn more').click();
cy.get(`a[href="${OPENSEARCH_URL}"]`).should('exist');
});

it('Deletes notebooks', () => {
cy.get('.euiCheckbox__input[data-test-subj="checkboxSelectAll"]').click();
cy.wait(delay);
Expand Down Expand Up @@ -231,6 +255,16 @@ describe('Testing paragraphs', () => {
cy.get('.euiTitle').contains('Event analytics').should('exist');
});

it('Paragraph actions layout', () => {
cy.get('button[data-test-subj="notebook-paragraph-actions-button"]').should('exist').click();
cy.get('.euiContextMenuPanelTitle').contains('Actions');
cy.get('.euiContextMenuItem__text').eq(0).contains('Add paragraph to top');
cy.get('.euiContextMenuItem__text').eq(1).contains('Add paragraph to bottom');
cy.get('.euiContextMenuItem__text').eq(2).contains('Run all paragraphs');
cy.get('.euiContextMenuItem__text').eq(3).contains('Clear all outputs');
cy.get('.euiContextMenuItem__text').eq(4).contains('Delete all paragraphs');
});

it('Renders markdown', () => {
cy.get('.euiTextArea').should('not.exist');
cy.get(`a[href="${SAMPLE_URL}"]`).should('exist');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,3 +187,108 @@ describe('Testing plots', () => {
cy.get('text.annotation-text[data-unformatted="Now: 108"]').should('exist');
});
});

describe('Latency by trace group table', () =>{
beforeEach(() => {
cy.visit('app/observability-dashboards#/trace_analytics/home', {
onBeforeLoad: (win) => {
win.sessionStorage.clear();
},
});
setTimeFilter();
});

it('Verify columns in Latency by trace group table along with pagination functionality', () => {
cy.get('span.panel-title').eq(0).should('exist');
cy.wait(delay);
cy.get('span[title="Trace group name"]').should('exist');
cy.get('span[title="Latency variance (ms)"]').should('exist');
cy.get('span[title="Average latency (ms)"]').should('exist');
cy.get('span[title="24-hour latency trend"]').should('exist');
cy.get('span[title="Error rate"] .euiToolTipAnchor').should('exist');
cy.get('span[title="Traces"] .euiToolTipAnchor').should('exist');
cy.get('[data-test-subj="tablePaginationPopoverButton"]').click();
cy.get('.euiIcon.euiIcon--medium.euiIcon--inherit.euiContextMenu__icon').eq(0).should('exist').click();
cy.get('[data-test-subj="pagination-button-next"]').should('exist').click();
cy.get('button[data-test-subj="dashboard-table-trace-group-name-button"]').contains('mysql').should('exist');
});

it('Sorts the Latency by trace group table', () => {
cy.get('span[title*="Trace group name"]').click();
cy.get('[data-test-subj="dashboard-table-trace-group-name-button"]').eq(0).contains('/**').should('exist');
cy.wait(delay);
});

it('Verify tooltips in Latency by trace group table', () => {
cy.get('.euiIcon.euiIcon--small.euiIcon--subdued.euiIcon-isLoaded.eui-alignTop').eq(0).trigger('mouseover');
cy.contains('Traces of all requests that share a common API and operation at the start of distributed tracing instrumentation.').should('be.visible');
cy.get('.euiIcon.euiIcon--small.euiIcon--subdued.euiIcon-isLoaded.eui-alignTop').eq(1).trigger('mouseover');
cy.contains('Range of latencies for traces within a trace group in the selected time range.').should('be.visible');
cy.get('.euiIcon.euiIcon--small.euiIcon--subdued.euiIcon-isLoaded.eui-alignTop').eq(2).trigger('mouseover');
cy.contains('Average latency of traces within a trace group in the selected time range.').should('be.visible');
cy.get('.euiIcon.euiIcon--small.euiIcon--subdued.euiIcon-isLoaded.eui-alignTop').eq(3).trigger('mouseover');
cy.contains('24 hour time series view of hourly average, hourly percentile, and hourly range of latency for traces within a trace group.').should('be.visible');
cy.get('.euiIcon.euiIcon--small.euiIcon--subdued.euiIcon-isLoaded.eui-alignTop').eq(4).trigger('mouseover');
cy.contains('Error rate based on count of trace errors within a trace group in the selected time range.').should('be.visible');
cy.get('.euiIcon.euiIcon--small.euiIcon--subdued.euiIcon-isLoaded.eui-alignTop').eq(5).trigger('mouseover');
cy.contains('Count of traces with unique trace identifiers in the selected time range.').should('be.visible');
});

it('Verify Search engine on Trace dashboard', () => {
cy.get('.euiFieldSearch.euiFieldSearch--fullWidth').click().type('client_pay_order{enter}');
cy.wait(delay);
cy.get('.euiTableCellContent.euiTableCellContent--alignRight.euiTableCellContent--overflowingContent').contains('211.04').should('exist');
cy.get('button[data-test-subj="dashboard-table-trace-group-name-button"]').click();
cy.get('.euiBadge.euiBadge--hollow.euiBadge--iconRight.globalFilterItem').click();
cy.get('.euiIcon.euiIcon--medium.euiContextMenu__arrow').click();
cy.get('.euiContextMenuPanelTitle').contains('Edit filter').should('exist');
cy.get('.euiButton.euiButton--primary.euiButton--fill').click();
cy.get('.euiBadge.euiBadge--hollow.euiBadge--iconRight.globalFilterItem').click();
cy.get('.euiContextMenuItem__text').eq(1).contains('Exclude results').click();
cy.get('.euiTextColor.euiTextColor--danger').should('exist');
cy.get('.euiBadge.euiBadge--hollow.euiBadge--iconRight.globalFilterItem').click();
cy.get('.euiContextMenuItem__text').eq(1).contains('Include results').click();
cy.get('.euiBadge.euiBadge--hollow.euiBadge--iconRight.globalFilterItem').click();
cy.get('.euiContextMenuItem__text').eq(2).contains('Temporarily disable').click();
cy.get('.euiBadge.euiBadge--iconRight.globalFilterItem.globalFilterItem-isDisabled').should('exist').click();
cy.get('.euiContextMenuItem__text').eq(2).contains('Re-enable').click();
cy.get('.euiBadge.euiBadge--hollow.euiBadge--iconRight.globalFilterItem').click();
cy.get('.euiContextMenuItem__text').eq(3).contains('Delete').click();
});
});

describe('Testing filters on trace analytics page', () =>{
beforeEach(() => {
cy.visit('app/observability-dashboards#/trace_analytics/home', {
onBeforeLoad: (win) => {
win.sessionStorage.clear();
},
});
setTimeFilter();
});

it('Verify Change all filters', () =>{
cy.get('.euiButtonIcon.euiButtonIcon--primary.euiButtonIcon--empty.euiButtonIcon--xSmall').click();
cy.get('.euiContextMenuPanelTitle').contains('Change all filters').should('exist');
cy.get('.euiContextMenuItem__text').eq(0).contains('Enable all');
cy.get('.euiContextMenuItem__text').eq(1).contains('Disable all');
cy.get('.euiContextMenuItem__text').eq(2).contains('Invert inclusion');
cy.get('.euiContextMenuItem__text').eq(3).contains('Invert enabled/disabled');
cy.get('.euiContextMenuItem__text').eq(4).contains('Remove all');
})

it('Verify Add filter section', () => {
cy.get('.euiPopover.euiPopover--anchorDownLeft').contains('+ Add filter').click();
cy.get('.euiPopoverTitle').contains('Add filter').should('exist');
cy.wait(delay);
cy.get('.euiComboBox__inputWrap.euiComboBox__inputWrap--noWrap').eq(0).trigger('mouseover').click();
cy.get('.euiComboBoxOption__content').eq(1).click();
cy.get('.euiComboBox__inputWrap.euiComboBox__inputWrap--noWrap').eq(1).trigger('mouseover').click();
cy.get('.euiComboBoxOption__content').eq(2).click();
cy.get('.euiButton.euiButton--primary.euiButton--fill').contains('Save').click();
cy.get('.euiBadge__content').should('exist').click();
cy.get('.euiIcon.euiIcon--medium.euiContextMenu__arrow').click();
cy.get('[data-test-subj="filter-popover-cancel-button"]').contains('Cancel').click();
cy.get('.euiIcon.euiIcon--small.euiIcon--inherit.euiBadge__icon').click();
})
});
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

/// <reference types="cypress" />

import { delay, SERVICE_NAME, SERVICE_SPAN_ID, setTimeFilter } from '../utils/constants';
import { delay, SERVICE_NAME, SERVICE_SPAN_ID, setTimeFilter, verify_traces_spans_data_grid_cols_exists, count_table_row } from '../utils/constants';

describe('Testing services table empty state', () => {
beforeEach(() => {
Expand Down Expand Up @@ -46,6 +46,28 @@ describe('Testing services table', () => {
cy.contains(' (1)').should('exist');
cy.contains('3.57%').should('exist');
});

it('Verify columns in Services table', () => {
cy.get('.euiFlexItem.euiFlexItem--flexGrow10 .panel-title').contains('Services').should('exist');
cy.get('.euiTableCellContent__text[title="Name"]').should('exist');
cy.get('.euiTableCellContent__text[title="Average latency (ms)"]').should('exist');
cy.get('.euiTableCellContent__text[title="Error rate"]').should('exist');
cy.get('.euiTableCellContent__text[title="Throughput"]').should('exist');
cy.get('.euiTableCellContent__text[title="No. of connected services"]').should('exist');
cy.get('.euiTableCellContent__text[title="Connected services"]').should('exist');
cy.get('.euiTableCellContent__text[title="Traces"]').should('exist');
cy.get('[data-test-subj="tablePaginationPopoverButton"]').click();
cy.get('.euiIcon.euiIcon--medium.euiIcon--inherit.euiContextMenu__icon').eq(0).should('exist').click();
cy.get('[data-test-subj="pagination-button-next"]').should('exist').click();
cy.get('.euiLink.euiLink--primary').contains('order').should('exist');
})

it('Navigate from Services to Traces', () => {
cy.get('.euiTableCellContent__text[title="Traces"]').should('exist');
cy.contains('74').should('exist').click();
cy.get('.euiText.euiText--medium .panel-title').should('exist');
cy.get('.euiBadge__childButton[data-test-subj="filterBadge"]').should('exist');
})
});

describe('Testing service view empty state', () => {
Expand Down Expand Up @@ -115,9 +137,143 @@ describe('Testing service view', () => {
cy.get('.euiTextColor').contains('Span ID').trigger('mouseover');
cy.get('.euiButtonIcon[aria-label="span-flyout-filter-icon"').click({ force: true });
cy.wait(delay);

cy.get('.euiBadge__text').contains('spanId: ').should('exist');
cy.get('[data-test-subj="euiFlyoutCloseButton"]').click({ force: true });
cy.contains('Spans (1)').should('exist');
});
});

describe('Testing Service map', () => {
beforeEach(() => {
cy.visit('app/observability-dashboards#/trace_analytics/services', {
onBeforeLoad: (win) => {
win.sessionStorage.clear();
},
});
setTimeFilter();
});

it('Render Service map', () => {
cy.get('.euiText.euiText--medium .panel-title').contains('Service map');
cy.get('[data-test-subj="latency"]').should('exist');
cy.get('.ytitle').contains('Latency (ms)');
cy.get('[data-text = "Error rate"]').click();
cy.contains('60%');
cy.get('[data-text = "Throughput"]').click();
cy.contains('100');
cy.get('.euiText.euiText--medium').contains('Focus on').should('exist');
cy.get('[placeholder="Service name"]').focus().type('database{enter}');
})
});

describe('Testing traces Spans table verify table headers functionality', () => {
beforeEach(() => {
cy.visit('app/observability-dashboards#/trace_analytics/services', {
onBeforeLoad: (win) => {
win.sessionStorage.clear();
},
});
setTimeFilter();
});

it('Renders the spans table and verify columns headers', () => {
cy.contains(' (8)').should('exist');
cy.contains('analytics-service, frontend-client, recommendation').should('exist');
cy.get('.euiLink.euiLink--primary').contains('authentication').should('exist').click();
cy.get('.panel-title').contains('Spans').should('exist');
cy.get('.panel-title-count').contains('5').should('exist');
verify_traces_spans_data_grid_cols_exists();
});

it('Toggle columns and verify the columns hidden text verify rows', () => {
cy.get('.euiLink.euiLink--primary').contains('authentication').should('exist').click();
cy.get('[data-test-subj = "dataGridColumnSelectorButton"]').click();
cy.get('.euiSwitch.euiSwitch--compressed.euiSwitch--mini .euiSwitch__button').eq(3).click();
cy.get('.euiButtonEmpty__text').eq(3).click().should('have.text', '2 columns hidden');
count_table_row(5);
});

it('Show all button Spans table', () => {
cy.get('.euiLink.euiLink--primary').contains('authentication').should('exist').click();
cy.get('[data-test-subj = "dataGridColumnSelectorButton"]').click();
cy.get('.euiPopoverFooter .euiFlexItem.euiFlexItem--flexGrowZero').eq(0).should('have.text', 'Show all').click();
cy.get('.euiDataGrid__focusWrap').click().should('exist');
verify_traces_spans_data_grid_cols_exists();
});

it('Hide all button Spans table', () => {
cy.get('.euiLink.euiLink--primary').contains('authentication').should('exist').click();
cy.get('[data-test-subj = "dataGridColumnSelectorButton"]').click();
cy.get('.euiPopoverFooter .euiFlexItem.euiFlexItem--flexGrowZero').eq(1).should('have.text', 'Hide all').click();
cy.get('.euiDataGrid__focusWrap').click().should('exist');
cy.get('[data-test-subj="dataGridColumnSelectorPopover"]').should('have.text', '10 columns hidden');
});

it('Render Spans table and change data table Density', () => {
cy.get('.euiLink.euiLink--primary').contains('authentication').should('exist').click();
verify_traces_spans_data_grid_cols_exists();
cy.get('.euiButtonEmpty__text').contains('Density').click();
cy.get('.euiButtonContent__icon').eq(5).click();
cy.get('.euiButtonContent__icon').eq(6).click();
cy.get('.euiButtonContent__icon').eq(7).click();
});

it('Render Spans table and and click on sort', () => {
cy.get('.euiLink.euiLink--primary').contains('authentication').should('exist').click();
verify_traces_spans_data_grid_cols_exists();
cy.get('[data-test-subj="dataGridColumnSortingButton"]').contains('Sort fields').should('exist').click();
cy.get('[data-test-subj="dataGridColumnSortingPopoverColumnSelection"]').click();
cy.get('[data-test-subj="dataGridColumnSortingPopoverColumnSelection-spanId').click();
cy.get('[data-test-subj="dataGridColumnSortingPopoverColumnSelection-parentSpanId"]').click();
cy.get('[data-test-subj="dataGridColumnSortingPopoverColumnSelection-traceId"]').click();
cy.get('[data-test-subj="dataGridColumnSortingPopoverColumnSelection-traceGroup').click();
cy.get('[data-test-subj="dataGridColumnSortingPopoverColumnSelection-durationInNanos"]').click();
cy.get('[data-test-subj="dataGridColumnSortingPopoverColumnSelection-startTime"]').click();
cy.get('[data-test-subj="dataGridColumnSortingPopoverColumnSelection-endTime').click();
cy.get('[data-test-subj="dataGridColumnSortingPopoverColumnSelection-status.code"]').click();
cy.get('.euiButtonEmpty__text').eq(5).contains('8 fields sorted').should('exist');
cy.get('[data-test-subj="dataGridColumnSortingPopoverColumnSelection"]').click();
cy.get('[data-test-subj="dataGridColumnSortingButton"]').should('exist').click();
});
});


describe('Testing traces Spans table and verify columns functionality', () => {
beforeEach(() => {
cy.visit('app/observability-dashboards#/trace_analytics/services', {
onBeforeLoad: (win) => {
win.sessionStorage.clear();
},
});
setTimeFilter();
});

it('Renders the spans table and click on first span to verify details', () => {
cy.get('.euiLink.euiLink--primary').contains('authentication').should('exist').click();
verify_traces_spans_data_grid_cols_exists();
cy.get('.euiLink--primary').eq(4).click();
cy.get('[data-test-subj="spanDetailFlyout"] .euiTitle.euiTitle--medium').contains('Span detail').should('exist');
cy.get('.euiFlyoutBody .panel-title').contains('Overview').should('exist');
cy.get('.euiTextColor.euiTextColor--subdued').contains('Span ID').should('exist');
cy.get('.euiDescriptionList__description .euiFlexItem').eq(0).contains('d03fecfa0f55b77c').should('exist');
cy.get('.euiFlyoutBody__overflowContent .panel-title').contains('Span attributes').should('exist');
cy.get('.euiDescriptionList__description .euiFlexItem').eq(0).trigger('mouseover').click();
cy.get('[aria-label="span-flyout-filter-icon"]').click();
cy.get('.euiFlyout__closeButton.euiFlyout__closeButton--inside').click();
cy.get('.euiBadge__content .euiBadge__text').contains('spanId: d03fecfa0f55b77c').should('exist');
count_table_row(1);
cy.get('[aria-label="remove current filter"]').click();
count_table_row(5);
});

it('Render Spans table and verify Column functionality', () => {
cy.get('.euiLink.euiLink--primary').contains('authentication').should('exist').click();
verify_traces_spans_data_grid_cols_exists();
cy.get('.euiDataGridHeaderCell__content').contains('Span ID').click();
cy.get('.euiListGroupItem__label').contains('Hide column').click();
cy.get('.euiDataGridHeaderCell__content').contains('Trace ID').click();
cy.get('.euiListGroupItem__label').contains('Sort A-Z').click();
cy.get('.euiDataGridHeaderCell__content').contains('Trace group').click();
cy.get('.euiListGroupItem__label').contains('Move left').click();
});
});
Loading

0 comments on commit d1bb24a

Please sign in to comment.