Skip to content

Add polling for vulnerability comments and state

Alexander Turinske requested to merge 214595-add-comment-polling into master

What does this MR do?

Add polling for vulnerability comments and state

  • add polling component for comments
  • refetch discussions if a note with unknown discussion id comes in
  • update X-Last-Fetched-At to only get latest comments
  • use newly available discussion url and notes url for updates

Screenshots

In the video below, I demonstrate how if one user updates a note, adds a note, or adds a new discusssion, the other user sees the changes a short time later

notes_polling_720p

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #214595 (closed) Related to !30244 (merged)

Edited by Alexander Turinske

Merge request reports