mirror of
https://github.com/nextcloud/server.git
synced 2026-10-11 23:51:03 +02:00
This was a feature available to allow transfering all files in one go. It was dropped by acciendent in Nextcloud 34. Bringing back the feature as well as adding e2e tests (regression tests) for the overall ownership transfer. AI assisted for the tests part: Assisted-by: ClaudeCode:claude-opus-5 Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
18 lines
579 B
TypeScript
18 lines
579 B
TypeScript
/*
|
|
* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
import { FilePickerDialogPage } from './FilePickerDialogPage.ts'
|
|
|
|
/**
|
|
* The file-picker dialog opened by the "Custom background" card/button on
|
|
* Personal settings > Appearance and accessibility > Background and color
|
|
*/
|
|
export class BackgroundFilePickerDialogPage extends FilePickerDialogPage {
|
|
/** Confirm the current selection as the new background. */
|
|
override async confirm(): Promise<void> {
|
|
await super.confirm('Select background')
|
|
}
|
|
}
|