Skip to content

Feat/move copy list#8050

Open
SadeqRouhani wants to merge 2 commits into
nextcloud:mainfrom
SadeqRouhani:feat/move-copy-list
Open

Feat/move copy list#8050
SadeqRouhani wants to merge 2 commits into
nextcloud:mainfrom
SadeqRouhani:feat/move-copy-list

Conversation

@SadeqRouhani

Copy link
Copy Markdown
Contributor
  • Resolves: #
  • Target version: main

Summary

TODO

  • ...

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Tests (unit, integration, api and/or acceptance) are included
  • Documentation (manuals or wiki) has been updated or is not required

Add a 'Move/copy list' action to the list (stack) header menu that opens
a dialog for picking a target board, mirroring the existing move/copy
card feature.

Backend: StackService gains move() and cloneStack(), exposed through
StackOcsController as PUT /stacks/{stackId}/move and POST
/stacks/{stackId}/clone.

- Move keeps the stack's identity, so its cards retain their comments,
  attachments and activity history; board-specific labels assigned to
  the cards are remapped onto the target board by title (creating
  missing ones when the user may manage it), as a cross-board card move
  already does.
- Copy deep-clones the list and its cards through CardService::cloneCard,
  which remaps labels and re-assigns users on the target board.

Frontend: StackApi/store gain moveStack and cloneStack actions and a new
StackMoveDialog with a board selector and Move/Copy buttons. Only boards
the user can manage are offered as targets.

Includes unit tests for move(), the same-board no-op and cloneStack().

Signed-off-by: sadegh <sa.rohani72@gmail.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Display an indeterminate progress bar in the move/copy dialog while the
request is running, and let the stack create activity event fall back to
the default actor instead of passing the user id explicitly.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: sadegh <sa.rohani72@gmail.com>
@SadeqRouhani SadeqRouhani force-pushed the feat/move-copy-list branch from c0964a2 to eecf8c1 Compare June 11, 2026 05:47
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.

1 participant