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

[pull] main-for-docs from opensearch-project:main #24

Open
wants to merge 750 commits into
base: main-for-docs
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
750 commits
Select commit Hold shift + click to select a range
79fed30
[workspace] update search bar layout and align workspace selector (#8…
Hailong-am Oct 23, 2024
85e0767
[discover] optimize rendering language options (#8685)
kavilla Oct 23, 2024
c11a801
[Discover] Add Footer Bar for Single Line Editor (#8565)
sejli Oct 23, 2024
e4281e4
[bug] set saved search instance for Discover based on dataset (#8689)
kavilla Oct 23, 2024
c5609af
[Sample data] Update otel sample data description (#8693)
ps48 Oct 23, 2024
9a25d0d
fixing snapshot (#8694)
sejli Oct 23, 2024
463a6c0
Saved queries new UI (#8469)
amsiglan Oct 25, 2024
7d53be7
[workspace]fix: make goto router support workspace (#8709)
SuZhou-Joe Oct 28, 2024
90c40da
[Discover] Modify the search bar info box content for sql/ppl (#8708)
RyanL1997 Oct 28, 2024
c105d94
[Enhancement] Update auto-complete-api-with-mds (#8713)
sumukhswamy Oct 28, 2024
863f211
Revert "[workspace]fix: make goto router support workspace (#8709)" (…
SuZhou-Joe Oct 28, 2024
54fd87d
fix: generate short url with workspace info (#8719)
SuZhou-Joe Oct 28, 2024
25a4ad5
Update connections API error handling to use 503 for service unavaila…
ananzh Oct 28, 2024
c7adb39
[Discover] use consistent icon for query assist feature (#8726)
joshuali925 Oct 28, 2024
57882f5
Update QueryHistory to use sessionStorage (#8723)
ananzh Oct 28, 2024
53e8404
[Workspace] Refactor: update change access modal display name (#8680)
raintygao Oct 29, 2024
815f466
Fix index pattern issue (#8718)
yubonluo Oct 29, 2024
56eeab2
[discover] query editor and language selector state fixes (#8712)
kavilla Oct 29, 2024
aaae87b
Follow up on 8723 comment (#8733)
ananzh Oct 29, 2024
c66b698
[BUG][Discover] Ensure save query loaded properly from asset (#8707)
ananzh Oct 29, 2024
48bfe2c
fixed ppl polling; save dataset in saved queries (#8724)
amsiglan Oct 29, 2024
2f31914
[Discover] fix error handling in query enhancement facet (#8743)
joshuali925 Oct 29, 2024
e5d665b
Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows …
dependabot[bot] Oct 30, 2024
056e481
[Discover] Prevent wrapping of time fields (#8755)
AMoo-Miki Oct 30, 2024
e7533a9
[CVE-2024-48948] Bump `elliptic` from 6.5.7 to 6.6.0 (#8742)
AMoo-Miki Oct 30, 2024
7471a65
[Discover] add sample queries for PPL (#8752)
joshuali925 Oct 30, 2024
e1a1b8f
Add support for async ppl to discover (#8706)
ps48 Oct 30, 2024
a70a7b8
[data] updates query and lang if language is not supported by query d…
kavilla Oct 30, 2024
c9941f7
[Discover] fix error handling for sql and jobs APIs (#8765)
joshuali925 Oct 30, 2024
04dff9b
[Discover] Filter out OpenSearch Serverless Collections (#8758)
sejli Oct 31, 2024
3381dcd
[Discover] Fix error handling for ppl jobs API (#8771)
ps48 Oct 31, 2024
92e0766
remove default cluster from configurator (#8778)
sejli Nov 1, 2024
e11b401
fix: staled closure inside chrome_service (#8783)
SuZhou-Joe Nov 1, 2024
affd265
[Discover] Update async search response type (#8781)
ps48 Nov 1, 2024
97f4734
Fix data source info is missing in default query when click Discover …
gaobinlong Nov 1, 2024
9f7f8aa
use semver for filtering data sources (#8785)
sejli Nov 2, 2024
5829303
Add query enhancement cypress tests to Github CI (#8703)
abbyhu2000 Nov 2, 2024
005a83a
[Discover] Makes caching dataset options optional (#8799)
ashwin-pc Nov 4, 2024
358d823
[Discover] Query editor state sync fixes (#8803)
ashwin-pc Nov 4, 2024
78204a0
Revert back to using the official release of `vega-interpreter` (#8744)
AMoo-Miki Nov 4, 2024
758e4fb
add data-test-subj for refresh data button in discover (#8782)
ananzh Nov 5, 2024
8efc5fb
Add 2.18 release note to main (#8790)
ananzh Nov 5, 2024
4f6b287
[discover] temporarily disable recent datasets (#8816)
kavilla Nov 6, 2024
016f090
[Discover] fix error construction and retrieving status (#8807)
joshuali925 Nov 6, 2024
87832f3
[i18n] Add additional translations for de-DE, es-ES, fr-FR, id-ID, it…
AMoo-Miki Nov 6, 2024
7f3235d
fix to get correct getSavedQueryCount (#8808)
riysaxen-amzn Nov 6, 2024
1b3e60c
[Workspace]Fix error message missed in workspace creator name input (…
wanglam Nov 7, 2024
af4943d
[Workspace]Fix flights sample data copy in workspace assets page (#8786)
wanglam Nov 7, 2024
e664cd0
[Discover] Decouple `data$` updates to prevent rows clearing on hook …
joshuali925 Nov 7, 2024
aa60870
Remove `head 10` for PPL default query to unblock cypress test failur…
abbyhu2000 Nov 8, 2024
696b792
Remove data enhancement options from yaml config (#8828)
d-buckner Nov 8, 2024
bdb2953
integrate dashboard admin with dynamic config (#8137)
yubonluo Nov 11, 2024
995d986
[workspace] Add test id for workspace multi-deletion button (#8833)
Qxisylolo Nov 11, 2024
0f899df
[Autocomplete] PPL table name parser fix (#8843)
paulstn Nov 12, 2024
76cf823
[Workspace] Add unit tests for inspect page url (#8834)
yubonluo Nov 12, 2024
25d3de7
Fix template queries loading and update getSampleQuery interface (#8848)
jowg-amazon Nov 13, 2024
c20c041
[Discover] Fix discover query loading state (#8832)
joshuali925 Nov 14, 2024
66ea096
[Workspace][Bug] Fix inspect page url error (#8857)
yubonluo Nov 14, 2024
413697d
Indexed views framework (#8851)
amsiglan Nov 14, 2024
2eb162d
[Discover] Add max height and scroll to error message body (#8867)
jowg-amazon Nov 14, 2024
bca4f5c
Keep previous query result if current query result in error (#8863)
abbyhu2000 Nov 15, 2024
e993d24
Fix a typo while inspecting values for large numerals in OSD and the …
AMoo-Miki Nov 15, 2024
42df421
[Discover] Dataset search on page load issues (#8871)
kavilla Nov 15, 2024
b2b71e2
[Discover] Hide Date Picker For Unsupported Types (#8866)
sejli Nov 15, 2024
ab4e6e8
[Bug] Make release note generation more resilient by gracefully handl…
ananzh Nov 15, 2024
9262a33
Fix openApi doc for bulk saved object API http method (#8885)
BionIT Nov 18, 2024
d94fad2
[CVE-2024-21538] Bump `cross-spawn` from 6.0.5 and 7.0.3 to 7.0.5 (#8…
AMoo-Miki Nov 18, 2024
5740259
Adjusted source of QueryStringManager functions for flyout. (#8864)
AWSHurneyt Nov 18, 2024
608911e
[chore]upgrade actions/upload-artifact to v4 (#8855)
Hailong-am Nov 19, 2024
a8d383b
Use currently selected data source when no source attached to saved q…
amsiglan Nov 19, 2024
d3f539c
Added framework to get default query string using dataset and languag…
amsiglan Nov 20, 2024
a107509
Only support copy for query templates (#8899)
amsiglan Nov 20, 2024
c928aec
removed extra param getInitialDatasetQueryString in query_string_mana…
amsiglan Nov 20, 2024
1cb2511
Remove filter out serverless cluster and add support to extract index…
ananzh Nov 21, 2024
0ec00b1
Re-enable serverless mds support for index pattern (#8909)
ananzh Nov 21, 2024
89265b6
enable s3 (#8911)
ananzh Nov 21, 2024
f110637
Fix query editor cursor alignment by removing monaco css overrides (#…
d-buckner Nov 22, 2024
539675e
[augmenter] do not support datasources with no version (#8915)
kavilla Nov 22, 2024
073a9ff
Mitigate the incorrect layout of Discover due to a race condition bet…
AMoo-Miki Nov 26, 2024
c24d5bc
[Workspace] feat: optimize recent items and filter out items whose wo…
raintygao Nov 27, 2024
8f58bce
[Auto Suggest] SQL Syntax Highlighting fix (#8951)
paulstn Nov 27, 2024
473c0ae
Bump `@opensearch-project/opensearch` from 2.9.0 to 2.13.0 (#8886)
AMoo-Miki Nov 27, 2024
4dac5a7
[workspace]fix: Change some of the http link in settings page to http…
Qxisylolo Nov 28, 2024
1c744d6
[Workspace]Support search dev tools by its category name (#8920)
Hailong-am Nov 28, 2024
b31206a
[Workspace] Isolate objects based on workspace when calling get/bulkG…
yubonluo Dec 2, 2024
080b0db
[Discover] Fix Initialization if No Saved Query (#8930)
sejli Dec 3, 2024
340326f
[Workspace][Bug] Check if workspaces exists when creating saved objec…
yubonluo Dec 3, 2024
d5e0087
[Discover] fix PPL to not throw error if aggregation query fails (#8992)
joshuali925 Dec 3, 2024
e07680b
Upgrade Cypress to v12 (#8995)
d-buckner Dec 3, 2024
fe616e7
[Query enhancements] use status 503 if search strategy throws 500 (#8…
joshuali925 Dec 3, 2024
98e9042
Revert "[augmenter] do not support datasources with no version (#8915…
ohltyler Dec 4, 2024
36bf5e8
[Workspace] Clear the attribute of error objects (#9003)
yubonluo Dec 5, 2024
41ac8ab
bump `url` to 0.11.4 (#8611)
joshuali925 Dec 5, 2024
3f65938
[Discover] use roundUp when converting timestamp for PPL (#8935)
joshuali925 Dec 5, 2024
af429b6
[Workspace]Fix error toasts in sample data page (#8842)
wanglam Dec 6, 2024
afb2605
fix: update the osd-plugin-generator template to reference the correc…
angle943 Dec 6, 2024
7df73dd
[Discover] Support custom logic to insert time filter based on datase…
joshuali925 Dec 6, 2024
6a0484a
[Discover Test] TestID-69: Filtering. Add data-test-subj tags. (#9027)
ArgusLi Dec 10, 2024
9f23442
add queryEditorLanguageOptions data-test-subj on language_selector.ts…
silva-qa Dec 10, 2024
85273e3
Added release notes for 1.3.20 (#9033)
bshien Dec 11, 2024
faa6b54
Fix toggle column action in the discover page (#8905)
tungsheng Dec 13, 2024
442e11e
Migrate query enhancement tests from functional repo to main (#9048)
abbyhu2000 Dec 14, 2024
16115ba
Add missing data-test-subj tags for data plugin (#9051)
LDrago27 Dec 16, 2024
f06a478
Add missing data-test-subj tags for discover plugin (#9049)
ananzh Dec 16, 2024
f9c463d
Follow up on #9048 by updating data and utilities (#9060)
ananzh Dec 18, 2024
9d21b81
[workspace]Fix/the UI of workspace list table (#8219)
Qxisylolo Dec 19, 2024
c61c7cd
[Workspace] refactor: Remove permission validation in workspace form …
raintygao Dec 19, 2024
06bcf20
refactor some query-enhancement utility functions, add some missing t…
angle943 Dec 19, 2024
f85cd6d
[MDS] Fix showing DQS sources list in workspaces (#8838)
jowg-amazon Dec 19, 2024
791f5d8
Add setting to turn extending numeric precision on or off (#8837)
AMoo-Miki Dec 20, 2024
8eb87aa
Improve CI checks on PRs (#9064)
AMoo-Miki Dec 20, 2024
766021b
chore: Update oui to 1.18 (#9058)
virajsanghvi Dec 20, 2024
66331eb
Re-enable dataset_selector.spec.js and queries.spec.js under workspac…
ananzh Dec 20, 2024
b1113f4
[Workspace]Fix the UI of recent assets in the header (#8156)
Qxisylolo Dec 24, 2024
b603c21
[Workspace] fix: hide collaborators page on nav when newHomePage is d…
raintygao Dec 24, 2024
6e851ff
[workspace]Fix/UI of assets table (#8519)
Qxisylolo Dec 24, 2024
c836e60
[Workspace] add missing method for workspace client interface (#9070)
yubonluo Dec 25, 2024
a98e178
[docs] update dev guide to connect to external cluster (#9080)
kavilla Dec 25, 2024
3e69fe0
[workspace] fix: manage link does not do anything (#9059)
Qxisylolo Dec 26, 2024
87011f7
Disable buttons in sample data cards for read-only users (#9042)
Kapian1234 Dec 26, 2024
fb9a814
[workspace] fix the UI of delete modal in the save objects(assets) pa…
Qxisylolo Dec 27, 2024
698bcec
Make createWorkspaceIndexPatterns to handle no default cluster and cl…
ananzh Dec 30, 2024
5f91e37
add data-test-subj (#9135)
silvaf-dev Dec 30, 2024
7fb119d
[Discover] Adding Cypress Tests for S3 Datasets (#9113)
sejli Jan 1, 2025
a2fa2d1
[Workspace][Bug] Unable to copy assets to a workspace without assigni…
yubonluo Jan 2, 2025
40e61c7
[Workspace] fix: Fix workspace page hanging with none collaborators f…
raintygao Jan 2, 2025
55f203a
[Discover 2.0 Testing] Create Filtering Test (TestId-69: Filtering) (…
ArgusLi Jan 5, 2025
15a19fa
[Workspace] fix:Prevent user from visiting dashboards / visualization…
Qxisylolo Jan 6, 2025
47a2351
Add tests for saved search creation and loading for query enhancement…
angle943 Jan 6, 2025
2aac3ee
fix: 0 rendered in discover when there are no results (#9153)
d-buckner Jan 8, 2025
ea7911f
Update data source details to use small buttons (#9057)
ritvibhatt Jan 8, 2025
8d98654
[Workspace] Add privacy levels to the workspace (#8907)
Kapian1234 Jan 8, 2025
d947bd6
[workspace] refactor: refactor the bulk_get handler in permission wra…
Qxisylolo Jan 8, 2025
c382d1a
[Auto Suggest] DQL Parsing updates and Fixes (#8931)
paulstn Jan 8, 2025
eff5b27
[workspace]add 2 step loading in 'Associate data sources' modal (#8999)
Qxisylolo Jan 9, 2025
f7ecf99
[Enhancement] Use HTTP service instead of fetch for plugin check (#9052)
RyanL1997 Jan 9, 2025
82689bb
[Workspace] Support to dissociate data connection object since DSM li…
raintygao Jan 9, 2025
32b0602
Fix Unhandled Error Response of dev tool with MDS (#9159)
zhongnansu Jan 9, 2025
e401613
Add a learn more flyout to the collaborators page (#9145)
Kapian1234 Jan 10, 2025
01b0493
[Workspace] Fix UI issues in workspace detail and create page (#8737)
Kapian1234 Jan 13, 2025
e1b12ab
Fix the display and jump logic for recent assets (#8136)
Kapian1234 Jan 13, 2025
d7f82b1
[Cypress][Fix] Update saved search utilities (#9151)
angle943 Jan 13, 2025
e450f4d
chore: Update oui to 1.19 (#9172)
virajsanghvi Jan 13, 2025
9b5ce68
chore: use relative paths in cypress (#9079)
d-buckner Jan 13, 2025
53fe4c1
Update text in workspace collaborators text box (#9181)
Naarcha-AWS Jan 15, 2025
5a290a4
[workspace] fix set as default error in data source and index pattern…
Qxisylolo Jan 16, 2025
33f7ba6
[Discover 2.0 Testing] Create View List of Saved Queries Test (Test-I…
ArgusLi Jan 16, 2025
2d7a97c
change casing to folder structures to be compliant with our rules (#9…
angle943 Jan 16, 2025
cacf825
[Workspace]Dismiss get started for search/essential/analytics overvie…
Hailong-am Jan 17, 2025
19783f2
[Workspace] update workspace not found message to generic message (#9…
Hailong-am Jan 17, 2025
6402d2d
[Workspace] Address UI issues of index patterns (#8287)
Kapian1234 Jan 17, 2025
d159d75
Add data2summary check in data summary panel in discover (#8716)
Qxisylolo Jan 17, 2025
ed9ef72
[Fix] Saved Search Integ Test Update: update saving a new saved searc…
angle943 Jan 17, 2025
a2f3b15
refactor query enhancement tests (#9208)
angle943 Jan 17, 2025
12d8a1d
[Discover] [Vizbuilder] fix: Cleanup OsdUrlStateStorage subscription …
Maosaic Jan 17, 2025
2b34fda
add data-test-subjs that are required for TESTID-51 (#9212)
angle943 Jan 17, 2025
a7aeb76
[Auto Suggest] PPL & SQL Value Suggestion (#8275)
paulstn Jan 17, 2025
b0bfa6c
[Workspace]Update workspace privacy setting link (#9222)
wanglam Jan 20, 2025
aaf80d0
chore: change casing of data-logs to be compliant with our git hook r…
angle943 Jan 21, 2025
4ebb204
Remove bypass of getting cypress cache (#9209)
abbyhu2000 Jan 21, 2025
cc05137
chore: remove unused/redundant functions from field_display_filtering…
angle943 Jan 21, 2025
b04af6b
Add data-test-subj to be changed. (#9238)
ArgusLi Jan 21, 2025
edb66f0
Create cypress command namespacing util (#9150)
d-buckner Jan 22, 2025
ca7c899
[Workspace]feat: enable maximum workspaces (#9226)
SuZhou-Joe Jan 22, 2025
8ae1c71
Add navControlsPrimaryHeaderRight slot to header (#9223)
wanglam Jan 22, 2025
bda66b0
Move query assistant summary toggle to AI assistant dropdown list (#9…
yubonluo Jan 22, 2025
11918b6
[workspace]fix the bug that mistakenly classify data connection (#9237)
Qxisylolo Jan 23, 2025
33cb5b7
Fixing console error when the data source has an empty description (#…
FriedhelmWS Jan 23, 2025
0be70a7
update cy.createInitialWorkspaceWithDataSource -> cy.osd.createInitia…
angle943 Jan 23, 2025
2f61e47
style: Update sidecar style to align with new page header (#9269)
raintygao Jan 24, 2025
c91df47
[Workspace]DQC can not be assigned to a workspace due to validation …
Qxisylolo Jan 24, 2025
1ac056a
[Workspace]fix: recent item links are not correctly constructed (#9275)
SuZhou-Joe Jan 26, 2025
558831c
TESTID-51 Add test for language-specific display (#9215)
angle943 Jan 27, 2025
49f42c4
update new file extension for dashboard_sanity_test.spec (#9279)
sejli Jan 27, 2025
57c4424
[Discover] Query Editor Shortcut Fires Incorrect Query (#9248)
sejli Jan 28, 2025
969114f
[TESTID-125,126,127,128,129] Saved Query Test Scope (#9229)
ArgusLi Jan 28, 2025
dc8865a
Add Tests for Relative and Quick Select Time Range Selection (#9265)
LDrago27 Jan 28, 2025
5a0ad73
Add todo comment. (#9287)
ArgusLi Jan 28, 2025
d227bc5
[Auto Suggest] Fix Grammar Changes (#9120)
paulstn Jan 28, 2025
54997e8
[Discover]chore: disable sorting on columns header for PPL and SQL (#…
Maosaic Jan 29, 2025
6c83d4e
Add Tests for Simple dataset Selector (#9255)
LDrago27 Jan 29, 2025
a50e0c7
[Cypress Test] Add and Refactor TESTID-140 sidebar spec and TESTID-46…
ananzh Jan 30, 2025
85e2187
TESTID-116, TESTID-115, TESTID-61 - Tests for Saved Searches in Dashb…
angle943 Jan 30, 2025
95cfb51
Fix add to dashboard after saving (with unit tests) (#9072)
tungsheng Jan 30, 2025
0da7752
Update Dataset Selector tests (#9274)
LDrago27 Jan 31, 2025
13408e1
Update cypress data to have random id, missing value fields and uniqu…
ananzh Feb 4, 2025
4d97018
[Cypress][TESTID-147] Add tests for table canvas in discover (#9285)
ananzh Feb 4, 2025
527c1dc
[TESTID-58,59] Inspect functionality for Discover and Visualizations …
ArgusLi Feb 4, 2025
7424811
Add 2.19 Release Notes (#9325) (#9327)
LDrago27 Feb 4, 2025
4610d53
[TEST] refactor all tests to be consistent across different source co…
angle943 Feb 5, 2025
3eb82d0
Add Justin as a maintainer (#9335)
ananzh Feb 5, 2025
ec6d7df
[Discover] chore: Improve scrolling experience (#9298)
Maosaic Feb 5, 2025
2ff6f19
[TEST] update tests to use only data-logs-1 (#9339)
angle943 Feb 6, 2025
bdec687
feat: remove workspace prefix to make get call success (#9340)
SuZhou-Joe Feb 7, 2025
40dde43
Change from `Cluster` to `Data sources` for Indexes type in dataset s…
abbyhu2000 Feb 7, 2025
fcc4970
Add ciGroup13 for query tests (#9345)
ananzh Feb 7, 2025
0994dbe
Add retry mechanism for flaky share menu test (#9352)
ananzh Feb 7, 2025
0be2f25
add a check for the sort visibility in language_specific_display (#9314)
angle943 Feb 7, 2025
21f1f73
remove data explorer elements (#9359)
angle943 Feb 10, 2025
686a83a
Add doc on triaging (#9291)
d-buckner Feb 11, 2025
838b720
Update actions/cache from v1 to v4 to address deprecation warning (#9…
ananzh Feb 11, 2025
c1a409b
Handle invalid geospatial request in region map (#8759)
junqiu-lei Feb 11, 2025
57e1d27
Update DEVELOPER_GUIDE.md (#9368)
lbeltran-dev Feb 12, 2025
cb7bcc0
[Documentation] Add alternative Docker Development Environment Setup …
ArgusLi Feb 12, 2025
4da33a1
[TESTID-77] Index Patterns Caching functionality for Discover (#9331)
ArgusLi Feb 12, 2025
8cc5f84
[Discover] fix: Clean up sync URL subscription in Discover plugin top…
Maosaic Feb 12, 2025
3c6c806
[TESTID-64,80,UI] Add cypress test for autocomplete feature (#9322)
ananzh Feb 14, 2025
198482b
[Discover] chore: Update query editor loading UI (#9344)
Maosaic Feb 14, 2025
788b11c
feat(vis_type_vega): support reading time field (#9152)
ruanyl Feb 14, 2025
4d55b4d
[TESTID-17] Add tests for query testing and advanced settings (#9384)
ananzh Feb 14, 2025
4e21765
[Recent Queries]: add all recent queries tests (#9307)
silvaf-dev Feb 14, 2025
dc22922
[TESTID-66] Add histogram tests (#9290)
silvaf-dev Feb 17, 2025
0f32a25
Remove reload in saved_search spec as bug has been resolved (#9396)
ArgusLi Feb 17, 2025
c220796
[TESTID-140 New Test Suites] Top Values and Filter Sidebar Fields By …
ArgusLi Feb 17, 2025
2b6e7bf
[Follow-up #9386] Add TODO and omit for hide missing values for SQL a…
ananzh Feb 17, 2025
8284b2d
[TESTID-234] Add tests for query editor display (#9398)
ananzh Feb 17, 2025
126c144
Enable overwrite on upload artifact (#9383)
Maosaic Feb 18, 2025
22d8063
[Discover]: Make colour of discover histogram match theme (#9405)
Maosaic Feb 18, 2025
6cf56f0
[Discover] chore: Fix view single document page content padding (#9382)
Maosaic Feb 18, 2025
3918797
Update lycheeignore (#9406)
Maosaic Feb 18, 2025
3c90fa3
[Discover] Cancel S3 Queries Using SQL Plugin (#9355)
sejli Feb 19, 2025
9787330
[Discover] support description in data-structures (#9296)
joshuali925 Feb 19, 2025
601d367
Render PPL time column using the correct time zone (#9379)
abbyhu2000 Feb 20, 2025
cc52e8c
Fix flakieness in cypress tests (#9433)
ananzh Feb 21, 2025
242bd7b
Format PPL date fields to `YYYY-MM-DDTHH:mm:ss.SSSZ` (#9436)
abbyhu2000 Feb 24, 2025
eba051a
[TEST] add more osd namespacing (#9358)
angle943 Feb 24, 2025
46ee60c
[workspace]Hide the assistant entry when there isn't data2summary age…
Qxisylolo Feb 25, 2025
946c6bb
add setting sort for PPL and SQL for inspect.spec (#9444)
angle943 Feb 25, 2025
796e481
Fix flatten hit modify original array (#9347)
wanglam Feb 26, 2025
071213b
remove deprecated CssDistFilename for 3.0 (#9446)
angle943 Feb 26, 2025
3486976
Bump markdown-it from 12.3.2 to 13.0.2 (#9412)
ananzh Feb 26, 2025
ca8f0b1
Bump dompurify from 3.1.6 to 3.2.4 (#9447)
ananzh Feb 26, 2025
14a6cfa
Allow v8/v9 as default setting (#9429)
Maosaic Feb 27, 2025
06748d2
remove withLongNumerals in HttpFetchOptions as it is deprecated in 3.…
angle943 Feb 27, 2025
85547a2
Add debug documentation and configuration (#9435)
d-buckner Feb 27, 2025
2e0c36d
[Discover] Add New Mappings for S3 Type (#9430)
sejli Feb 28, 2025
6451718
[Workspace] organizing generated summary by using markdown format (#9…
Qxisylolo Mar 1, 2025
ec9db88
[doc] Initial version of Understanding Discover 2.0 (#9463)
kavilla Mar 3, 2025
5f9e470
[TEST] use before/after and consolidate (#9439)
angle943 Mar 4, 2025
1d74fd1
[workspace] Fix : should not show summary if there is no response (#9…
Qxisylolo Mar 4, 2025
9ecb66d
feat: allow to customize discover summary panel title (#9481)
ruanyl Mar 4, 2025
4811136
Update formatHit to accept type as param (#9469)
angle943 Mar 5, 2025
bc6dccb
[Workspace] fix: text size in generated summary should be s (#9492)
Qxisylolo Mar 5, 2025
b75a1bb
Add MDS to msearch (#9361)
wanglam Mar 5, 2025
2a6ad2f
Fix failed build integration test by update caniuse-lite version (#9493)
FriedhelmWS Mar 5, 2025
c8593e8
Remove @elastic/filesaver in favor of file-saver (#9484)
angle943 Mar 5, 2025
808b581
chore: remove formatNumWithCommas (#9488)
angle943 Mar 5, 2025
224ce54
[CI] Update Discover Integration Tests S3 Workflow (#9490)
sejli Mar 6, 2025
673a512
[workspace] feat: changes the position of the query summary and query…
Qxisylolo Mar 7, 2025
2a9cb94
[CVE-2023-28155][CVE-2023-44270][CVE-2024-55565] Resolve the CVE by b…
LDrago27 Mar 7, 2025
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
Mitigate the incorrect layout of Discover due to a race condition bet…
…ween loading column definition and data (opensearch-project#8928)

Signed-off-by: Miki <[email protected]>
AMoo-Miki authored Nov 26, 2024
commit 073a9ff3bbf17ee4e6a85a794b759bb370899533
Original file line number Diff line number Diff line change
@@ -186,6 +186,17 @@ const DefaultDiscoverTableUI = ({
// Allow auto column-sizing using the initially rendered rows and then convert to fixed
const tableLayoutRequestFrameRef = useRef<number>(0);

/* In asynchronous data loading, column metadata may arrive before the corresponding data, resulting in
layout being calculated for the new column definitions using the old data. To mitigate this issue, we
additionally trigger a recalculation when a change is observed in the index that the data attributes
itself to. This ensures a re-layout is performed when new data is loaded or the column definitions
change, effectively addressing the symptoms of the race condition.
*/
const indexOfRenderedData = rows?.[0]?._index;
const timeFromFirstRow =
typeof indexPattern?.timeFieldName === 'string' &&
rows?.[0]?._source?.[indexPattern.timeFieldName];

useEffect(() => {
if (tableElement) {
// Load the first batch of rows and adjust the columns to the contents
@@ -214,7 +225,7 @@ const DefaultDiscoverTableUI = ({
}

return () => cancelAnimationFrame(tableLayoutRequestFrameRef.current);
}, [columns, tableElement]);
}, [columns, tableElement, indexOfRenderedData, timeFromFirstRow]);

return (
indexPattern && (