-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
feat(rca): edit notes #191546
feat(rca): edit notes #191546
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
/ci |
/ci |
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
History
To update your PR or re-run it, just comment with: |
throw new Error('User does not have permission to delete note'); | ||
} | ||
|
||
investigation.notes = investigation.notes.filter((currNote) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: maybe find
or forEach
would be better instead of filter
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Resolves #190358
Summary
This PR adds a new API to update an existing note, and allow the author of the note to edit their note from the UI.
I've also addressed a few comments mentioned in the base PR, namely the 'esql' constant.
This PR will be rebased when the blocked PR is merged, and then opened for review to avoid tagging more people than needed.
Screen.Recording.2024-08-27.at.3.07.41.PM.mov