Skip to content
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

fix(files): apply the renaming when leaving the input field #44819

Merged
merged 1 commit into from
May 2, 2024

Conversation

raphj
Copy link

@raphj raphj commented Apr 14, 2024

Summary

With this change, clicking outside during rename behaves as in any other file manager and applies the rename instead of discarding it

TODO

  • The Nextcloud team to check that the change is indeed wanted

Checklist

@raphj raphj requested a review from skjnldsv as a code owner April 14, 2024 08:22
@szaimen szaimen added enhancement design Design, UI, UX, etc. 3. to review Waiting for reviews labels Apr 15, 2024
@szaimen szaimen added this to the Nextcloud 30 milestone Apr 15, 2024
@szaimen szaimen requested review from jancborchardt, marcoambrosini, nimishavijay, a team, szaimen and emoral435 and removed request for a team April 15, 2024 14:05
Copy link
Member

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds ok to me. Additionally I think we need a simple "checkmark" icon-only button on the right inside the rename input field so people can decidedly confirm via a mouse click and not be confused about how to confirm.

@raphj
Copy link
Author

raphj commented Apr 15, 2024

Sounds ok to me. Additionally I think we need a simple "checkmark" icon-only button on the right inside the rename input field so people can decidedly confirm via a mouse click and not be confused about how to confirm.

Yep, and it occurred to me that in the same vein, we may want to have a "cross" icon-only button on the right side inside the rename input field to decidedly cancel the rename. WDYT?

This should be done in a separate PR, right?

@emoral435
Copy link
Contributor

emoral435 commented Apr 15, 2024

This should be done in a separate PR, right?

Yes, I think that that this should be a separate PR, with its own associated issue :)

As far as this PR goes, I havent tested it locally, but this makes sense to me, and if design team thinks this is a good change, then LGTM!

@raphj
Copy link
Author

raphj commented Apr 15, 2024

with its own associated issue :)

See #44832

@emoral435
Copy link
Contributor

aha, seems like I was a bit too late to the draw for the issue xD i'll close mine!

Copy link
Contributor

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

@jancborchardt
Copy link
Member

This could use another designer/frontender review for correctness. :)
@marcoambrosini @szaimen

@szaimen szaimen requested review from a team and nfebe and removed request for a team April 29, 2024 10:38
Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is fine. Also already got a +1 from a frontender :)

@szaimen
Copy link
Contributor

szaimen commented Apr 29, 2024

/compile

@szaimen
Copy link
Contributor

szaimen commented Apr 29, 2024

/compile

@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels May 2, 2024
@skjnldsv skjnldsv merged commit 321900d into nextcloud:master May 2, 2024
94 of 101 checks passed
@blizzz blizzz mentioned this pull request Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish design Design, UI, UX, etc. enhancement feedback-requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Validate renaming by clicking outside the name
5 participants