Move Path Locks inline JavaScript to JS-only
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
- Lock a file in the repo view
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Lukas Eipert