Skip to content

Move Path Locks inline JavaScript to JS-only

Lukas Eipert requested to merge leipert-migrate-path-locks-to-js-only into master

What does this MR do and why?

Rather than requesting and evaluating some JavaScript, we listen to the ajax:success event directly and show the empty state once all locks are deleted.

Screenshots or screen recordings

Before After
before after

How to set up and validate locally

  1. Lock a file in the repo view
  2. Remove the lock in ther locked files overview

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Lukas Eipert

Merge request reports

Loading