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

Build ResourcePost Modal #212

Open
1 of 6 tasks
4-Leafs-Code opened this issue Jan 8, 2023 · 4 comments
Open
1 of 6 tasks

Build ResourcePost Modal #212

4-Leafs-Code opened this issue Jan 8, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@4-Leafs-Code
Copy link
Member

4-Leafs-Code commented Jan 8, 2023

image

Above you will see the figma for the Resources post modal. WHen a user clicks on the post resource button on the resources page this modal will display. If you would like to work on this issue please comment below and someone from Fearless Tech will assign you. If you can not complete the check list, please do what you can and I will make a new issue for the rest. Thank you for your help.
  • The resource should be saved in the firebase database per user.
  • If the user is viewing their own resource post they should see edit buttons for each section.
  • User should be able to add a organizations image.
  • If the user is viewing someone else's resource post modal the edit buttons should be hidden.
  • The resource boxes should use the resources.json for the names of each resource the user selects. When the user selects a type of resource, the next level of options should appear until there is not anymore options. The user can choose as many boxes per section as they like.
  • The user should be able to edit their resource post as needed and firebase should update with the corrected post
@4-Leafs-Code 4-Leafs-Code added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jan 8, 2023
@ShashwatAgrawal20 ShashwatAgrawal20 self-assigned this Jan 20, 2023
@4-Leafs-Code
Copy link
Member Author

Thank you Sash. I've got this modal already started. I could not figure out the resources.json trick but I made a work around that will serve the same purpose while we focus on building and smaller functionality problems. I have not wrote the firebase code to save the users choices of the checkboxes. If you decide to write it, please keep in mind I will need to use that same code to save the a users profile checkbox choices. I was thinking these should be a saved as identical list collections with one attached to the resource post and one attached to a users profile. I'm thinking it would look very similar to the likes or comments on the post.

Also the firebase collection should record the time that the post was created or edited. This modal is the most important feature of this entire build because of these check boxes cross-referencing with profiles for a user to be notified of a resource they need but also the time stamp on these resource post will be used to keep track of the age of a resource and after 3-6 months the poster will receive a notification to update the post within 7 days or the resource will be deleted from the database.

but again I'm more concerned with building then finishing touches so don't worry about the json or the timer right now just be mindful of these changes in the future. We just need modal saving post so we can them upload them to the resource page and we can start debugging.

@4-Leafs-Code
Copy link
Member Author

How are you feeling about this @ShashwatAgrawal20? Do you need any help?

@ShashwatAgrawal20
Copy link
Collaborator

@4-Leafs-Code Just took a break, noticed the 'ResourcePostModal' already exists

@4-Leafs-Code
Copy link
Member Author

Yes, it just needs to be finished. You can change what ever you need to as long as the boxes are displayed.

But it's nice to hear from you again Shash! I hope schools going well. We've had Noah from Edovo join us. If you'd like to catch up, check out our team discussions: https://github.com/orgs/FearlessTech/teams/fearless

and if you need or want to speak with me privately about something: https://github.com/orgs/FearlessTech/teams/chating

I need you to review the FearlessTech README and let me know if you are okay with it. I have it directing to your profile and to your Medium. I was wondering if you wanted to set up a FearlessTech Blog to share all of your articles and other members can share theirs as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants