Skip to content

fix: nextcloud 33 file action api#6297

Merged
vitormattos merged 2 commits intomainfrom
fix/nextcloud-33-file-action-api
Jan 1, 2026
Merged

fix: nextcloud 33 file action api#6297
vitormattos merged 2 commits intomainfrom
fix/nextcloud-33-file-action-api

Conversation

@vitormattos
Copy link
Copy Markdown
Member

No description provided.

- Change enabled() signature from (nodesOrContext) to ({ nodes })
- Update exec() signature from (contextOrNode, view, dir) to ({ nodes })
- Remove Array.isArray() backward compatibility checks
- Extract node from nodes[0] for sidebar opening
- Fixes 'Invalid path undefined' error when clicking menu item

Requires: Nextcloud 33+ (@nextcloud/files >= 4.0.0)
Ref: nextcloud/server@492bdb7010c
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
- Change all method signatures to use destructured context object
- Update title() from (nodesOrContext) to ({ nodes })
- Update exec() from (contextOrNode) to ({ nodes })
- Update iconSvgInline() from (nodesOrContext) to ({ nodes })
- Update enabled() from (nodesOrContext) to ({ nodes })
- Remove all backward compatibility checks and ternary operators

Requires: Nextcloud 33+ (@nextcloud/files >= 4.0.0)
Ref: nextcloud/server@492bdb7010c
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos vitormattos added this to the Next Major (33) milestone Jan 1, 2026
@vitormattos vitormattos self-assigned this Jan 1, 2026
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Jan 1, 2026
@vitormattos vitormattos merged commit a869bb8 into main Jan 1, 2026
59 checks passed
@vitormattos vitormattos deleted the fix/nextcloud-33-file-action-api branch January 1, 2026 18:35
@github-project-automation github-project-automation Bot moved this from 0. Needs triage to 4. to release in Roadmap Jan 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant