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

[Backport 2.x] reset chat or reload history after data source change #204

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport a2a98f6 from #194.

* reset chat or reload history when data source change

Signed-off-by: Lin Wang <[email protected]>

* Add change log

Signed-off-by: Lin Wang <[email protected]>

* Address PR comments

Signed-off-by: Lin Wang <[email protected]>

* Set search and page after data source change

Signed-off-by: Lin Wang <[email protected]>

* Remove skip first value when subscribe dataSourceId$

Signed-off-by: Lin Wang <[email protected]>

* Add dataSourceIdUdpates$ and finalDataSourceId

Signed-off-by: Lin Wang <[email protected]>

* Remove data source service mock in chat header button

Signed-off-by: Lin Wang <[email protected]>

* Remove no need useRef

Signed-off-by: Lin Wang <[email protected]>

* Refactor load history after data source change

Signed-off-by: Lin Wang <[email protected]>

---------

Signed-off-by: Lin Wang <[email protected]>
(cherry picked from commit a2a98f6)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
@wanglam wanglam merged commit 7efc32c into 2.x Jun 7, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant