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): cancel renaming on enter if no file name changes #49693

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

skjnldsv
Copy link
Member

@skjnldsv skjnldsv commented Dec 6, 2024

If no changes have been made, pressing enter should also cancel the rename.

  • Test for ESC press
  • Test for Enter press without changes

@skjnldsv skjnldsv added this to the Nextcloud 31 milestone Dec 6, 2024
@skjnldsv skjnldsv requested review from mahibi and a team December 6, 2024 15:19
@skjnldsv skjnldsv self-assigned this Dec 6, 2024
@skjnldsv skjnldsv requested review from artonge, nfebe and szaimen and removed request for a team December 6, 2024 15:19
@skjnldsv
Copy link
Member Author

skjnldsv commented Dec 6, 2024

/backport to stable30

@skjnldsv
Copy link
Member Author

skjnldsv commented Dec 6, 2024

/backport to stable29

@skjnldsv
Copy link
Member Author

skjnldsv commented Dec 6, 2024

Cypress will pass once the compiled assets are commited

@skjnldsv skjnldsv enabled auto-merge December 10, 2024 10:26
@skjnldsv
Copy link
Member Author

/compile rebase /

skjnldsv and others added 2 commits December 10, 2024 10:31
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@skjnldsv skjnldsv merged commit 70346e0 into master Dec 10, 2024
120 checks passed
@skjnldsv skjnldsv deleted the fix/files-rename-esc branch December 10, 2024 10:53
Copy link

backportbot bot commented Dec 10, 2024

The backport to stable30 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable30
git pull origin stable30

# Create the new backport branch
git checkout -b backport/49693/stable30

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 23265177 1ccce41f

# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/49693/stable30

Error: Failed to push branch backport/49693/stable30: fatal: could not read Username for 'https://github.com': No such device or address


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@skjnldsv
Copy link
Member Author

/backport to stable30

@provokateurin
Copy link
Member

I think this broke CI: https://github.com/nextcloud/server/actions/runs/12255492578/job/34190215905?pr=49747

@skjnldsv
Copy link
Member Author

Weird, this passed 🤔

@skjnldsv
Copy link
Member Author

Rebase your PR, seems like it works 🤔

@skjnldsv skjnldsv mentioned this pull request Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants