Skip to content

refactor(PreviewManager): Property promotion and array of classes - #53272

Closed
solracsf wants to merge 1 commit into
masterfrom
prevPropPromarrayClas
Closed

refactor(PreviewManager): Property promotion and array of classes#53272
solracsf wants to merge 1 commit into
masterfrom
prevPropPromarrayClas

Conversation

@solracsf

Copy link
Copy Markdown
Member

Checklist

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
@solracsfsolracsf added feature: previews and thumbnails ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) labels Jun 2, 2025
@solracsfsolracsf added this to the Nextcloud 32 milestone Jun 2, 2025
@solracsf
solracsf marked this pull request as ready for review June 2, 2025 19:29
@solracsf
solracsf requested a review from a team as a code ownerJune 2, 2025 19:29
@solracsf
solracsf requested review from artonge, icewind1991 and provokateurin and removed request for a teamJune 2, 2025 19:29
@solracsfsolracsf self-assigned this Jun 3, 2025
$this->registerCoreProvider(Preview\OpenDocument::class, '/application\/vnd.oasis.opendocument.*/');
$this->registerCoreProvider(Preview\Imaginary::class, Preview\Imaginary::supportedMimeTypes());
$this->registerCoreProvider(Preview\ImaginaryPDF::class, Preview\ImaginaryPDF::supportedMimeTypes());
$mimeTypeConfig = [

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't see how's that better than before?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Agreed, this just adds unnecessary lines of code 🤷‍♀️

This was referenced Aug 22, 2025
This was referenced Sep 2, 2025
@nextcloud-botnextcloud-bot mentioned this pull request Sep 10, 2025
@susnux
susnux deleted the prevPropPromarrayClas branch November 1, 2025 11:28
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: previews and thumbnails♻️ refactorRefactor code (not a bug fix, not a feature just refactoring)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@solracsf@kesselb@provokateurin@skjnldsv