Skip to content

Updated diffs notes app to use paginated notes

Phil Hughes requested to merge ph/209784/usePaginatedNotesEndpoint into master

What does this MR do?

Removes calls to the discussions.json endpoint in the diffs notes app. Instead we always use the notes endpoint and populate the discussions state from this endpoint. The main reason for this change is that the notes endpoint has been changed so that it can now paginate whereas the discussions endpoint does not.

Screenshots (strongly suggested)

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

#209784 (closed)

Merge request reports