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

Code snippet is not added to collection #17

Open
mohsenkhosroanjam opened this issue Jan 30, 2025 · 0 comments
Open

Code snippet is not added to collection #17

mohsenkhosroanjam opened this issue Jan 30, 2025 · 0 comments

Comments

@mohsenkhosroanjam
Copy link

mohsenkhosroanjam commented Jan 30, 2025

Description:
As a user, I can add a snippet to a collection.

Actual result:
When I add a snippet to a collection, the snippet will not be added to the collection.

Expected result:
When the user adds a snippet to a collection, the snippet should be added to the collection.

Steps to reproduce:
There are two flows to add a snippet to a collection:
Flow1:
1- Go to https://codecandy.suraniharsh.codes/collections and create a collection
2- Then, go to https://codecandy.suraniharsh.codes/
3- Click on "New Snippet" button
4- While you are creating the snippet, choose your collection
5- Click on "Create Snippet" button
6- Then, go to https://codecandy.suraniharsh.codes/collections and click on your collection
You can see that the snippet that you have created and added to the collection is not there.

Flow2:
1- Go to https://codecandy.suraniharsh.codes/collections and create a collection
2- Click on your collection and then click on "Add your first snippet"
3- Create a snippet using the form
After you have done the above steps, the snippet will not be added to the collection. There is no button to make this snippet your favorite one.

Screenshots:
Flow 1:

Image **************************************************************************************************

Flow 2:

Image
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

No branches or pull requests

1 participant