Skip to content

"Add To Collection" doesn't work when viewing another user's sketch list #2363

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

Closed
lindapaiste opened this issue Aug 7, 2023 · 1 comment · Fixed by #2353 or #2782
Closed

"Add To Collection" doesn't work when viewing another user's sketch list #2363

lindapaiste opened this issue Aug 7, 2023 · 1 comment · Fixed by #2353 or #2782
Assignees
Labels
Bug Error or unexpected behaviors Priority:Medium Moderately important, should be completed in a fair timeframe

Comments

@lindapaiste
Copy link
Collaborator

p5.js version

No response

What is your operating system?

None

Web browser and version

No response

Actual Behavior

When I click the "Add to Collection" button from another user's sketches page, I see a list of their collections. Clicking on a collection to add or remove a sketch will give a 403 API error because I do not have permission to modify their collections (good).

image

These are codingtrain's collections, not mine:
image

The p5 user has no collections:
image

Expected Behavior

I should see a list of my collections, and be able to add their sketch to my collection.

Steps to reproduce

Steps:

  1. Go to https://editor.p5js.org/p5/sketches
  2. Click on the 🔻 next to a sketch
  3. Click "Add to collection"
@lindapaiste lindapaiste added the Bug Error or unexpected behaviors label Aug 7, 2023
@lindapaiste lindapaiste self-assigned this Aug 7, 2023
@divyansh-prks
Copy link

i would like to work on this issue

@raclim raclim added the Priority:Medium Moderately important, should be completed in a fair timeframe label Oct 19, 2023
@raclim raclim added this to the Next Release milestone Oct 19, 2023
lindapaiste added a commit that referenced this issue Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Error or unexpected behaviors Priority:Medium Moderately important, should be completed in a fair timeframe
Projects
None yet
3 participants