Document the updated file and directory lock button

What does this MR do and why?

Part of #545279 (closed), the final step of the feature breakdown below.

Task MR
Add createdAt to PathLock GraphQL type !249031 (merged)
Add component !246285 (merged)
Use component to lock file !246286 (merged)
Use component to lock directories !249473 (merged)
Refresh commit list lock labels this MR ⬅️ we're here
Show upstream lock state on files inside locked directories !250523 (merged)
Update documentation !250296 (merged)

Updates the file locking documentation for the new lock button UI, which is behind the repository_lock_information feature flag (disabled by default):

  • Files and directories are now locked from a Lock button in the header controls; the file overflow menu Actions > Lock step and the "hover over the lock icon" tip describe the old UI.
  • Locking is confirmed with Lock (not OK), and unlocking goes through the Locked disclosure (Unlock file / Unlock directory).
  • Documents the related-lock behavior for directories (parent or nested locks) and the View lock action.
  • Adds the history entry and flag note per the feature flag documentation guidelines.

All of the UI merge requests above are merged. The two remaining MRs in the series are bug fixes that don't change the documented behavior, so this MR can merge independently.

References

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #545279 (closed)

Edited by Chaoyue Zhao

Merge request reports

Loading
Loading