Skip to content

Add the user update API endpoint to the Diffs app

What does this MR do?

For #284116 (closed)

In preparation for saving the user's preference when they change it from the Diffs app dropdown menu we're bringing the endpoint to do so into the Diffs app.

There is no UX change here, we're just preparing for those changes.

MR Description
!55033 (merged) Exposes the endpoint to update the user settings
We're here 👉🏻 Update the Diffs app to ingest and store the endpoint that we will use to update the user preference for file-by-file in the future
!55931 (merged) Update the Diffs app to persist the user's Single File preference to their account when they change it from the dropdown menu

Screenshots (strongly suggested)

N/A, all backstage type work

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
Edited by Thomas Randolph

Merge request reports