Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Dashboard Lists Integration #2980

Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
234 commits
Select commit Hold shift + click to select a range
1caf907
Adds code coverage reporting (#1478)
Apr 19, 2022
b7ca138
[Feature] Expressions example plugin (#1438)
ashwin-pc Apr 20, 2022
376ba8c
[Bug] fix copy as curl (#1472)
kavilla Apr 21, 2022
e0f394e
Bumps Node.js from v14.18.2 to v14.19.1 (#1487)
Apr 22, 2022
4469d17
Adds code coverage and GitHub Actions badges (#1498)
Apr 26, 2022
b30d877
Adds src/test_utils/ and src/core paths to the target clean patterns …
boktorbb Apr 27, 2022
ef3a9c0
fix(actions): Better type checks for icons (#1496)
joshuarrrr Apr 27, 2022
1ad1a8b
Fix: Re-rendering visualization when expression changes and improves …
ashwin-pc Apr 27, 2022
f9e572d
[Version] Increment to 3.0 (#1502)
kavilla Apr 28, 2022
886f3e3
Bump ejs from 3.1.6 to 3.1.7 (#1512)
dependabot[bot] Apr 29, 2022
9ab752a
add release note for 2.0.0-rc1 (#1507)
ananzh Apr 29, 2022
18b8a09
[CI] Create doc issue workflow (#1515)
kavilla Apr 29, 2022
b9ff31e
Adds 1.3.2 release notes (#1534)
May 2, 2022
40a72f2
Removes GitHub DCO Action (#1537)
May 3, 2022
cba0764
[CVE] Bumps `chromedriver` to v100 and `axios` to v0.27.2 (#1552)
May 6, 2022
bd10227
[Bug] fix missing discover context icon (#1545)
joshuarrrr May 6, 2022
0afba22
Adds v2.0.0 release notes (#1567)
May 9, 2022
2a96761
Updates 2.0 release notes with latest commits (#1575)
May 10, 2022
1792662
[CVE] Resolves grunt to 1.5.3 (#1580)
kavilla May 13, 2022
21d7b6f
[CI] [Test] Enforces equal or increasing code coverage in PRs (#1559)
May 17, 2022
c74c1f5
Fixes omissions/errors in v2.0.0 release notes (#1592)
May 18, 2022
87e5412
[Purify] hide option for theme version in settings (#1598)
kavilla May 19, 2022
8bc8d14
Removes irrelevant upsell in the timeout message (#1599)
May 19, 2022
de1a689
[Build][Tests] handle painless scripts update (#1607)
kavilla May 20, 2022
665424e
[Tests] Update Dockerfile chrome version to match (#1626)
joshuarrrr May 26, 2022
6d1675c
Logic to integrate dashboards-maps plugin with OSD for custom GeoJSON…
Shivamdhar May 31, 2022
115deda
[BUG] Remove duplicate var in the opensearch-dashboards-docker (#1649)
manasvinibs Jun 2, 2022
35eeb76
[CI][BWC] add BWC tests to github actions (#1624)
kavilla Jun 2, 2022
dea9ea0
Explicitly set the Opensearch logo width in the SVG file (#1570)
rafaelvargas Jun 2, 2022
cdd179f
fix(Workflow): Fixes needs-documentation label workflow (#1663)
ashwin-pc Jun 3, 2022
b888cca
[Bug] Fix metric vizualization (#1650)
joshuarrrr Jun 3, 2022
7ecc8e1
Changes config name in yml file to new non-deprecated name (#1485)
Jun 6, 2022
0a24652
Allow node patch versions to be higher on runtime (#1189)
hashworks Jun 6, 2022
0e41477
[Tests] Migrate mocha tests to jest (#1553)
joshuarrrr Jun 6, 2022
4e117c3
Adds Josh Romero as co-maintainer (#1682)
Jun 7, 2022
e3b964a
Adds v1.3.3 release notes (#1693)
Jun 8, 2022
b2cfb6e
Fix WMS can't load when unable access maps services (#1550)
junqiu-lei Jun 8, 2022
3ff99cf
Adding noreferrer on doc links (#1709)
manasvinibs Jun 13, 2022
89d3872
Fixes formatting and typos in documentation (#1697)
Jun 13, 2022
72a3424
Adds v2.0.1 release notes (#1744)
Jun 15, 2022
2a159e8
[CVE] Resolve `jpeg-js` to 0.4.4 (#1753)
kavilla Jun 16, 2022
dfbfec4
Enable users to select custom vector map for visualization (#1718)
Shivamdhar Jun 16, 2022
1dda730
[Non-Inclusive Language] Deprecate isDevClusterMaster in favor of isD…
manasvinibs Jun 17, 2022
9e508e7
[Deprecation] Deprecate setupMaster in favor of setupClusterManager (…
manasvinibs Jun 20, 2022
4703abf
[CI][BWC] Date range for tests incorrect params (#1772)
kavilla Jun 22, 2022
6aba08a
[Deprecation] Deprecate master nodes and replace with cluster_manager…
manasvinibs Jun 22, 2022
d1cfe78
[CVE] Bump `tsd` from `0.16.0` to `0.21.0` (#1770)
joshuarrrr Jun 23, 2022
7c8eee4
[Non-Inclusive Lanuage] Replace references to master branch with main…
kaddy645 Jun 23, 2022
8b7ed4c
[CI] Update labels for doc issue creation workflow (#1789)
kavilla Jun 23, 2022
e32a259
[Non-Inclusive Language] Replace master in comments, variables and fu…
manasvinibs Jun 24, 2022
c659831
[Deprecation] Deprecate master_timeout in favor of cluster_manager_ti…
manasvinibs Jun 24, 2022
ae6cb80
[UX] Consolidate menu bars (#1586)
joshuarrrr Jun 24, 2022
6ad5d08
[UX] Change name of expanded header config (#1802)
joshuarrrr Jun 24, 2022
4ea645e
[Deprecation] Deprecate cat master API in favor of cat cluster_manage…
manasvinibs Jun 29, 2022
e7362f9
[Tests] update tests to reflect max zoom level for maps (#1823)
kavilla Jun 29, 2022
2e6293e
[Deprecation] Deprecate the apiVersion: master value and replace with…
manasvinibs Jun 29, 2022
a9984f6
[Tests] update expected value for percentile ranks (#1822)
kavilla Jun 30, 2022
b7965f9
[Bug] Fix new issue link (#1837)
CPTNB Jul 1, 2022
d5611d5
Adds v2.1.0 release notes (#1809)
kavilla Jul 6, 2022
53e98a6
Remove banner from when editing maps visualization (#1848)
bandinib-amzn Jul 7, 2022
c33bf8c
Add DocView links pluggable injection capability (#1200)
RoyiSitbon Jul 13, 2022
6dfe116
fixes issue on saving custom vector map options as part of visualizat…
Shivamdhar Jul 15, 2022
8eb973a
[CI][Tests] add BWC tests for 2.2.0 (#1861)
kavilla Jul 25, 2022
728f013
[Docs] Add developer documentation for using/modifying the chrome ser…
kaddy645 Jul 26, 2022
57a751e
[CI] Clean up for BWC tests & run only on PRs for backports (#1948)
kavilla Jul 26, 2022
2c428b8
[BUG] Fixing some of the broken links in core plugin API documentatio…
manasvinibs Jul 26, 2022
30255ab
Original PR - https://github.com/opensearch-project/OpenSearch-Dashbo…
manasvinibs Jul 27, 2022
68b71f2
Bump terser from 4.8.0 to 4.8.1 (#1930)
dependabot[bot] Jul 27, 2022
54c2cdc
[Docs] Updates Code of Conduct (#1964)
bandinib-amzn Jul 28, 2022
9496da3
[CVE] Handle invalid query, index and date in vega charts filter hand…
bandinib-amzn Jul 28, 2022
76e0f20
[UX] Restyle global breadcrumbs (#1954)
kaddy645 Jul 28, 2022
28fd642
[BUG] Telemetry plugin cluster info rename error (#2043)
kavilla Aug 2, 2022
5fb4143
[BUG] show region blocked warning config not respected (#2042)
kavilla Aug 2, 2022
54f2aeb
[Deprecation] Deprecate the Blacklist / Whitelist nomenclature (#1808)
kaddy645 Aug 4, 2022
1e34c06
[Feature] Adds the Drag and Drop editor to Visualize (#1966)
ashwin-pc Aug 5, 2022
2d6eef9
Alias OUI onto EUI (#2080)
AMoo-Miki Aug 5, 2022
75db369
[Bug] Fix Global Breadcrumb Styling in dark mode (#2085)
kaddy645 Aug 8, 2022
45324d3
changes js code to ts in region_map (#2084)
Shivamdhar Aug 9, 2022
55181d4
[BUG] Fix missing y-axis for TSVB (#2079)
AbhishekReddy1127 Aug 9, 2022
c818d99
Bump node version to 14.20.0 (#2101)
ananzh Aug 9, 2022
7602180
Adds v2.2.0 release note (#2022)
ananzh Aug 9, 2022
bb67c71
[CVE-2022-25758] Use dart-sass instead of node-sass (#2054)
Flyingliuhub Aug 12, 2022
4dd7f14
Fix maps wms zoom limitation (#1915)
junqiu-lei Aug 12, 2022
6120cf5
[CI][Tests] add BWC tests for 2.3.0 (#2148)
ananzh Aug 23, 2022
730a75a
[DeAngular][visualization][vislib] remove angular from vislib (#2138)
ananzh Aug 25, 2022
65005be
[D&D] metadata slice 1879 (#2193)
abbyhu2000 Aug 30, 2022
aaa35c3
Adds count field to field picker (#2231)
ashwin-pc Aug 31, 2022
e6bbb40
Custom healthcheck with filters (#2232)
kavilla Aug 31, 2022
c18736a
[D&D] Adds visualization type switcher for Wizard (#2217)
ashwin-pc Aug 31, 2022
cb5b1e9
add release note for 1.3.5 (#2255)
ananzh Sep 1, 2022
b961263
add release note for 2.2.1 (#2256)
ananzh Sep 1, 2022
428e832
[D&D] Save index pattern using proper saved object structure (#2218)
abbyhu2000 Sep 6, 2022
763b7f0
Change timeline icon (#2162)
bandinib-amzn Sep 6, 2022
140c56f
[Visualizations] Adds visConfig.title and uiState to build pipeline f…
fbaligand Sep 6, 2022
4a06f5a
Persists index field on agg type change if possible (#2227)
ashwin-pc Sep 6, 2022
3496526
[BUG] fix healthcheck logic to expect object and return ids (#2277)
kavilla Sep 7, 2022
7f71c87
Update API Specs for dev console (#2226)
kristenTian Sep 8, 2022
77af7f9
[D&D] Adds Bar line and Area charts to Wizard (#2266)
ashwin-pc Sep 8, 2022
93f6872
[D&D] Fixes time series for new chart types (#2309)
ashwin-pc Sep 12, 2022
9c73047
Update caniuse (#2322)
abbyhu2000 Sep 12, 2022
a19a741
Add v2.3.0 release notes (#2318)
noCharger Sep 12, 2022
b1325ea
README.md for saving index pattern relationship (#2276)
abbyhu2000 Sep 13, 2022
9f7ba5b
add node fiber to improve performance (#2319)
abbyhu2000 Sep 13, 2022
ab99eac
add path ignore for markdown files (#2312)
abbyhu2000 Sep 14, 2022
bebbcca
Use a forced CSP-compliant interpreter with Vega visualizations (#2352)
AMoo-Miki Sep 14, 2022
77b6068
Bump moment-timezone from 0.5.34 to 0.5.37 (#2361)
ashwin-pc Sep 15, 2022
dc0d7d5
Add index pattern info when loading embeddable (#2363)
abbyhu2000 Sep 15, 2022
b5d529a
Fixes management app breadcrumb error (#2344)
ashwin-pc Sep 16, 2022
890a4b6
MultiDataSource feature merge (#2334)
kristenTian Sep 19, 2022
8874afd
Add updated_at column to objects' tables (#1218)
RoyiSitbon Sep 20, 2022
06abe83
Upgrade geckodriver to 3.0.2 to partially fix CVE-2022-33987 (#2166)
CCongWang Sep 20, 2022
08d0504
[CI][Tests] Add BWC tests for 2.4.0 (#2393)
manasvinibs Sep 22, 2022
1dcf6fd
Remove extra typo from README. (#2403)
sagar-rout Sep 22, 2022
267fb78
Adding @abbyhu2000 as a Dashboards co-maintainer (#2407)
ashwin-pc Sep 23, 2022
806e96c
Add CHANGELOG.md and related workflows (#2414)
kavilla Sep 26, 2022
8408b08
Adding @zengyan-amazon as a Dashboards co-maintainer (#2419)
seanneumann Sep 26, 2022
d7c772c
Updating @tmarkley to Emeritus status (#2423)
seanneumann Sep 27, 2022
83f1306
[Vis Builder] Misc Bar chart fixes (#2401)
ashwin-pc Sep 28, 2022
4078721
Fix yarn.lock file (#2432)
abbyhu2000 Sep 29, 2022
0279588
[Viz Builder] State validation before dispatching and loading (#2351)
abbyhu2000 Sep 29, 2022
746b9df
Support legacy client for data source (#2204)
zhongnansu Sep 29, 2022
00dcce7
Add @kristenTian as maintainer. (#2450)
zengyan-amazon Sep 29, 2022
a528965
Bumps `percy-agent` to use non-beta version (#2415)
kavilla Sep 29, 2022
d802a3e
fix d3-color and potential security issue (#2454)
ananzh Sep 30, 2022
48fe60b
[Plugin Helpers] Facilitate version changes (#2398)
AMoo-Miki Sep 30, 2022
1f639b0
[MD] Fix view single document issue by updating low-level search call…
zhongnansu Oct 3, 2022
60efd3b
Add sample config for multi data source in yml config template (#2428)
zengyan-amazon Oct 4, 2022
fb39f7d
Add dataSource & dataSourceManagement ReadMe (#2448)
kristenTian Oct 4, 2022
3bc49ae
Adds v1.3.6 release notes (#2480)
joshuarrrr Oct 4, 2022
551ffa3
[Chore] Visualize link fix (#2395)
BSFishy Oct 4, 2022
b75e07d
[VizBuilder] Create a new wizard directly on a dashboard (#2384)
abbyhu2000 Oct 4, 2022
ca718a3
[CI] Run functional test repo as workflow (#2503)
kavilla Oct 5, 2022
4095e12
[MD] Address UX comments for index pattern pages (#2505)
kristenTian Oct 6, 2022
21a173b
[MD] UX updates on data source page & validation changes (#2521)
mpabba3003 Oct 6, 2022
0e742b9
[MD] Display error toast for create index pattern with data source (#…
zhongnansu Oct 6, 2022
ac07159
[MD] Update copy on index patten config DS step (#2527)
kristenTian Oct 7, 2022
9f6bfc0
[MD] new UX changes for password fields and update password modal in …
mpabba3003 Oct 10, 2022
d6197a7
Edit wizard directly on dashboard (#2508)
abbyhu2000 Oct 10, 2022
a672ee1
Updates functional test readme (#2492)
ashwin-pc Oct 10, 2022
2600196
Add column service to index pattern & Register data source column (#2…
kristenTian Oct 11, 2022
7777749
[MD] Add experimental callout for index pattern section (#2523)
yibow98 Oct 11, 2022
e3bbdef
[MD] Add data source signing support (#2510)
noCharger Oct 11, 2022
9b56ff5
[MD] UX refactor for datasource create page (#2501)
yibow98 Oct 11, 2022
8e8b89b
[MD]Add data source config to opensearch-dashboards-docker (#2557)
kristenTian Oct 12, 2022
9a55e0c
[MD] Make text content dynamically translated & update unit tests (#2…
yibow98 Oct 13, 2022
115105a
[MD] Adding unit test coverage for Update data source management (#2567)
mpabba3003 Oct 14, 2022
66f07c3
[MD] skip data source view when pick default (#2574)
kristenTian Oct 14, 2022
db43437
Change classname prefix wiz to vb (#2581)
abbyhu2000 Oct 17, 2022
f29f734
Change wizard to vis_builder in file names and paths (#2587)
abbyhu2000 Oct 17, 2022
e3e7605
Add @zhongnansu as maintainer (#2590)
kristenTian Oct 18, 2022
33aed0a
[Vis Builder] Update vislib params and misc fixes (#2610)
ashwin-pc Oct 19, 2022
e056e83
[MD] Datasource management Edit/Update page UX updates (#2629)
mpabba3003 Oct 20, 2022
fb4bdfa
[MD]Address comments from UX signoff meeting-Datasource list and crea…
yibow98 Oct 20, 2022
8d5e504
Rename wizard to visBuilder in i18n id and formatted message id (#2635)
abbyhu2000 Oct 20, 2022
ec9e0b2
[Windows] Facilitate building of OSD and plugins (#2601)
AMoo-Miki Oct 21, 2022
74fd39f
Rename wizard to visBuilder in class name, type name and function nam…
abbyhu2000 Oct 21, 2022
195cc8e
[BUG]fix suggestion list cutoff issue (#2607)
ananzh Oct 21, 2022
189cf81
[MD] Address UX comments on index pattern stack (#2611)
kristenTian Oct 22, 2022
68baac1
[CVE 2022-3517] Bump minimatch to 3.0.5 and [IBM X-Force ID: 220063]…
himsgupta1122 Oct 22, 2022
76d30ec
Apply get indice error handling in step index pattern (#2652)
kristenTian Oct 25, 2022
7a41d94
[Vis Builder] Bug fixes for datasource picker and auto time interval …
ashwin-pc Oct 26, 2022
a16fe40
Last Updated Timestamp for visbuilder saved object is getting Generat…
AbhishekReddy1127 Oct 26, 2022
9a0bb30
[MD] Refactor data source server side error handling (#2661)
zhongnansu Oct 27, 2022
ad0799d
[Vis Builder] Rename wizard on save modal and visualization table (#2…
abbyhu2000 Oct 27, 2022
887093d
[@osd/cross-platform] Adds cross-platform helpers (#2681)
AMoo-Miki Oct 28, 2022
b53ca4c
Change save object type, wizard id and name to visBuilder (#2673)
abbyhu2000 Oct 28, 2022
567bea3
[CVE] Bump loader-utils to 2.0.3 to fix CVE-2022-37601 (#2689)
ZilongX Oct 28, 2022
8ac127a
Add extension point in saved object management to register namespaces…
cwperks Oct 28, 2022
82f82a1
Removed Leftover X Pack references #2517 (#2638)
vimalMK Oct 31, 2022
db020be
Revert "[@osd/cross-platform] Adds cross-platform helpers (#2681)" (#…
joshuarrrr Oct 31, 2022
57fdef6
[MD] Add design documents of multiple data source feature (#2538)
zhongnansu Oct 31, 2022
0c9ca96
Adds @osd/cross-platform (#2703)
AMoo-Miki Nov 1, 2022
1ecfee7
[MD]Update MD data source documentation link (#2693)
kristenTian Nov 1, 2022
7264635
Add `Skip-Changelog` label to skip changelog verification on certain …
AMoo-Miki Nov 2, 2022
e35384e
Enable visbuilder by default (#2725)
ashwin-pc Nov 2, 2022
d8f66d3
[Save Object Aggregation View] Fix for export all after scroll count …
cwperks Nov 2, 2022
8b30346
Update backport workflow to ignore changelog conflicts (#2729)
AMoo-Miki Nov 2, 2022
9436dd3
Tweak multiple data source design doc (#2724)
kristenTian Nov 2, 2022
b53d4d8
[Chore] Refactor and improve Discover field summaries (#2391)
joshuarrrr Nov 3, 2022
f6cbd1d
Removes Add Integration button (#2723)
bandinib-amzn Nov 3, 2022
a3cbd30
Prevent backport workflow from running on umerged PRs (#2746)
AMoo-Miki Nov 3, 2022
82eb0e8
[Vis Builder] Enable VisBuilder cypress tests (#2728)
ashwin-pc Nov 3, 2022
810307c
[CI] update backport custom branch name (#2766)
kavilla Nov 3, 2022
19a2e4a
[Legacy Maps Plugin] Prevent reverse-tabnabbing (#2540)
AMoo-Miki Nov 3, 2022
3da0396
change geckodriver version to make consistency (#2772)
ananzh Nov 4, 2022
a7b9d16
[Vis Builder] Add an experimental table visualization in vis builder …
ananzh Nov 4, 2022
812f113
Security-CVEs fixes guidelines (#2674)
himsgupta1122 Nov 4, 2022
d93ea2e
[MD] Update default audit log path (#2793)
kristenTian Nov 4, 2022
2e16de1
[Vis Builder] Add field summary popovers (#2682)
joshuarrrr Nov 4, 2022
5608f82
Bump makelogs to remove dependency on got (#2801)
AMoo-Miki Nov 4, 2022
f90f323
Change VisBuilder flag for docker config (#2804)
ashwin-pc Nov 5, 2022
fe4b860
[MD] Add explicit no spellcheck on password fields (#2818)
kristenTian Nov 7, 2022
f12fa98
[Bug][Table Visualization] Fix first column sort issue (#2828)
ananzh Nov 9, 2022
4fd67de
Temporarily prevents `task-kill` exceptions on Windows when it is pas…
AMoo-Miki Nov 9, 2022
d53fbf8
Add the release runbook to RELEASING.md (#2533)
noCharger Nov 10, 2022
28c3df3
[VisBuilder] [BUG] fix empty workspace animation does not work in fir…
raintygao Nov 11, 2022
b19c171
[Vis Builder] Removed Hard Coded Strings and Used i18n to transalte (…
AbhishekReddy1127 Nov 14, 2022
80cf748
[Doc] Document `charts` plugin (#2695)
joshuarrrr Nov 18, 2022
ab98411
Setup OpenSearch plugin dependencies on cluster snapshot (#2734)
manasvinibs Nov 18, 2022
9377fbb
[WS-2021-0638][Security] bump mocha to 10.1.0 (#2711)
ananzh Nov 21, 2022
9041a82
OSD-2847 bump del version to fix race condition (#2873)
DanielBelmes Nov 21, 2022
575863c
[i18n] Register `ru`, `ru-RU` locale (#2817)
dmitry-by-step-logic Nov 22, 2022
311fe91
[Doc] Correct "help" command to reflect actual behaviour (#2810)
Patrick-Clausen Nov 22, 2022
c3ecc3b
Add 2.4.0 release notes (#2881)
kavilla Nov 23, 2022
15a89b2
Add BWC tests for 2.5.0 (#2890)
manasvinibs Nov 23, 2022
808129b
Reenable CI tests for feature branches (#2908)
ashwin-pc Nov 24, 2022
5dc0212
Fixes folder timestamps being updated before copying files into them …
AMoo-Miki Nov 30, 2022
a56480b
Fixes incorrect validation of time values in JUnit Reporter (#2965)
AMoo-Miki Dec 1, 2022
3f576df
[Windows] Make `yarn pkg-version` work across platforms (#2963)
AMoo-Miki Dec 1, 2022
f44ec7c
Add Windows CI to the workflow (#2966)
AMoo-Miki Dec 1, 2022
ed92158
Makes tests covering plugin installation on cluster snapshots work ac…
AMoo-Miki Dec 1, 2022
9484d51
[Backport 2.x][CI][BWC] add BWC tests to github actions (#1624) (#1659)
kavilla Jun 3, 2022
7031843
Enable users to select custom vector map for visualization (#1718) (#…
opensearch-trigger-bot[bot] Jul 22, 2022
2b1b446
[Backport 2.x][Feature] Adds the Drag and Drop editor to Visualize (#…
ananzh Aug 5, 2022
355ed30
Updating WS scans to ignore BWC artifacts in `cypress` (#2408) (#2412)
opensearch-trigger-bot[bot] Sep 23, 2022
09d8b50
[Backport 2.x] MultiDataSource feature merge (#2334) (#2409)
mpabba3003 Sep 29, 2022
aad8c21
Support legacy client for data source (#2204) (#2484)
zhongnansu Oct 4, 2022
df84199
[MD] Address UX comments for index pattern pages (#2505) (#2525)
zhongnansu Oct 10, 2022
e988d8c
[MD] UX updates on data source page & validation changes (#2521) (#2546)
opensearch-trigger-bot[bot] Oct 11, 2022
7d8b1bb
[MD] Update copy on index patten config DS step (#2527) (#2552)
zhongnansu Oct 12, 2022
7888266
[MD] new UX changes for password fields and update password modal in …
opensearch-trigger-bot[bot] Oct 12, 2022
37a6314
[MD] UX refactor for datasource create page (#2501) (#2559)
opensearch-trigger-bot[bot] Oct 12, 2022
ff2cb92
[Vis Builder] Update vislib params and misc fixes (#2610) (#2630)
opensearch-trigger-bot[bot] Oct 20, 2022
cc0a0c9
Manually backports Windows changes from #2601 (#2647)
AMoo-Miki Oct 24, 2022
e906bef
Dashboard Lists Integration
Dec 1, 2022
93c44df
Fix dashboard_listing Jest snaphsot deltas
Dec 1, 2022
d403795
[Backport 2.x] MultiDataSource feature merge (#2334) (#2409)
mpabba3003 Sep 29, 2022
4f9c559
fix d3-color and potential security issue (#2454) (#2466)
opensearch-trigger-bot[bot] Sep 30, 2022
3ceb8ea
Support legacy client for data source (#2204) (#2484)
zhongnansu Oct 4, 2022
3870afa
[MD] Address UX comments for index pattern pages (#2505) (#2525)
zhongnansu Oct 10, 2022
447759f
[MD] Display error toast for create index pattern with data source (#…
opensearch-trigger-bot[bot] Oct 11, 2022
16f16aa
[MD] Update copy on index patten config DS step (#2527) (#2552)
zhongnansu Oct 12, 2022
440b65b
[MD] Add experimental callout for index pattern section (#2523) (#2561)
opensearch-trigger-bot[bot] Oct 12, 2022
ee26edc
[MD] Add data source signing support (#2510) (#2547)
opensearch-trigger-bot[bot] Oct 12, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[Feature] Expressions example plugin (#1438)
* feat(Expressions): Initial demo plugin

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

* feat(Expressions): Adds handlers tab

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

* feat(Expressions): Adds playground tab

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

* chore: Better expression playground messaging

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

* feat(Expressions): Adds expression explorer

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

* feat(Expressions): A better explorer

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

* fix(Expressions): Fix basic demo abort error

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

* Updates readme and fixes rendering visualizations

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>
  • Loading branch information
ashwin-pc authored Apr 20, 2022
commit b7ca138c231d87d05062cfd25cfecf80e53ecac5
12 changes: 12 additions & 0 deletions examples/expressions_example/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

module.exports = {
root: true,
extends: ['@elastic/eslint-config-kibana', 'plugin:@elastic/eui/recommended'],
rules: {
'@osd/eslint/require-license-header': 'off',
},
};
7 changes: 7 additions & 0 deletions examples/expressions_example/.i18nrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"prefix": "expressionsExample",
"paths": {
"expressionsExample": "."
},
"translations": ["translations/ja-JP.json"]
}
11 changes: 11 additions & 0 deletions examples/expressions_example/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# expressions_example

An OpenSearch Dashboards example plugin to demonstrate the expressions plugin

---

## Development

See the [OpenSearch Dashboards contributing
guide](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/CONTRIBUTING.md) for instructions
setting up your development environment.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

export * from './quick_form_fn';
export * from './quick_form_renderer';
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

import { i18n } from '@osd/i18n';
import {
ExpressionFunctionDefinition,
Render,
} from '../../../../../src/plugins/expressions/public';
import { QuickFormRenderValue } from './quick_form_renderer';

type Arguments = QuickFormRenderValue;

export const quickFormFn = (): ExpressionFunctionDefinition<
'quick-form',
unknown,
Arguments,
Render<QuickFormRenderValue>
> => ({
name: 'quick-form',
type: 'render',
help: i18n.translate('expressionsExample.function.avatar.help', {
defaultMessage: 'Render a simple form that sends the value back as an event on click',
}),
args: {
label: {
types: ['string'],
help: i18n.translate('expressionsExample.function.form.args.label.help', {
defaultMessage: 'Form label',
}),
default: i18n.translate('expressionsExample.function.form.args.label.default', {
defaultMessage: 'Input',
}),
},
buttonLabel: {
types: ['string'],
help: i18n.translate('expressionsExample.function.form.args.buttonLabel.help', {
defaultMessage: 'Button label',
}),
default: i18n.translate('expressionsExample.function.form.args.buttonLabel.default', {
defaultMessage: 'Submit',
}),
},
},
fn: (input, args) => {
return {
type: 'render',
as: 'quick-form-renderer',
value: { ...args },
};
},
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

import React, { useCallback, useState } from 'react';
import { EuiForm, EuiFormRow, EuiButton, EuiFieldText } from '@elastic/eui';
import { i18n } from '@osd/i18n';
import { render, unmountComponentAtNode } from 'react-dom';
import { ExpressionRenderDefinition } from '../../../../../src/plugins/expressions/public';

export interface QuickFormRenderValue {
label: string;
buttonLabel: string;
}

export const quickFormRenderer: ExpressionRenderDefinition<QuickFormRenderValue> = {
name: 'quick-form-renderer',
displayName: i18n.translate('expressionsExample.form.render.help', {
defaultMessage: 'Render a simple input form',
}),
reuseDomNode: true,
render: (domNode, config, handlers) => {
handlers.onDestroy(() => {
unmountComponentAtNode(domNode);
});

render(
<QuickForm
{...config}
onSubmit={(value) =>
handlers.event({
data: value,
})
}
/>,
domNode,
handlers.done
);
},
};

interface QuickFormProps extends QuickFormRenderValue {
onSubmit: Function;
}

const QuickForm = ({ onSubmit, buttonLabel, label }: QuickFormProps) => {
const [value, setValue] = useState('');
const handleClick = useCallback(() => {
onSubmit(value);
}, [onSubmit, value]);

return (
<EuiForm>
<EuiFormRow label={label}>
<EuiFieldText value={value} onChange={(e) => setValue(e.target.value)} />
</EuiFormRow>
<EuiButton onClick={handleClick}>{buttonLabel}</EuiButton>
</EuiForm>
);
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

export * from './sleep';
export * from './square';
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

import { i18n } from '@osd/i18n';
import { ExpressionFunctionDefinition } from '../../../../../src/plugins/expressions/public';

interface Arguments {
time: number;
}

export const sleep = (): ExpressionFunctionDefinition<'sleep', any, Arguments, any> => ({
name: 'sleep',
help: i18n.translate('expressionsExample.function.sleep.help', {
defaultMessage: 'Generates range object',
}),
args: {
time: {
types: ['number'],
help: i18n.translate('expressionsExample.function.sleep.time.help', {
defaultMessage: 'Time for settimeout',
}),
required: false,
},
},
fn: async (input, args, context) => {
await new Promise((r) => setTimeout(r, args.time));
return input;
},
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

import { i18n } from '@osd/i18n';
import { ExpressionFunctionDefinition } from '../../../../../src/plugins/expressions/public';

export const square = (): ExpressionFunctionDefinition<'square', number, {}, any> => ({
name: 'square',
help: i18n.translate('expressionsExample.function.square.help', {
defaultMessage: 'Squares the input',
}),
args: {},
fn: async (input, args, context) => {
return input * input;
},
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

export * from './basic';
export * from './render';
export * from './action';
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

import { i18n } from '@osd/i18n';
import {
ExpressionFunctionDefinition,
Render,
} from '../../../../../src/plugins/expressions/public';
import { AvatarRenderValue } from './avatar_renderer';

type Arguments = AvatarRenderValue;

export const avatarFn = (): ExpressionFunctionDefinition<
'avatar',
unknown,
Arguments,
Render<AvatarRenderValue>
> => ({
name: 'avatar',
type: 'render',
help: i18n.translate('expressionsExample.function.avatar.help', {
defaultMessage: 'Avatar expression function',
}),
args: {
name: {
types: ['string'],
help: i18n.translate('expressionsExample.function.avatar.args.name.help', {
defaultMessage: 'Enter Name',
}),
required: true,
},
size: {
types: ['string'],
help: i18n.translate('expressionsExample.function.avatar.args.size.help', {
defaultMessage: 'Size of the avatar',
}),
default: 'l',
},
},
fn: (input, args) => {
return {
type: 'render',
as: 'avatar',
value: {
name: args.name,
size: args.size,
},
};
},
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

import React from 'react';
import { EuiAvatar, EuiAvatarProps } from '@elastic/eui';
import { i18n } from '@osd/i18n';
import { render, unmountComponentAtNode } from 'react-dom';
import { ExpressionRenderDefinition } from '../../../../../src/plugins/expressions/public';

export interface AvatarRenderValue {
name: string;
size: EuiAvatarProps['size'];
}

export const avatar: ExpressionRenderDefinition<AvatarRenderValue> = {
name: 'avatar',
displayName: i18n.translate('expressionsExample.render.help', {
defaultMessage: 'Render an avatar',
}),
reuseDomNode: true,
render: (domNode, { name, size }, handlers) => {
handlers.onDestroy(() => {
unmountComponentAtNode(domNode);
});

render(<EuiAvatar size={size} name={name} />, domNode, handlers.done);
},
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

export * from './avatar_fn';
export * from './avatar_renderer';
7 changes: 7 additions & 0 deletions examples/expressions_example/common/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

export const PLUGIN_ID = 'expressionsExample';
export const PLUGIN_NAME = 'expressions_example';
14 changes: 14 additions & 0 deletions examples/expressions_example/opensearch_dashboards.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"id": "expressionsExample",
"version": "1.0.0",
"opensearchDashboardsVersion": "opensearchDashboards",
"server": false,
"ui": true,
"requiredPlugins": [
"navigation",
"expressions",
"developerExamples",
"opensearchDashboardsReact"
],
"optionalPlugins": []
}
32 changes: 32 additions & 0 deletions examples/expressions_example/public/application.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

import React from 'react';
import ReactDOM from 'react-dom';
import { AppMountParameters, CoreStart } from '../../../src/core/public';
import { ExpressionsExampleStartDependencies } from './types';
import { ExpressionsExampleApp } from './components/app';
import { OpenSearchDashboardsContextProvider } from '../../../src/plugins/opensearch_dashboards_react/public';

export const renderApp = (
{ notifications, http }: CoreStart,
{ navigation, expressions }: ExpressionsExampleStartDependencies,
{ appBasePath, element }: AppMountParameters
) => {
const services = { expressions, notifications };
ReactDOM.render(
<OpenSearchDashboardsContextProvider services={services}>
<ExpressionsExampleApp
basename={appBasePath}
notifications={notifications}
http={http}
navigation={navigation}
/>
</OpenSearchDashboardsContextProvider>,
element
);

return () => ReactDOM.unmountComponentAtNode(element);
};
Loading