To prevent extra work, all changes to the Files codebase must link to an approved issue marked as Ready to build. Please insert the issue number following the hashtag with the issue number that this Pull Request resolves.
Closes #16387
Steps used to test these changes
Click on New
Click on Shortcut
Try to break the modal
Notes
At the moment the Name is updated whenever the destination path changes.
Or alternatively, we only auto fill the name if the field is empty.
I think this may not work as expected:
let's say a user selects SomePath/FileA, then the name will be set to File_A. If now the destination is changed to SomePath/File_B, the name should not be updated according to above (because the field would not be empty).
Resolved / Related Issues
To prevent extra work, all changes to the Files codebase must link to an approved issue marked as
Ready to build
. Please insert the issue number following the hashtag with the issue number that this Pull Request resolves.Steps used to test these changes
New
Shortcut
Notes At the moment the
Name
is updated whenever the destination path changes.I think this may not work as expected: let's say a user selects
SomePath/FileA
, then the name will be set toFile_A
. If now the destination is changed toSomePath/File_B
, the name should not be updated according to above (because the field would not be empty).