feat: Move infrequent card actions to more actions menu

This commit is contained in:
Maksim Eltyshev
2025-07-22 21:43:55 +02:00
parent df023439c1
commit 6dfb5ba024
29 changed files with 253 additions and 156 deletions
+5
View File
@@ -430,6 +430,7 @@ export function* transferCurrentCard(boardId, listId, index) {
export function* duplicateCard(id, data) {
const localId = yield call(createLocalId);
const { cardId: currentCardId } = yield select(selectors.selectPath);
const { boardId, listId } = yield select(selectors.selectCardById, id);
const index = yield select(selectors.selectCardIndexById, id);
@@ -450,6 +451,10 @@ export function* duplicateCard(id, data) {
}),
);
if (id === currentCardId) {
yield call(goToBoard, boardId);
}
let card;
let cardMemberships;
let cardLabels;