Skip to content

refactor(files_external): migrate to script-setup and Vue 3 - #57237

Merged
susnux merged 12 commits into
masterfrom
refactor/files-external-vue3-ts
Jan 13, 2026
Merged

refactor(files_external): migrate to script-setup and Vue 3#57237
susnux merged 12 commits into
masterfrom
refactor/files-external-vue3-ts

Conversation

@susnux

@susnuxsusnux commented Dec 23, 2025

Copy link
Copy Markdown
Contributor

Summary

Migrate to script-setup where possible, add some missing doc strings and use Vue 3 for the few components.

Checklist

@susnuxsusnux added this to the Nextcloud 33 milestone Dec 23, 2025
@susnuxsusnux added the 3. to review Waiting for reviews label Dec 23, 2025
@susnux
susnux requested review from a team and skjnldsv as code ownersDecember 23, 2025 19:10
@susnux
susnux requested a review from a team as a code ownerDecember 23, 2025 19:10
@susnuxsusnux added technical debt 🧱 🤔🚀 ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) labels Dec 23, 2025
@susnux
susnux requested review from come-nc, nfebe, provokateurin and sorbaugh and removed request for a teamDecember 23, 2025 19:10
@susnuxsusnux mentioned this pull request Dec 23, 2025
32 tasks
@susnux
susnuxforce-pushed the refactor/files-external-vue3-ts branch from 11227a3 to 25a0d78CompareDecember 23, 2025 19:13
@come-nc
come-nc removed their request for review January 6, 2026 13:01
@nextcloud-botnextcloud-bot mentioned this pull request Jan 7, 2026

@CarlSchwanCarlSchwan left a comment

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.

Nice :)

@susnux
susnux requested a review from szaimenJanuary 7, 2026 21:26

@szaimenszaimen left a comment

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.

🐘

@nextcloud-botnextcloud-bot mentioned this pull request Jan 9, 2026
@susnux
susnuxforce-pushed the refactor/files-external-vue3-ts branch 5 times, most recently from d26c076 to d13f2feCompareJanuary 12, 2026 14:14
@susnuxsusnux mentioned this pull request Jan 12, 2026
36 tasks
@susnux
susnuxforce-pushed the refactor/files-external-vue3-ts branch from d13f2fe to f7e6c72CompareJanuary 13, 2026 00:27
@susnux

Copy link
Copy Markdown
ContributorAuthor

/compile rebase

susnuxand others added 12 commits January 13, 2026 01:30
…nd Vue 3
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
…educe duplicated code between admin and user settings
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Prevent HTTP 500 errors where a 400 would be the correct response
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Template parameters are migrated to initial state, common state between admin and user settings is shared in the CommonSettingsTrait.
The template is cleaned and replaced with only a stub for the Vue mount.
Code only used for the frontend of the settings is moved from the MountConfig to the CommonSettingsTrait (the missing dependency messages).
On the frontend a wrapper view is created that currently holds the global credentials settings and the external storages settings.
- The global credentials sections is now a stand-alone sections - fully implemented.
- The external storages section holds the table + user config + warnings on missing dependencies
The legacy UI is temporarly renamed but will be removed in a following commit.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@nextcloud-command
nextcloud-commandforce-pushed the refactor/files-external-vue3-ts branch from f7e6c72 to 31957adCompareJanuary 13, 2026 01:33
@susnux
susnux merged commit 08d4ccb into masterJan 13, 2026
212 of 217 checks passed
@susnux
susnux deleted the refactor/files-external-vue3-ts branch January 13, 2026 02:04
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsfeature: external storage♻️ refactorRefactor code (not a bug fix, not a feature just refactoring)technical debt🧱 🤔🚀

Projects

None yet

4 participants

@susnux@CarlSchwan@szaimen@nextcloud-command