Skip to content

chore(upgrade): file mixin to composable#8317

Merged
mejo- merged 1 commit intomainfrom
chore/use-file-composable
Mar 9, 2026
Merged

chore(upgrade): file mixin to composable#8317
mejo- merged 1 commit intomainfrom
chore/use-file-composable

Conversation

@max-nextcloud
Copy link
Collaborator

  • Drop unused $file.document.
  • Make file props optional as they might not be injected.
  • Rename lastFilePath to startPath as that is used elsewhere.

Preparation for fixing the OC.Files usage in current main branch

  • but backportable.

* Drop unused `$file.document`.
* Make file props optional as they might not be injected.
* Rename `lastFilePath` to `startPath` as that is used elsewhere.

Signed-off-by: Max <max@nextcloud.com>
@max-nextcloud max-nextcloud force-pushed the chore/use-file-composable branch from f2c11ef to ed55ac9 Compare March 8, 2026 22:34
@codecov
Copy link

codecov bot commented Mar 8, 2026

Codecov Report

❌ Patch coverage is 25.00000% with 9 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/components/Menu/ActionInsertLink.vue 0.00% 3 Missing and 1 partial ⚠️
src/components/Menu/AssistantAction.vue 0.00% 3 Missing ⚠️
src/composables/useFileProps.ts 60.00% 1 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

Copy link
Member

@mejo- mejo- left a comment

Choose a reason for hiding this comment

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

Code changes look good to me, thanks for looking into this!

@mejo- mejo- merged commit 560bf74 into main Mar 9, 2026
60 of 64 checks passed
@mejo- mejo- deleted the chore/use-file-composable branch March 9, 2026 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants