Skip to content

[stable30] fix(files): do nothing if view local dialog was just closed - #53176

Merged
AndyScherzinger merged 2 commits into
stable30from
backport/53171/stable30
Jun 2, 2025
Merged

[stable30] fix(files): do nothing if view local dialog was just closed#53176
AndyScherzinger merged 2 commits into
stable30from
backport/53171/stable30

Conversation

@backportbot

@backportbotbackportbotBot commented May 29, 2025

Copy link
Copy Markdown

Backport of #53171

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Remove all the empty commits

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

@backportbotbackportbotBot added this to the Nextcloud 30.0.12 milestone May 29, 2025
@susnux
susnuxforce-pushed the backport/53171/stable30 branch from 0ec4ea5 to 54d4b25CompareMay 31, 2025 17:08
@susnux
susnux marked this pull request as ready for review May 31, 2025 17:08
@AndyScherzinger
AndyScherzingerforce-pushed the backport/53171/stable30 branch from 54d4b25 to a799981CompareJune 1, 2025 11:46
@AndyScherzinger
AndyScherzingerforce-pushed the backport/53171/stable30 branch 2 times, most recently from a6f23e1 to 233646cCompareJune 1, 2025 17:25
@AndyScherzinger

Copy link
Copy Markdown
Member

/compile

@AndyScherzinger

Copy link
Copy Markdown
Member

@susnux
susnuxforce-pushed the backport/53171/stable30 branch from 8bed54e to 072c0aaCompareJune 2, 2025 14:27
@susnux

Copy link
Copy Markdown
Contributor

@AndyScherzinger should be fixed now, problem is that stable30 still uses Jest so the test needs to be slightly different from Vitest

susnuxand others added 2 commits June 2, 2025 16:56
We try to open a file in the Nextcloud client.
If this fails a dialog is shown with 3 options:
1. Retry: If it fails no further dialog is shown.
2. Open online: The viewer is used to open the file.
3. Close the dialog and nothing happens (abort).
This correctly implements 3 and also adds some comments + order file in
reading order (using `function` instead of arrow functions allows this
easily).
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@susnux
susnuxforce-pushed the backport/53171/stable30 branch from 072c0aa to ed99adbCompareJune 2, 2025 14:56
@AndyScherzinger
AndyScherzinger merged commit 577032c into stable30Jun 2, 2025
@AndyScherzinger
AndyScherzinger deleted the backport/53171/stable30 branch June 2, 2025 16:55
@nextcloud-botnextcloud-bot mentioned this pull request Jun 4, 2025
11 tasks
@nextcloud-botnextcloud-bot mentioned this pull request Sep 18, 2025
@nextcloud-botnextcloud-bot mentioned this pull request Sep 25, 2025
2 tasks
@blizzzblizzz mentioned this pull request Oct 14, 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.

3 participants

@AndyScherzinger@susnux@nextcloud-command