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

US 23 - Adding new Resources #165

Closed
kasthurie opened this issue Jan 27, 2020 · 6 comments · Fixed by #178
Closed

US 23 - Adding new Resources #165

kasthurie opened this issue Jan 27, 2020 · 6 comments · Fixed by #178
Assignees
Labels
back-end front-end resources Student resources page Signed Off Stakeholder Sign Off user story
Milestone

Comments

@kasthurie
Copy link
Collaborator

kasthurie commented Jan 27, 2020

As a student, I would like to be able to add new resources by myself to my account resource page.

Points: 8
Priority: Medium
Risk: Low

@jaslatendresse
Copy link
Collaborator

Adding a new resource from the resource page. Maybe this will be done from the page we select the education level. Still to be decided.

Capture d’écran, le 2020-02-01 à 15 14 14

Modal window appears upon pressing "Add a resource" where the tutor will fill in the form containing information about the resource they want to add.

Capture d’écran, le 2020-02-01 à 15 15 02

@jaslatendresse
Copy link
Collaborator

jaslatendresse commented Feb 1, 2020

Tasks:

  • Add resource model, controller and routes to backend

  • Add resource link to tutor side bar

  • Check if tutor is logged in in the resource levels page

  • Conditional rendering of the "add a resource" component

  • Create modal window opening upon clicking the add a resource component

  • Create form

  • Save form data to backend

  • Display resources by fetching them from db instead of hardcoded

  • Create drop down components for education level and category user input

  • Add function to "get" the selected index from the drop down menu and show the user which option is selected

  • Add default image to handle case where an image link is not provided or is unavailable

  • Make it pretty

  • Add form validation to make sure no field is empty

  • clean backend from test inputs so we don't have random resources

  • Reset input values upon adding resource successfully and close modal window

  • Make image field not required, but let user know that it should be a valid URL, otherwise, a default image will be provided

  • Acceptance tests

cynthiac3 added a commit that referenced this issue Feb 1, 2020
…d duplicate Title.js component for cleanup
@cynthiac3 cynthiac3 changed the title US 23- Adding new Ressources US 23- Adding new Resources Feb 1, 2020
jaslatendresse added a commit that referenced this issue Feb 1, 2020
jaslatendresse added a commit that referenced this issue Feb 1, 2020
cynthiac3 added a commit that referenced this issue Feb 2, 2020
jaslatendresse added a commit that referenced this issue Feb 3, 2020
@jaslatendresse
Copy link
Collaborator

74076294-33959180-49e5-11ea-93be-fa4e868267f4

@compgirl123 compgirl123 changed the title US 23- Adding new Resources US 23 - Adding new Resources Feb 8, 2020
@cynthiac3 cynthiac3 reopened this Feb 9, 2020
@TheMo28
Copy link
Collaborator

TheMo28 commented Feb 10, 2020

Very nice feature. Signing off.

-Mo Alawami

@sublime87
Copy link
Collaborator

this feature will definitely improve interactions from users

signing off

ross hodess

@poojap12
Copy link
Collaborator

Really good idea. Signing off.

-Pooja Patel

@compgirl123 compgirl123 added the Signed Off Stakeholder Sign Off label Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-end front-end resources Student resources page Signed Off Stakeholder Sign Off user story
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants