Skip to content

[Bug] Notebooks - fix set_paragraphs API #2417

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

Merged
merged 3 commits into from
Apr 23, 2025

Conversation

s-zx
Copy link
Contributor

@s-zx s-zx commented Apr 23, 2025

Description

This PR solve the issue where calling the /api/observability/notebooks/savedNotebook/set_paragraphs API unable to set paragraphs successfully.

Issues Resolved

#2416

How to test?

  1. Open a notebook.
  2. Move the position of a paragraph up or down.
  3. Refresh the page.
  4. Should show the latest paragraphs version.

Check List

  • New functionality includes testing.
  • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
  • New functionality has javadoc added
  • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@TackAdam TackAdam added the bug Something isn't working label Apr 23, 2025
@sumukhswamy
Copy link
Collaborator

could you pull in latest dashboards and observability changes and update the tests

@TackAdam TackAdam changed the title fix(notebook): fix set_paragraphs API [Bug] Notebooks - fix set_paragraphs API Apr 23, 2025
@TackAdam
Copy link
Collaborator

LGTM tested below.
Thank you for your contribution!

NotebooksTest.mov

@TackAdam TackAdam merged commit b2c8ca3 into opensearch-project:main Apr 23, 2025
18 of 19 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 23, 2025
Signed-off-by: Zhenxing Shen <[email protected]>
Co-authored-by: Sumukh Swamy <[email protected]>
Co-authored-by: Adam Tackett <[email protected]>
(cherry picked from commit b2c8ca3)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ps48 pushed a commit that referenced this pull request Apr 24, 2025
(cherry picked from commit b2c8ca3)

Signed-off-by: Zhenxing Shen <[email protected]>
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>
Co-authored-by: Sumukh Swamy <[email protected]>
Co-authored-by: Adam Tackett <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 3.0 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants