Skip to content

Conversation

@ArielLeyva
Copy link
Contributor

@ArielLeyva ArielLeyva commented Aug 18, 2025

Description

I added a container below the file name input field that draws the actual path where the file will be created. This is a possible solution to issue #5306 "Unexpected behavior when changing folder and filenames in filebrowser."

Additional Information

I wouldn't like to give up creating a file within one or more directories directly in the new file creation modal, so I added this behavior (similar to how github handles it when adding a file)

Checklist

Closes #5306

  • I am aware the project is currently in maintenance-only mode. See README
  • I am aware that translations MUST be made through Transifex and that this PR is NOT a translation update
  • I am making a PR against the master branch.
  • I am sure File Browser can be successfully built. See builds and development.

@ArielLeyva
Copy link
Contributor Author

This is how the path where the file will be created appears

image

@ArielLeyva
Copy link
Contributor Author

This is the error message when typing the "/" character when renaming a file or directory (preventing a new file or directory from being created in another location)

Captura de pantalla_26-8-2025_883_localhost

@ArielLeyva ArielLeyva changed the title feat: Improved path display in the NewFile.vue component fix: Improved path display in the NewFile.vue component Aug 26, 2025
@ArielLeyva ArielLeyva changed the title fix: Improved path display in the NewFile.vue component fix: Error when renaming a file or directory with the "/" character Aug 26, 2025
…Behavior-when-changing-folder-and-filenames-in-filebrowser)
…Behavior-when-changing-folder-and-filenames-in-filebrowser)
…Behavior-when-changing-folder-and-filenames-in-filebrowser)
@ArielLeyva ArielLeyva closed this Sep 17, 2025
@ArielLeyva ArielLeyva deleted the Solved-Issue-#5306-(Unexpected-Behavior-when-changing-folder-and-filenames-in-filebrowser) branch September 17, 2025 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Unexpected Behavior when changing folder and filenames in filebrowser

1 participant