Skip to content

Commit

Permalink
[Data Explorer] Merging main to feature branch (#4691)
Browse files Browse the repository at this point in the history
* [Saved Object Service] Adds Repository Factory Provider (#4149)

* Adds Repository Factory Provider

Signed-off-by: Bandini Bhopi <bandinib@amazon.com>

* add category option for context menus (#4144)

* enhance grouping for context menu options

Signed-off-by: David Sinclair <david@sinclair.tech>

* change log

Signed-off-by: David Sinclair <david@sinclair.tech>

* remove type export

Signed-off-by: David Sinclair <david@sinclair.tech>

* revert border and prevent destroy options

Signed-off-by: David Sinclair <david@sinclair.tech>

* update comments for building panels

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

* build panels tests and more comments

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

* add category option for context menus

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

* changelog

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

* add order to groups

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

* documentation, shorter copyrighty, minor cleanup

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

* changelog

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

---------

Signed-off-by: David Sinclair <david@sinclair.tech>
Signed-off-by: David Sinclair <dsincla@rei.com>
Signed-off-by: Ashish Agrawal <ashish81394@gmail.com>
Co-authored-by: Ashish Agrawal <ashish81394@gmail.com>

* [CCI] Add bluebird replaces for src/plugins/saved_objects (#4026)

* Add bluebird replaces for src/plugins/saved_objects
* Add changelog entry

---------

Signed-off-by: Alexei Karikov <karikov.alist.ru@gmail.com>

* Validate and correct change log after 2.8 release (#4275)

Signed-off-by: Su <szhongna@amazon.com>

* [DEVELOPER_GUIDE]  resolving links (#3989)

* links

Signed-off-by: Aigerim Suleimenova <aigerim.suleimenova27@gmail.com>

* new section for doveloper guide

Signed-off-by: Aigerim Suleimenova <aigerim.suleimenova27@gmail.com>

* updates

Signed-off-by: Aigerim Suleimenova <aigerim.suleimenova27@gmail.com>

* Update DEVELOPER_GUIDE.md

Co-authored-by: Ashwin P Chandran <ashwinpc1993@gmail.com>
Signed-off-by: Aigerim Suleimenova <aigerim.suleimenova27@gmail.com>

* Update DEVELOPER_GUIDE.md

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Aigerim Suleimenova <aigerim.suleimenova27@gmail.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Ashwin P Chandran <ashwinpc1993@gmail.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>

* Enable data client with sample data server side (#4268)

* Enable data client with sample data server side

* Add dataSourceId into savedObject

Signed-off-by: Kristen Tian <tyarong@amazon.com>

* Functional list, install uninstall

Signed-off-by: Kristen Tian <tyarong@amazon.com>

* add change log

Signed-off-by: Kristen Tian <tyarong@amazon.com>

* address comments

Signed-off-by: Kristen Tian <tyarong@amazon.com>

* add ut

Signed-off-by: Kristen Tian <tyarong@amazon.com>

---------

Signed-off-by: Kristen Tian <tyarong@amazon.com>

* Upgrade the backport workflow (#4343)

* Copy over the labels from the original PR
* Label the backport PR with `autocut`
* Label a PR that fails to backport

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

* Hide any output from `use_node` checking for Node compatibility (#4237)

Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>

* [Vis Colors] Update default color in TSVB to use `ouiPaletteColorBlind()[0]` (#4363)

Signed-off-by: Manasvini B Suryanarayana <manasvis@amazon.com>

* Add BWC tests for 2.7 and 2.8 (#4023)

Signed-off-by: Manasvini B Suryanarayana <manasvis@amazon.com>

* [Vis colors] Replace vis_type_timeline colors with `ouiPaletteColorBlind()` (#4366)

Signed-off-by: Manasvini B Suryanarayana <manasvis@amazon.com>

* [Lint] add custom stylelint rules and config (#4290)

* [Lint] add custom stylelint rules and config

Adding `@osd/stylelint-config` and `@osd/stylelint-plugin-stylelint` packages.

These packages are utilized by OSD core and can be ran with the following:
`yarn lint:style`

Can be used to fix known non-compliant styling with the following:
`yarn lint:style --fix`

Can be used to audit untracked styling (based on defined rules) with the following:
```
export OUI_AUDIT_ENABLED=true
yarn lint:style
```

---

`@osd/stylelint-config`

Defines rules approved by UX and OSD core in JSON files and is added to OSD core.
Within this commit is defined `colors.json` and `global_selectors.json`.

`colors.json` defines a property that can be matched with a regex of a selector.
If the selector is tracked it will have an `approved` value and a list of `rejected`
values that UX knows if a value should be something.

`global_selectors.json` defines a selector that if tracked, it will have an `approved`
list of relative paths to files that can modify the global selector.

---

`@osd/stylelint-plugin-stylelint`

Creates the functionality that utilizes the JSON files within the `@osd/stylelint-config`.
Within this commit is defined `no_custom_colors` and `no_modifying_global_selectors` rules.

`no_custom_colors` checks if a property is a color property. It then utilizes a compliance
engine helper to check the `colors.json` to see if the property being modified has a compliance
rule available for the property for the specific selector and if it is not compliant.
For example, if a selector matches `button` and we are trying to apply `background-color: red`
to it. Stylelint will catch this and flag this as a known non-compliance issue since it knows
that it should `$euiColorWarning`. If we pass `--fix` the property will be updated to be
`$euiColorWarning`. If `OUI_AUDIT_ENABLED` is true it will catch all `background-color` being
modified that is not being defined explicitly in `colors.json`

`no_modifying_global_selectors` checks if a selector being modified is defined in
`global_selectors.json` to see if a selector not defined in a specific list of approved files.
For example, if a selector matches `#opensearch-dashboards-body` and it is being modified in
`src/core/public/rendering/_base.scss`. Stylelint will catch this and flag this as a
non-compliance issue. Since no other file should be modifying this selector. If we pass `--fix`
the styling will be complete removed from the non-compliant file.

---

Next steps:

* Migrate these packages to OUI
* Consider adding `yarn lint:style --fix` to the build release script here:
https://github.com/opensearch-project/opensearch-build/blob/main/scripts/default/opensearch-dashboards/build.sh#L89

Issue:
#4246

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

* fix to use find

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

* Add regex matching and OUI modification lint

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

* add changelog

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* address issues

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

---------

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>

* Fix linked deps resolution (#4342)

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

* Add configurable `defaults` to `uiSettings` (#4344)

Also now:
* `theme:darkMode` and `theme:version` can be configured via `defaults`
* unauthenticated users are no longer forced to light mode

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

* Refactor hardcode color to use OUI in `maps_legacy` (#4294)

* Refactor color to use OUI
* Pull theme value from actual active theme
* Update changelog

---------

Signed-off-by: Matt Provost <provomat@amazon.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Anan Zhuang <ananzh@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>

* Remove broken flot documentation link for Ruby API (#4384)

* Remove broken documentation link for Ruby API

https://apidock.com/ruby/Time/to_i is currently down for maintenance

But we don't need this link anyway, because it's talking about standard methods.
And we plan to deprecate flot_charts altogether: #4267

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* remove leftover link brackets

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* [CCI] Fix relationships header overflow (#4070)

* Fix relationships header overflow (#3967)

Co-authored-by: Andrey Myssak <andreymyssak@gmail.com>
Signed-off-by: Sergey Myssak <sergey.myssak@gmail.com>

* Replace relationships css file with oui classname (#3967)

Co-authored-by: Andrey Myssak <andreymyssak@gmail.com>
Signed-off-by: Sergey Myssak <sergey.myssak@gmail.com>

* Make title overflow wrap instead of truncation (#3967)

Co-authored-by: Andrey Myssak <andreymyssak@gmail.com>
Signed-off-by: Sergey Myssak <sergey.myssak@gmail.com>

* Remove icon from flyout header and wrap title

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Sergey Myssak <sergey.myssak@gmail.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Andrey Myssak <andreymyssak@gmail.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>

* Refactor color maps to use OUI color palettes (#4293)

* Remove color_util

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

* Update changelog

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

* Revert "Remove color_util"

This reverts commit 9ca9c56.

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

* Refactor color maps to use Oui color palettes

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

* Update changelog pt 2: electric boogaloo

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

* Make gradients look better

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

* Fix typescript ignore

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

* Fix tests

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

* Add todo followup

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

---------

Signed-off-by: Matt Provost <provomat@amazon.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>

* [CCI] Remove unused tags in the navigation plugin (#3964)

* Remove unused tags in the navigation plugin (#3962)

Signed-off-by: Andrey Myssak <andreymyssak@gmail.com>

* Update CHANGELOG.md (#3962)

Signed-off-by: Andrey Myssak <andreymyssak@gmail.com>

---------

Signed-off-by: Andrey Myssak <andreymyssak@gmail.com>
Signed-off-by: Manasvini B Suryanarayana <manasvis@amazon.com>
Co-authored-by: Manasvini B Suryanarayana <manasvis@amazon.com>

* [Stylelint] Add invalid properties rule (#4374)

* Add invalid properties rule

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

* Update changelog

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

* Rename old variable

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

* Add types for configs

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

* Rename rule to no_restricted_properties

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

* Refactor duplicate functions into generic one

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

* Add type definitions

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

* Add some documentation about supported config types

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

* Update changelog

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

* Optchain instead of unwrapping source file

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

---------

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

* Migrate from legacy elasticsearch client to opensearch-js client in `osd-opensearch-archiver` package (#4142)

Signed-off-by: Manasvini B Suryanarayana <manasvis@amazon.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>

* Chore (deps): Bump OUI to 1.1.2 to add anomoly detection icon (#4408)

* Chore (deps): Bump OUI to 1.1.1 to add anomoly detection icon

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* update changelog

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* Excludes broken sass-lang link from Link checker (#4415)

* fix: Link checker exclude

Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>

* just ignore the broken URL for now

Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>

---------

Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>

* [Vis Colors] Update legacy seed colors to use `ouiPaletteColorBlind()` (#4348)

Signed-off-by: Manasvini B Suryanarayana <manasvis@amazon.com>

* Release notes for 1.3.11 (#4423) (#4427)

* chore: Adds 1.3.11 release notes



* chore: Adds 1.3.11 release notes updated



---------


(cherry picked from commit 63908e8)

Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Updates Release notes for 1.3.11 (#4428) (#4430)

* chore: Adds 1.3.11 release notes



* chore: Adds 1.3.11 release notes updated



* chore: Adds 1.3.11 release notes adds skipped changelog PR



---------


(cherry picked from commit 7de483f)

Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* [Stylelint] Add typing to Stylelint rules (#4392)

* Add typing to Stylelint rules

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

* Extract get color property parent into function

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

* Optchain instead of unwrapping source file

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

---------

Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>

* [Vis colors] Update legacy mapped colors in charts plugin to use ouiPaletteColorBlind() (#4398)

Signed-off-by: Manasvini B Suryanarayana <manasvis@amazon.com>
Co-authored-by: Ashwin P Chandran <ashwinpc@amazon.com>

* [CVE-2022-25883] Resolve semver to 7.5.3 and remove unused package (#4411)

In this PR, we resolve semver to 7.5.3 from 5.x, 6.x and 7.x.
There are breaking changes in API in 7.5.3 compared to 5.x/6.x.
However, these API changes do not impact any usages. 

Issue Resolve
#4370

Signed-off-by: ananzh <ananzh@amazon.com>
Co-authored-by: Ashwin P Chandran <ashwinpc@amazon.com>

* Enable sample data with Multiple datasource frontend (#4412)

Signed-off-by: Kristen Tian <tyarong@amazon.com>

* Feature (home): Add vis audit sample dashboard (#4339)

* Feature (home): Add vis audit sample dashboard

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* add changelog

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* Add fonts for previewing the new theme (#4381)

Also:
* Expose default font-family values as CSS variables
* Make default fonts load from OSD and not OUI
* Make fonts differentiable across themes
* Use the theme font in the Legacy Editor

Signed-off-by: Miki <miki@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>

* possible fix for flakey ci9 test (#4450)

* possible fix for flakey ci9 test

Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>

* fix syntax

Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>

---------

Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>

* Chore (VisBuilder): Update icon to use OUI icon (#4446)

* Chore (VisBuilder): Update icon to use OUI icon

Fixes #3691

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* update changelog

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* Relocate tutorials imagery (#4382)

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

* Update main menu to display 'Dashboards' for consistency (#4453)

* Update main menu to display 'Dashboards' for consistency. Fixes #4296
This resolves the inconsistency highlighted in issue #4296 (#4296). The decision to make this change was made in issue #68 (opensearch-project/ux#68)."
* Update OpenSearch Dashboard to OpenSearch Dashboards for consistence
* CHANGELOG.md update

---------

Signed-off-by: Danila Gulderov <gulderov@ya.ru>

* Adding Matt as a maintainer (#4469)

* Chore: Add Matt as a maintainer
* Adds changelog

---------

Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>

* Add `color-scheme` to the root styling (#4477)

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

* Refactor hardcoded color to use OUI in `region_map` (#4299)

* Refactor hardcoded color to use OUI

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

* Update changelog

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

---------

Signed-off-by: Matt Provost <provomat@amazon.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>

* [Console] Convert lib/mappings to TypeScript (#4008)

* Convert mappings.js to TypeScript

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>

* Convert mappings.test.js to TypeScript

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>

* Update CHANGELOG.md

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>

* Add test for getTypes with multi-index mode

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>

* type update

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>

* update typing

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>

* CHANGELOG fix

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>

* Changelog update

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>

* Update Changelog

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>

---------

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>
Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Anan Zhuang <ananzh@amazon.com>
Co-authored-by: Kawika Avilla <kavilla414@gmail.com>
Co-authored-by: Qingyang(Abby) Hu <abigailhu2000@gmail.com>
Co-authored-by: Ashwin P Chandran <ashwinpc@amazon.com>
Co-authored-by: Anan Zhuang <ananzh@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>

* Enable plugins to augment visualizations with additional data and context (#4361)

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

* Update header logo selection logic and assets (#4383)

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

* [CI] Split build and verify into parallel jobs (#4467)

* Also made linter and NOTICE validation run only on Linux

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

* New management overview page and rename stack management to dashboard management (#4287)

Support navigation changes for administrative features. This change includes
* Rename stack management to Dashboard management
* Add new management overview page
* Replace Stack Management to Management overview page on home app categories page
* Make home plugin optional for managemnet overview

Issue Resolved:
#4132

---------

Signed-off-by: Hailong Cui <ihailong@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Ashwin P Chandran <ashwinpc@amazon.com>

* Retain the original sample data interface (#4526)

Signed-off-by: Kristen Tian <tyarong@amazon.com>

* [Vis Augmenter Add UT for few fns (#4516)

* Add UT for few fns

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

* add changelog entry

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

---------

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

* Bump tough-cookie from 4.0.0 to 4.1.3 (#4531)

Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.0.0 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](salesforce/tough-cookie@v4.0.0...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ZilongX <99905560+ZilongX@users.noreply.github.com>

* [Vis Augmenter] Update base vis height in view events flyout (#4535)

* [Vis Augmenter] Update base vis height in view events flyout

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

* Update CHANGELOG

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

---------

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

* Dashboard De-Angularization (#4502)

Removes Angular from the `plugins/dashboard` utilizing React.

This includes refactoring to address changes in state management but will require fast follow to
address none blocking issues raised which can be found here:
#3365

Partially Resolves:
#3365

---
* Replace angular modules with react components
  * Use React to start up the dashboard app, and use react routing to configure basic
    routing for dashboard plugin.
* [Dashboard De-Angular] Render dashboard listing page (#4015)
  * #4000
  * Render the dashboard listing component with basic functionalities:
    * When there is no dashboard, render the empty dashboard page
    * When there are dashboards, show the dashboard listing table
    * When click on the dashboard, show the editor page
    * Delete the dashboards when selected
    * Can use search bar to filter dashboard
* Basic top nav bar for dashboard (#4108)
  * Basic top nav bar for dashboard
  *  This PR will add basic structure to render top nav bar, including a basic implementation for dashboard app state. 
* Render editor page with basic nav actions (#4213)
  * Added dashboard embeddable container to render the dashboard editor page.
* Add visualization (#4257)
  * Add and save visualization to dashboard
* Render empty screen (#4346)
  * Render empty screen with correct edit and view view when creating a new dashboard.
* Fix routing (#4357)
  * Fix the edit action routing on the dashboard listing page; also fix routing when the route has no match. Add '_g' param to the URL on both dashboard listing page and dashboard editor page.
* [Dashboard De-Angular] Enable time filter functionalities  (#4364)
  * Fix time filter on dashboard
  * Save dashboard with time restore
  * Dashboard be able to save query and app filter
  * Enable functional test for dashboard
  * Fix comments and add ui bootstrap back
* No index pattern routing (#4401)
  * Should redirect to stack management page if there is no index pattern detected.
* Add embed mode and other URL param options (#4407)
  * UI should render based on URL param options
* [Dashboard De-Angular] Add dashboard class for discard flow (#3563)
  * Add Dashboard class for state managing
  * isDirty working for cancel flow
* [Dashboard De-Angular] Add breadcrumb with view/edit mode and unsaved flow (#4479)
  * set isDirty back to false when saving successfully
* Breadcrumb working
* change to dashboards in breadcrumb
* [Dashboard De-Angular] Enable URL title param for initial filter on dashboard listing (#4480)
  * Fix dashboard listing functional test
  * Can filter dashboards using URL title param
  * Fix the functional tests
* [Dashboard De-Angular] Fix dashboard save and back button functional test (#4491)
  * fix copy on save and functional test 5
* Fix back button navigation
  * Fix version migration for panels
  * Fix conversions between saved panel and container panel type
  * Fix redundant browser update by re-structure app state and global state sync logic in order for back button to work, also fix the corresponding functional test
* migration version
* Add initialization dirty flag and fix full mode filter bar
* [Dashboard De-Angular] Fix filter and query related functional tests in functional test group 3 (#4495)
  * fix index pattern window
* Fix time filter and query related functional test in group 3
* [Dashboard De-Angular] Fix remaining functional tests (#4496)
  * fix dashboard state function test in group 4
* fix expanding panel
* fix dashboard listing delete (#4508)
* [Dashboard De-Angular] Initial clean up and linter fix (#4511)
  * Clean up linter issues
* Add changelog and other fixes
* [Dashboard De-Angular] Cypress fix (#4521)
  * fix cypress
* refactor scss files
* delete old unit test for state management
* Refactor app state and cleanup unused imports (#4504)
  * Clean up app state for Dashboards plugin.
  * Removes the dashboard container hook in place of a single dashboard app state container
  * Still recovers some follow-ups and clean up
  * Skips test for rendering of a legacy test.
* Set dashboard container functions and fix license headers (#4540)
  * Set dashboard container after defining functions
    * renderEmpty was not being set prior to the current container was being dispatched. 
  * fix up license headers for new files
  * add TODOs from PR

Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
Co-authored-by: Qingyang(Abby) Hu <abigailhu2000@gmail.com>
Co-authored-by: Kawika Avilla <kavilla414@gmail.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>

* Add v2.9.0 release notes (#4550)

Signed-off-by: Manasvini B Suryanarayana <manasvis@amazon.com>

* Fix line to vega conversion bug (#4554)

* Fix line to vega conversion bug

Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>

* Update CHANGELOG and release notes

Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>

* Address comments

Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>

* Add more details to comment

Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>

* Not a released changed, so no need to document

Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>

---------

Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>

* Fix Node.js download link (#4556)

https://mirrors.nodejs.org/ is no longer available which prevents the ability from release builds
being made. Restoring back the original link.

Follow-up should be considered about a caching mechanism and param to the CLI to utilize another link or path.

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

* [Vis Augmenter] Fix stats API visualization ID bug (#4565)

* Fix vis augmenter stats api vis ID map

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

* Update changelog

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

* Update tests

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

* Remove changelog entry

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

---------

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

* [CCI] Add new or remove extra tags and styles in `saved_objects_management` plugin (#4069)

* Add new or remove extra tags and styles (#3967)

Co-authored-by: Andrey Myssak <andreymyssak@gmail.com>
Signed-off-by: Sergey Myssak <sergey.myssak@gmail.com>

* Remove extra Fragment tags (#3967)

Co-authored-by: Andrey Myssak <andreymyssak@gmail.com>
Signed-off-by: Sergey Myssak <sergey.myssak@gmail.com>

---------

Signed-off-by: Sergey Myssak <sergey.myssak@gmail.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Andrey Myssak <andreymyssak@gmail.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>

* Add documentation to vis_augmenter (#4527)

* Add documentation to vis_augmenter

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

* Add more

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

* Add section about settings

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

* Minor nits

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

* More nits

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

* Update changelog

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

* Update CHANGELOG.md

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>

* [Vis Augmenter] Fix bug of undefined tooltip when all plugin layers are empty (#4577)



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

* [Dashboards] restructure folder to be more cohesive with the project (#4575)

Fast follow to:
#4502

* Cleanup to just use `utils`
* Move empty screen into embeddables folder with related features
* Get rid of the export file in favor matching other plugins
* Combine folders of components that are related, e.g., top_nav

Issue:
#4574

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

* chore (home): Update visual consistency dashboard TSVB colors (#4501)

To be consistent with #4363

The TSVB visualization saved object includes the default color value, so #4363 changed it for all new TSVB visualizations, but any existing saved objects,
like those in the visualization consistency dashboard, need to be updated manually.

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* [VisLib] Replace legend color palette with OUI color palette (#4365)

* [VisLib] Replace legend color palette with OUI color palette

Replace hard-coded palette (of 8 colors with 7 variations each) with rotations from euiPaletteColorBlind
(of 10 colors with 7 variations each)

Fixes #4321

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* update changelog

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* Update legend unit test

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* Update hard-coded legend color values in functional tests

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* Bump word-wrap from 1.2.3 to 1.2.4 (#4589)

* Bump word-wrap from 1.2.3 to 1.2.4

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

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

* Add changelog

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>

* Removed KUI usage in maps_legacy plugin (#3998)

* Removed KUI usage from map_legacy plugin

Signed-off-by: Malika Shamgunova <malika.shamgun@gmail.com>

* Removed KUI icon from maps_legacy plugin

Signed-off-by: Malika Shamgunova <malika.shamgun@gmail.com>

* import

Signed-off-by: Malika Shamgunova <malika.shamgun@gmail.com>

* Added to CHNAGELOG.md

Signed-off-by: Malika Shamgunova <malika.shamgun@gmail.com>

* Updated CHANGELOG.md

Signed-off-by: Malika Shamgunova <malika.shamgun@gmail.com>

* Update in CHANGELOG.md

Signed-off-by: Malika Shamgunova <malika.shamgun@gmail.com>

* Upgrade the backport workflow (#4343)

* Copy over the labels from the original PR
* Label the backport PR with `autocut`
* Label a PR that fails to backport

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

* Hide any output from `use_node` checking for Node compatibility (#4237)

Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>

* Resolved merge conflicts

Signed-off-by: Malika Shamgunova <malika.shamgun@gmail.com>

* Apply suggestions from code review

Resolve changelog conflicts

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Malika Shamgunova <malika.shamgun@gmail.com>
Signed-off-by: Anan Zhuang <ananzh@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Qingyang(Abby) Hu <abigailhu2000@gmail.com>
Co-authored-by: Anan Zhuang <ananzh@amazon.com>
Co-authored-by: Miki <miki@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>

* Feature (home): Update visual consistency sample dashboard with more vis (#4581)

* Feature (home): Update visual consistency sample dashboard with more vis

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* Use the correct playground URL

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* Optimize `augment-vis` saved obj searching by adding arg to saved obj client (#4595)

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

* [Markdown] Replace custom css styles and native html with OUI. (#4390)

* replace custom styling

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>

* update CHANGELOG

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>

* Update CHANGELOG.md

Co-authored-by: Miki <amoo_miki@yahoo.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>

* Add resource ID filtering in fetch `augment-vis` obj queries (#4608)

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

* Fix (styles): Make ace code editor themes consistent (#4609)

* Fix (styles): Make ace code editor themes consistent

Use "textmate" theme everywhere
Update override selector to apply to root, to style portaled components, too (such as filter editor)

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* add changelog

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* Enable theme-switching via Advanced Settings to preview the Next theme (#4475)

* Enable theme-switching via Advanced Settings to preview the Next theme

Also:
* Remove the unused "v8 (beta)" theme
* Remove the overrides that locked in the light default theme
* Correct theme version selection logic in the legacy UI renderer
* Use the latest preview of OUI

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

* Enhance ComboBox handling in functional tests

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

---------

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

* [Console] Converted all ```/lib/autocomplete/**/*.js``` files to typescript (#4148)

Major changes are:
* Convert autocomplete part to TS
* reafactor and improve typing
* clean comments for compileBodyDescription
* refactor getTemplate

---------

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>

* [Console] Convert all non-autocomplete lib files to typescript  (#4150)

* Convert non-autocomplete part to TS

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>

* Update CHANGELOG.md

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>

* refactor and improve typing

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>

---------

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>

* [Table Visualization] Replace div containers with OuiFlex components (#4272)

* replace div containers with OuiFlex

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>

* Update test to not include removed class

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>

* Update Changelog

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>

* wrap table in FlexItem

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>

---------

Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>

* Chore(CHANGELOG): Update to CHANGELOG post 2.9 release (#4625)

Signed-off-by: Manasvini B Suryanarayana <manasvis@amazon.com>

* Refactor/remove breadcrumb styling main (#4621)

* chore(chrome): Remove OSD breadcrumb styling and classes

Now that the breacrumb styling is coming from OUI

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* chore (chrome): Remove other remnants of breadcrumb styling

Essentially reverting:
- #1954
- #2085

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* Update snapshot

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* add changelog

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* Update header snapshot

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* Feat (home): Add remaining vis type examples (#4619)

* Feat (home): Add remaining vis type examples

- Add and improve vega equivalents

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* add changelog

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* [i18n] fix generation scripts (#4252)

* [i18n] fix generation scripts

Gave file permissions to the i18n scripts

Generated:
opensearch-project/dashboards-i18n#25

With:
```
./scripts/use_node scripts/i18n_extract.js --output-dir plugins/dashboards-i18n/translations/
```

Had to fix some issues generating the scripts for example incorrect namespacing.

Issue:
#867

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

* update snapshot

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

---------

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
Signed-off-by: Qingyang(Abby) Hu <abigailhu2000@gmail.com>
Co-authored-by: Ashwin P Chandran <ashwinpc@amazon.com>
Co-authored-by: Qingyang(Abby) Hu <abigailhu2000@gmail.com>

* Feat (Discover): Update styles to be compatible with next theme (#4644)

* Feat (Discover): Update styles to be compatible with next theme

1. Change doc table source highlight to use standard color functions instead of transparency
2. Build KUI CSS for next themes in OUI, and conditionally load to ensure surrounding doc view styled correctly
3. Update histogram styles to follow design guidance and avoid theme-specific imports

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* add changelog

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* Fix (Legacy Maps): Add necessary specificity for dark mode style over… (#4658)

* Fix (Legacy Maps): Add necessary specificity for dark mode style overrides

- wrap override styles in visualization selector
- remove temp SASS var
- update attribution background to be opaque for consistency with other controls
- add raster tile filter to map tiles in dark mode, since OpenSearch doesn't serve dark mode raster tilesets
- Fix tooltip behavior so that tooltip only appears when there's content to render

fixes opensearch-project/dashboards-maps#449, fixes opensearch-project/dashboards-maps#450

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* update changelog

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* Fix spacing linter issues

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* Update font-family overrides to use CSS var definitions

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* Bump `node-sass` to a version that uses a newer `libsass` (#4651)

Also:
* bump `sass-loader` to a version that supports this `node-sass`

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

* Update webpack environment targets (#4649)

Also:
* Bump browserslist
* Widen browser support matrix
* Update browser typescript target to ES2018
* Bump `autoprefixer` but remove its usage as it spams the logs about it being unnecessary

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

* Reduce the amount of comments in compiled CSS (#4648)

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

* units test for utils folder (#4641)

Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>

* Fix --font-text CSS var usage and add more leaflet font overrides (#4674)

* Add missing quotes to --font-text CSS vars

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* Fix usage of --font-text CSS var

Remove quotes
Add additional leaflet font family overrides
Move legacy map custom button styles to separate file

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* fixes incorrect path for css ignore

Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>

---------

Signed-off-by: Bandini Bhopi <bandinib@amazon.com>
Signed-off-by: David Sinclair <david@sinclair.tech>
Signed-off-by: David Sinclair <dsincla@rei.com>
Signed-off-by: Ashish Agrawal <ashish81394@gmail.com>
Signed-off-by: Alexei Karikov <karikov.alist.ru@gmail.com>
Signed-off-by: Su <szhongna@amazon.com>
Signed-off-by: Aigerim Suleimenova <aigerim.suleimenova27@gmail.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Kristen Tian <tyarong@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Manasvini B Suryanarayana <manasvis@amazon.com>
Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Signed-off-by: Sergey Myssak <sergey.myssak@gmail.com>
Signed-off-by: Andrey Myssak <andreymyssak@gmail.com>
Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: ananzh <ananzh@amazon.com>
Signed-off-by: Danila Gulderov <gulderov@ya.ru>
Signed-off-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>
Signed-off-by: Anan Zhuang <ananzh@amazon.com>
Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Hailong Cui <ihailong@amazon.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>
Signed-off-by: Malika Shamgunova <malika.shamgun@gmail.com>
Signed-off-by: Qingyang(Abby) Hu <abigailhu2000@gmail.com>
Co-authored-by: Bandini <63824432+bandinib-amzn@users.noreply.github.com>
Co-authored-by: David Sinclair <24573542+sikhote@users.noreply.github.com>
Co-authored-by: Ashish Agrawal <ashish81394@gmail.com>
Co-authored-by: Alexei Karikov <karikov.alist.ru@gmail.com>
Co-authored-by: Zhongnan Su <szhongna@amazon.com>
Co-authored-by: Aigerim Suleimenova <aigerim.suleimenova27@gmail.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Kristen Tian <105667444+kristenTian@users.noreply.github.com>
Co-authored-by: Miki <miki@amazon.com>
Co-authored-by: Manasvini B Suryanarayana <manasvis@amazon.com>
Co-authored-by: Kawika Avilla <kavilla414@gmail.com>
Co-authored-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Anan Zhuang <ananzh@amazon.com>
Co-authored-by: Sergey Myssak <sergey.myssak@gmail.com>
Co-authored-by: Andrey Myssak <andreymyssak@gmail.com>
Co-authored-by: Andrey Myssak <40265277+andreymyssak@users.noreply.github.com>
Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: gulderov <gulderov@ya.ru>
Co-authored-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz>
Co-authored-by: Qingyang(Abby) Hu <abigailhu2000@gmail.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Hailong Cui <ihailong@amazon.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ZilongX <99905560+ZilongX@users.noreply.github.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: miamia1999 <123776561+miamia1999@users.noreply.github.com>
  • Loading branch information
1 parent 47f257d commit 838745f
Show file tree
Hide file tree
Showing 749 changed files with 28,472 additions and 16,534 deletions.
15 changes: 10 additions & 5 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
[production]
last 2 Firefox versions
last 2 Chrome versions
last 2 Safari versions
> 0.25%
not ie 11
Firefox > 0 and last 2 years and > 0.01%
Chrome > 0 and last 2 years and > 0.01%
Safari > 0 and last 2 years and > 0.01%
Edge > 0 and last 1 years and > 0.01%
Opera > 0 and last 2 years and > 0.01%
> 0.2%
not op_mini all
not and_uc < 100
not android < 100
not dead

[dev]
last 1 chrome versions
Expand Down
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/.chromium
/build
/built_assets
/bwc_tmp
/config/apm.dev.js
/data
/html_docs
Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @ananzh @kavilla @seanneumann @AMoo-Miki @ashwin-pc @joshuarrrr @abbyhu2000 @zengyan-amazon @kristenTian @zhongnansu @manasvinibs @ZilongX @Flyingliuhub
* @ananzh @kavilla @seanneumann @AMoo-Miki @ashwin-pc @joshuarrrr @abbyhu2000 @zengyan-amazon @kristenTian @zhongnansu @manasvinibs @ZilongX @Flyingliuhub @BSFishy
4 changes: 3 additions & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ jobs:
installation_id: 22958780

- name: Backport
uses: VachaShah/backport@v2.1.0
uses: VachaShah/backport@v2.2.0
with:
github_token: ${{ steps.github_app_token.outputs.token }}
head_template: backport/backport-<%= number %>-to-<%= base %>
files_to_skip: "CHANGELOG.md"
labels_template: "<%= JSON.stringify([...labels, 'autocut']) %>"
failure_labels: "failed backport"
40 changes: 17 additions & 23 deletions .github/workflows/build_and_test_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@ env:

jobs:
build-lint-test:
name: Build and Verify on ${{ matrix.name }}
name: Build and Verify on ${{ matrix.name }} (ciGroup${{ matrix.group }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
group: [1, 2, 3, 4]
include:
- os: ubuntu-latest
name: Linux
Expand Down Expand Up @@ -72,14 +73,9 @@ jobs:
if: matrix.os != 'windows-latest'
run: echo "YARN_CACHE_LOCATION=$(yarn cache dir)" >> $GITHUB_ENV

- name: Configure Yarn Cache (Windows)
if: matrix.os == 'windows-latest'
run: |
echo "YARN_CACHE_LOCATION=$(yarn cache dir)" >> $env:GITHUB_ENV
echo C:\Program Files\Git\usr\bin>>"%GITHUB_PATH%"
- name: Initialize Yarn Cache
uses: actions/cache@v3
if: matrix.os != 'windows-latest'
with:
path: ${{ env.YARN_CACHE_LOCATION }}
key: yarn-${{ hashFiles('**/yarn.lock') }}
Expand All @@ -95,18 +91,24 @@ jobs:
run: yarn osd bootstrap || yarn osd bootstrap

- name: Run linter
# ciGroup 1 of unit-tests is shorter and Linux is faster
if: matrix.group == 1 && matrix.os == 'ubuntu-latest'
id: linter
run: yarn lint

- name: Validate NOTICE file
# ciGroup 1 of unit-tests is shorter and Linux is faster
if: matrix.group == 1 && matrix.os == 'ubuntu-latest'
id: notice-validate
run: yarn notice:validate

- name: Run unit tests with coverage
- name: Run unit tests group ${{ matrix.group }} with coverage
id: unit-tests
run: yarn test:jest:ci:coverage
run: yarn test:jest:ci:coverage --ci-group=${{ matrix.group }}

- name: Run mocha tests with coverage
# ciGroup 1 of unit-tests is shorter
if: matrix.group == 1
id: mocha-tests
run: yarn test:mocha:coverage

Expand All @@ -115,9 +117,11 @@ jobs:
uses: codecov/codecov-action@v3
with:
directory: ./target/opensearch-dashboards-coverage
flags: ${{ matrix.name }}
flags: ${{ matrix.name }}_${{ matrix.group }}

- name: Run integration tests
# ciGroup 1 of unit-tests is shorter
if: matrix.group == 1
id: integration-tests
run: yarn test:jest_integration:ci

Expand Down Expand Up @@ -168,14 +172,9 @@ jobs:
if: matrix.os != 'windows-latest'
run: echo "YARN_CACHE_LOCATION=$(yarn cache dir)" >> $GITHUB_ENV

- name: Configure Yarn Cache (Windows)
if: matrix.os == 'windows-latest'
run: |
echo "YARN_CACHE_LOCATION=$(yarn cache dir)" >> $env:GITHUB_ENV
echo C:\Program Files\Git\usr\bin>>"%GITHUB_PATH%"
- name: Initialize Yarn Cache
uses: actions/cache@v3
if: matrix.os != 'windows-latest'
with:
path: ${{ env.YARN_CACHE_LOCATION }}
key: yarn-${{ hashFiles('**/yarn.lock') }}
Expand Down Expand Up @@ -265,14 +264,9 @@ jobs:
if: matrix.os != 'windows-latest'
run: echo "YARN_CACHE_LOCATION=$(yarn cache dir)" >> $GITHUB_ENV

- name: Configure Yarn Cache (Windows)
if: matrix.os == 'windows-latest'
run: |
echo "YARN_CACHE_LOCATION=$(yarn cache dir)" >> $env:GITHUB_ENV
echo C:\Program Files\Git\usr\bin>>"%GITHUB_PATH%"
- name: Initialize Yarn Cache
uses: actions/cache@v3
if: matrix.os != 'windows-latest'
with:
path: ${{ env.YARN_CACHE_LOCATION }}
key: yarn-${{ hashFiles('**/yarn.lock') }}
Expand Down Expand Up @@ -324,7 +318,7 @@ jobs:
working-directory: ./artifacts
strategy:
matrix:
version: [osd-2.0.0, osd-2.1.0, osd-2.2.0, osd-2.3.0, osd-2.4.0, osd-2.5.0]
version: [osd-2.0.0, osd-2.1.0, osd-2.2.0, osd-2.3.0, osd-2.4.0, osd-2.5.0, osd-2.6.0, osd-2.7.0]
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down
10 changes: 8 additions & 2 deletions .i18nrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,17 @@
"visTypeXy": "src/plugins/vis_type_xy",
"visualizations": "src/plugins/visualizations",
"visualize": "src/plugins/visualize",
"apmOss": "src/plugins/apm_oss",
"usageCollection": "src/plugins/usage_collection"
},
"exclude": [
"src/legacy/ui/ui_render/ui_render_mixin.js"
"src/legacy/ui/ui_render/ui_render_mixin.js",
"src/plugins/home/public/application/components/tutorial",
"src/plugins/home/server/tutorials",
"src/core/server/rendering/views/template.tsx",
"src/plugins/data/public/search/errors/timeout_error.tsx",
"src/plugins/home/public/application/components/welcome.tsx",
"src/plugins/vis_type_timeline/server/series_functions/graphite.js",
"src/plugins/vis_type_timeseries/public/application/components/aggs/serial_diff.js"
],
"translations": []
}
6 changes: 4 additions & 2 deletions .lycheeexclude
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,7 @@ http://www.creedthoughts.gov
https://media-for-the-masses.theacademyofperformingartsandscience.org/
https://yarnpkg.com/latest.msi
https://forum.opensearch.org/
https://facebook.github.io/jest/
https://facebook.github.io/jest/docs/cli.html
https://facebook.github.io/jest/*
http://helpmenow.com/problem2
https://sass-lang.com/*
http://api.jquery.com/*
1 change: 1 addition & 0 deletions .stylelintrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
extends:
- stylelint-config-standard-scss
- '@osd/stylelint-config'
rules:
# while we still use node-sass, only legacy rgb() notation is allowed
color-function-notation: "legacy"
Expand Down
Loading

0 comments on commit 838745f

Please sign in to comment.