-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Don't reorder files after renaming them #12034
Conversation
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@Spid3rrr the CI automation tests are failing, can you look into this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The feature itself works, but I think there are some little tweaks which may improve code readability
@ferrariofilippo I implemented the code suggestions in the latest commit. I am still figuring out why the automated testing is failing. I believe it may have been testing the previous behavior (renaming a file and trying to locate it at the bottom of the tab ?) but I'm still investigating. |
Update : The recent for the check failing was that the folder/file wasn't being selected after renaming. That should be fixed now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and works for me!
(There's a small thing with code style)
Co-authored-by: Filippo Ferrario <[email protected]>
@Spid3rrr how does this work if the user renames multiple files simultaneously (through an app like PowerToys or File Explorer)? |
Well if the files are re-named through an outside app, Files will just update the view correctly. Since we cannot rename multiple files through Files right now, there shouldn't be an issue. |
This doesn't seem to help, files are still being reordered after renaming them. |
@yaira2 the files renamed are being re-ordered even from this pull request ? |
Yes |
@Spid3rrr I did some more testing and confirmed this PR does work in regular folders, however the issue is still present if you use a grouping option (eg group by date). |
Oh I understand. I will look into it.
…________________________________
From: Yair ***@***.***>
Sent: Monday, May 29, 2023 4:47:06 PM
To: files-community/Files ***@***.***>
Cc: Amine Braham ***@***.***>; Mention ***@***.***>
Subject: Re: [files-community/Files] Feature: Don't reorder files after renaming them (PR #12034)
@Spid3rrr<https://github.com/Spid3rrr> I did some more testing and confirmed this PR does work in regular folders, however the issue is still present if you use a grouping option (eg group by date).
—
Reply to this email directly, view it on GitHub<#12034 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJFACL6OYHDUNM3QIJRYF4DXITAHVANCNFSM6AAAAAAWYKSX5A>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I apologize I haven't had time to look at it yet. I will update this week ! |
This adds the feature that files should not be re-ordered after renaming them.
Resolved / Related Issues
Closes Feature: Don't reorder files after renaming them #4214
Validation
How did you test these changes?
Screenshots (optional)
Add screenshots here.