Implement feature to delete multiple files#169
Implement feature to delete multiple files#169sinharaksh1t wants to merge 5 commits intoantonmedv:masterfrom
Conversation
|
This is cool. I like it. But can we do something better for indicating which files are selected? Maybe changing a background? Those (x) doesn’t look cool. |
|
I actually agree with that. Changing background was definitely my first choice instead of (X). However, then I started imagining what the user experience would look like. For example, the file under the cursor is currently colored purple. If the user selects a file, say we color it blue (as an example) to mark it selected, what color should we show when the cursor is on top of a selected file? Here are some of my initial thoughts:
My goal with (X) was to ensure that regardless of the background color, when the user has the view of all the files, there is a clear indication of which files are selected and which aren't. Let me know what you think. |
|
Maybe we can use an emoji instead of (X)? Like ✅ or ❌ or something else? I'm also happy to go with the color option if we can come up with a user experience that helps address the issues I shared in the first two options above. |
|
Emojis are particularly difficult to render on terminal reliably. Especially the width of emojis can be different on different terminals, but do not use those in TUI applications. |
|
Oh, I see. Then let's scratch the emoji idea. What do you think about the color dilemma? |
|
Lets try those 3 colors solutions. |
|
Sounds good, I'll give it a shot. Probably be Monday my time. |
a95802f to
567f927
Compare
|
@antonmedv I tried the 3 colors solution and I actually seem to like this user experience. I can definitely use some help in choosing the right color combination since I'm not very good at it 😅 Demo (edited and re-uploaded the demo after adding keybinding to walk.-.multi-line.selection.with.colors.mov |
|
@antonmedv I've implemented the multi-file deletion. Please take a look when you can, thanks! In the demo, I show the following 3 use-cases:
walk.implement.multi-file.deletion.mov |
|
this looks amazing |
|
Hi @antonmedv wondering if you got a chance to look at the PR.. Let me know if you have any comments/suggestions. Thanks! |
|
I will take a look after weekend |
|
Hi @antonmedv, just checking if you got a chance to take a look at this PR? |
Feature to allow deletion of multiple files and directories.
Implemented:
Initial Demo:
walk.-.multi-line.selection.mov