Skip to content

Commit 69c281d

Browse files
authored
Merge branch 'main' into main
Signed-off-by: Yulong Ruan <[email protected]>
2 parents cbcac7c + c41b3c6 commit 69c281d

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

CHANGELOG.md

-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
1010

1111
### Bug Fixes
1212

13-
- Remove text in badge to make it compatible with small screen ([#509](https://github.com/opensearch-project/dashboards-assistant/pull/509))
14-
1513
### Infrastructure
1614

1715
### Documentation

public/components/visualization/text2viz.tsx

+9-1
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,17 @@ export const Text2Viz = () => {
254254
dataSourceId: indexPattern.dataSourceRef?.id,
255255
});
256256

257+
if (usageCollection) {
258+
usageCollection.reportUiStats(
259+
VIS_NLQ_APP_ID,
260+
usageCollection.METRIC_TYPE.CLICK,
261+
`triggered-${uuidv4()}`
262+
);
263+
}
264+
257265
setSubmitting(false);
258266
},
259-
[selectedSource, inputQuestion, status, notifications.toasts]
267+
[selectedSource, inputQuestion, status, notifications.toasts, usageCollection]
260268
);
261269

262270
/**

release-notes/dashboards-assistant.release-notes-3.0.0.0-alpha1.md

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Compatible with OpenSearch and OpenSearch Dashboards version 3.0.0-alpha1
2727
- Adjust the overall style of alert summary popover ([#501](https://github.com/opensearch-project/dashboards-assistant/pull/501))
2828
- Add http error instruction for t2ppl task ([#502](https://github.com/opensearch-project/dashboards-assistant/pull/502))
2929
- Change the background color, button position and text for alert summary popover ([#506](https://github.com/opensearch-project/dashboards-assistant/pull/506))
30+
- collect metrics for when t2viz triggered([#510](https://github.com/opensearch-project/dashboards-assistant/pull/510))
3031

3132
### Bug Fixes
3233

@@ -43,6 +44,7 @@ Compatible with OpenSearch and OpenSearch Dashboards version 3.0.0-alpha1
4344
- Fix error handling for data source connection errors ([#500](https://github.com/opensearch-project/dashboards-assistant/pull/500))
4445
- Fix bug by hiding alert summary when clicking alert name ([#482](https://github.com/opensearch-project/dashboards-assistant/pull/482))
4546
- Fix alert summary message action position when no discover button ([#504](https://github.com/opensearch-project/dashboards-assistant/pull/504))
47+
- Remove text in badge to make it compatible with small screen ([#509](https://github.com/opensearch-project/dashboards-assistant/pull/509))
4648

4749
### Maintenance
4850

0 commit comments

Comments
 (0)