You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when a user tries to restore a deleted file from the TUI, if there is a name collision or if the path cannot be restore the following message appears:
Unfortunately, Path /home/amine/perso/rmt.rs doesn't exist anymore or there is a file with the same name inside, so we can't restore your element to the original path :c
Please enter a new absolute path to restore your element
>> /home
This message is unclear and impractical.
I propose the following idea: when a path is not resolvable or there is a name collision, an interactive file tree should be displayed, allowing the user to navigate using Vim-like commands (j for down, k for up), and using the spacebar to open or close folders (folders are closed by default).
When the user selects a folder by pressing Enter, if the original name doesn't exist, it should be placed in the chosen folder. If there is a collision, the user should be prompted to enter a new name.
Bonus: Use emojis to visually represent files and folders.
Here's an example of how it could look in the shell:
📁 home
📁 name
> 📁 perso
📄 rmt.rs
📁 other_folder
↑/k up • ↓/j down • esc filter • ctrl(d) clear filter • space open/close folder • enter validation • q exit
The text was updated successfully, but these errors were encountered:
AmineZouitine
changed the title
GUI: Modification when the path cannot be restored or if there a name colission
TUI: Modification when the path cannot be restored or if there a name colission
May 13, 2023
Currently, when a user tries to restore a deleted file from the TUI, if there is a name collision or if the path cannot be restore the following message appears:
This message is unclear and impractical.
I propose the following idea: when a path is not resolvable or there is a name collision, an interactive file tree should be displayed, allowing the user to navigate using Vim-like commands (j for down, k for up), and using the spacebar to open or close folders (folders are closed by default).
When the user selects a folder by pressing Enter, if the original name doesn't exist, it should be placed in the chosen folder. If there is a collision, the user should be prompted to enter a new name.
Bonus: Use emojis to visually represent files and folders.
Here's an example of how it could look in the shell:
The text was updated successfully, but these errors were encountered: