Skip to content

Show full path when creating a file in subdirectory

What does this MR do and why?

For the single file editor, show only ref when editing the file, but the whole path when creating a new file.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Context Before After
create new file Screenshot_2023-11-02_at_14.31.36 Screenshot_2023-11-02_at_14.28.59
edit file Screenshot_2023-11-02_at_14.31.15 Screenshot_2023-11-02_at_14.28.14

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Go to Project / Repository view
  2. Create a subdirectory
  3. Create a file in that subdirectory. Notice the whole path shown when in Editor creating the file.

MR acceptance checklist

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

Related to #20409 (closed)

Edited by Paulina Sedlak-Jakubowska

Merge request reports

Loading