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

[FEATURE 💡] Add method to unsave posts #28

Open
warmachine028 opened this issue Oct 2, 2023 · 19 comments
Open

[FEATURE 💡] Add method to unsave posts #28

warmachine028 opened this issue Oct 2, 2023 · 19 comments
Assignees

Comments

@warmachine028
Copy link
Owner

Description:

  • Currently we can only save posts
  • We need to write a query so that we can also unsave posts from a user's profile.
@abdulrehmanjaved-1
Copy link

unsave means posts should be deleted or just make them private.

@warmachine028
Copy link
Owner Author

  • when we save a post it is reflected in the UserProfile
  • the unsave option would remove it from the userProfile
    same feature like, like and unlike

@abdulrehmanjaved-1
Copy link

okay assign me

@warmachine028
Copy link
Owner Author

See if you can work on it, but you will need to work with sanity to create the Query in the backend

@abdulrehmanjaved-1
Copy link

Okay first let me check

@warmachine028
Copy link
Owner Author

@abdulrehmanjaved-1 have you made any progress?

@abdulrehmanjaved-1
Copy link

Hey I had work with sanity long ago. Can you help how to setup sanity server studio in this project.

@warmachine028
Copy link
Owner Author

Yeah, it's not your fault. This repo really needs some documentation first.
I'll see what I can manage for you

@abdulrehmanjaved-1
Copy link

Yea that will help.

@DhruvGahoi
Copy link

@warmachine028 As of now when I clicks on the save post, it just shows saving and never saves the post

@warmachine028
Copy link
Owner Author

Is it not showing in the profile? The saved pin. If not then it's a bug

@DhruvGahoi
Copy link

@warmachine028 no its now showing either in the saved sections.

image
image

@warmachine028
Copy link
Owner Author

Then it's a bug

@DhruvGahoi
Copy link

@warmachine028 should I open a issue with this ??

@warmachine028
Copy link
Owner Author

Please open a new issue

@DhruvGahoi
Copy link

@warmachine028 can you tell me how to setup the server side, so I start working on both of the issues

@warmachine028
Copy link
Owner Author

We have used sanity in the backend. Can you please go through the docs. Will be updating the setup steps soon

@DhruvGahoi
Copy link

@warmachine028 okay I will go through the docs

@warmachine028
Copy link
Owner Author

@warmachine028 can you tell me how to setup the server side, so I start working on both of the issues

Follow this video. Can also refer the repo in the video description

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

3 participants