-
-
Notifications
You must be signed in to change notification settings - Fork 189
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] User Story feature #152
Comments
Could I work on this issue?? |
Under which program are you participating? @Biswajit-Behera |
Under JWOC-2023 |
I am a Mantee in this program. |
Sorry @Biswajit-Behera but coding period hasn't started yet. Please go through and follow the program guidelines. |
Ok will comment on 15th of Feb-2023! |
Can I get assigned to this issue under JWOC ? |
sure, go ahead! |
are you still working on this? please update |
@narayan954 Hello please assign it to me , its not under any event i just want to fix it so please assign to me |
thank you! you can work on this. Feel free to connect in case there's anything I can help with. :) |
Thanks alot sir... |
I would like to work on this issue under GSSOC 23 |
sure go ahead! |
@narayan954 Thank You |
@narayan954 I am created a story section which have backdrop and valid till 24 hours story-dummygram.mp4if you want any other changes, tell me |
Hi Dhruv, in stories we can have pictures/text status or both. Also let them be scroll-able like you see in Instagram. Avatar should contain the users profile picture for now. |
Sorry it's difficult for me... |
Ohhh, it's alright, I understand its difficult... don't take much stress, what can you do out of them? |
I'm created a add to story button but when user added their story it's overlap on posts |
isn't that a problem display property: fixed can solve? or if you want to, create a different route to show stories, like perhaps instagram does. |
Ok, i will try |
@narayan954 |
you'll need to store them in database. Just like posts are stored in database, you can create a stories collection and this segment of our website will be rendered from that storage. Adding a story will store that story on database and it should remain in memory for 24 hours or till a user will delete them. |
you may leave the 24 hours functionality for now, just enable stories to be added to collection like posts |
Ok |
Hey @narayan954 Can I work on this? |
Go ahead! Also, seems like cloud functions for deleting in 24 hours won't be working on a free plan, how do you plan on implementing this? |
Let's try if there is any other way. |
right, I'll check as well. Else, we would've to store em all and show the last 24 hours story and delete older stories manually or as a cron job XD |
No, we will not need to do any such task 😂. I have basically set up a structure for it. Let me tell you, User can add only one story at this point of time(we can work on it later), then, we will store the timestamp of story in user doc. Whenever the profile page get opened we will check whether its been more than 24 hours or not using the timestamp in user doc(This way we will not need to fetch data seperately for story) and if the story is older than 24 hours then we will run a function to delete it from the story collection. |
Yes, this is what I meant by manually, we're manually checking time and deleting the story. But that's okay for now. I just read this comment and had picked some of these issues there as well XD. This should work, for now. |
No worries rather I thank you cause you told so many issues to me. Now, I will go and create issues for all of them and send PR XD. |
lol nice |
Description
Users can create and publish their stories and it should be accessible for 24 hours and then get deleted. Currently there's no public or private profile ,so just normal story should be fine.
Also, stories should consist of images only.
Screenshots
No response
Additional information
Advance to this issue could be the ability to put posts as story, text-based stories(just like the posts), and many more
The text was updated successfully, but these errors were encountered: