Skip to content

Conversation

@max-nextcloud
Copy link
Collaborator

No description provided.

@max-nextcloud max-nextcloud force-pushed the chore/split-source-view branch from 8d2577a to 0b8c9b5 Compare December 13, 2025 07:57
@codecov
Copy link

codecov bot commented Dec 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Signed-off-by: Max <max@nextcloud.com>
@max-nextcloud max-nextcloud force-pushed the chore/split-source-view branch from 0b8c9b5 to e169a03 Compare December 15, 2025 15:34
@max-nextcloud max-nextcloud marked this pull request as ready for review December 15, 2025 17:26
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.

Thanks for the refactoring! Out of curiosity, why did you do it? Is it part of a bigger plan? Or just something that caught your eye and cried for a component split? 😊

Code changes look good to me. I didn't test but guess you did. I have two small comments/questions.

resolve(reader.result)
}
})
this.onLoaded()
Copy link
Member

Choose a reason for hiding this comment

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

It seems new that toggleEdit() now calls this.onLoaded() which emits update.loaded. Was this change in behaviour intended?

)
},
/** @return {boolean} */
Copy link
Member

Choose a reason for hiding this comment

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

The annotation already existed before the refactoring, but the return value of readerComponent seems to be rather a Vue component and not a boolean a boolean, right? Maybe a good opportunity to fix (or remove?) the annotation?

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.

3 participants