Skip to content

fix(files): cancel renaming on enter if no file name changes - #49693

Merged
skjnldsv merged 2 commits into
masterfrom
fix/files-rename-esc
Dec 10, 2024
Merged

fix(files): cancel renaming on enter if no file name changes#49693
skjnldsv merged 2 commits into
masterfrom
fix/files-rename-esc

Conversation

@skjnldsv

@skjnldsvskjnldsv commented Dec 6, 2024

Copy link
Copy Markdown
Member

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

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

@skjnldsvskjnldsv added this to the Nextcloud 31 milestone Dec 6, 2024
@skjnldsv
skjnldsv requested review from a team and mahibiDecember 6, 2024 15:19
@skjnldsvskjnldsv self-assigned this Dec 6, 2024
@skjnldsv
skjnldsv requested review from artonge, nfebe and szaimen and removed request for a teamDecember 6, 2024 15:19
@skjnldsv

Copy link
Copy Markdown
MemberAuthor

/backport to stable30

@skjnldsv

Copy link
Copy Markdown
MemberAuthor

/backport to stable29

@skjnldsv

Copy link
Copy Markdown
MemberAuthor

Cypress will pass once the compiled assets are commited

@skjnldsv

Copy link
Copy Markdown
MemberAuthor

/compile rebase /

skjnldsvand 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 masterDec 10, 2024
@skjnldsv
skjnldsv deleted the fix/files-rename-esc branch December 10, 2024 10:53
@backportbot

Copy link
Copy Markdown

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
Copy Markdown
MemberAuthor

/backport to stable30

@provokateurin

Copy link
Copy Markdown
Member

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

@skjnldsv

Copy link
Copy Markdown
MemberAuthor

Weird, this passed 🤔

@skjnldsv

Copy link
Copy Markdown
MemberAuthor

Rebase your PR, seems like it works 🤔

@skjnldsvskjnldsv mentioned this pull request Jan 7, 2025
Sign up for freeto 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

@skjnldsv@provokateurin@artonge@nfebe@nextcloud-command