Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Moving selected boards to other pages #193

Open
girafic opened this issue Feb 14, 2025 · 1 comment
Open

bug: Moving selected boards to other pages #193

girafic opened this issue Feb 14, 2025 · 1 comment
Labels
bug Something isn't working managed on taiga This issue has been moved to our project at Taiga.io

Comments

@girafic
Copy link
Contributor

girafic commented Feb 14, 2025

Steps To Reproduce

I'm trying to move selected boards from one page to an other page with:

 const targetPage = await penpot.currentFile?.pages.find(
      (page) => page.id === msg.pageId
    );
  if (!targetPage) return;
  const targetPageRoot = targetPage.root as Board;
  if (selectedShapes.length > 0) {
    for (const shape of selectedShapes) {
      targetPageRoot.appendChild(shape);
    }
  }

But nothing happens, it appends the selected boards to the same page. Is it a bug or intentional?

Expected behavior

Moving selected items to other pages.

Actual behavior

Selected items stay on the same page.

Screenshots or video

No response

Desktop (please complete the following information)

No response

Smartphone (please complete the following information)

No response

Environment (please complete the following information)

No response

Frontend Stack Trace

Backend Stack Trace

Additional context

No response

@girafic girafic added the bug Something isn't working label Feb 14, 2025
@madalenapmelo-kp madalenapmelo-kp added the managed on taiga This issue has been moved to our project at Taiga.io label Feb 19, 2025
@madalenapmelo-kp
Copy link

Hi @girafic,

Thanks for reporting this! We've added this to our backlog on Taiga so that we can look further into it, you can find the details here: https://tree.taiga.io/project/penpot/issue/10264

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working managed on taiga This issue has been moved to our project at Taiga.io
Projects
None yet
Development

No branches or pull requests

2 participants