Skip to content

fix(files): drop usage of FileInfoModel - #54337

Merged
skjnldsv merged 2 commits into
masterfrom
fix/legacyView
Aug 11, 2025
Merged

fix(files): drop usage of FileInfoModel#54337
skjnldsv merged 2 commits into
masterfrom
fix/legacyView

Conversation

@skjnldsv

Copy link
Copy Markdown
Member

Summary

OCA.Files.FileInfoModel have been removed since 31

The only place I could find a usage of `registerSecondaryView is in talk, and they're not even using the fileInfo here
https://github.com/nextcloud/spreed/blob/d01c35b1de3783f3ba45fef6eb90a6015a9b58b0/src/mainFilesSidebarLoader.js#L40
https://github.com/nextcloud/spreed/blob/e3d5161cf76260624d9cbae19fe043adc95de691/src/FilesSidebarCallViewApp.vue#L160-L161

I think we can safely remove it.
This is not an official API anyway, this was just a countermeasure when we were still trying to draft a proper Sidebar API
Should be cleared with the new Sidebar at some point

@skjnldsvskjnldsv added this to the Nextcloud 32 milestone Aug 8, 2025
@skjnldsvskjnldsv self-assigned this Aug 8, 2025
@skjnldsv
skjnldsv requested a review from a team as a code ownerAugust 8, 2025 13:13
@skjnldsv
skjnldsv requested review from nfebe, sorbaugh and susnux and removed request for a teamAugust 8, 2025 13:13
@skjnldsvskjnldsv added bug 3. to review Waiting for reviews technical debt 🧱 🤔🚀 labels Aug 8, 2025
@skjnldsv

skjnldsv commented Aug 8, 2025

Copy link
Copy Markdown
MemberAuthor

/backport c100369 to stable31

Comment threadapps/files/src/components/LegacyView.vue
@susnux

Copy link
Copy Markdown
Contributor

/compile rebase

skjnldsvand others added 2 commits August 10, 2025 17:43
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@nextcloud-command
nextcloud-command requested a review from a team as a code ownerAugust 10, 2025 17:47
@skjnldsv
skjnldsv enabled auto-merge August 11, 2025 08:13
@skjnldsvskjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Aug 11, 2025
@skjnldsv
skjnldsv merged commit a5139f9 into masterAug 11, 2025
133 of 135 checks passed
@skjnldsv
skjnldsv deleted the fix/legacyView branch August 11, 2025 08:22
@skjnldsvskjnldsv mentioned this pull request Aug 19, 2025
@skjnldsvskjnldsv removed this from the Nextcloud 32 milestone Sep 28, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishbugtechnical debt🧱 🤔🚀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@skjnldsv@susnux@sorbaugh@nextcloud-command