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

Request other community engagement #1103

Closed
wants to merge 22 commits into from

Conversation

azabeli
Copy link
Contributor

@azabeli azabeli commented Nov 17, 2023

Issue: Create a basic form that a student will fill in to request an experience completed outside of the college. The page should include: the student's name, the name of the position they worked/volunteered for, the total hours they worked/volunteered, the total weeks they worked/volunteered, a description of the work, the term the experience is going to be credited in, and a place to upload a file from a supervisor that verifies the student did work/volunteer the amount they said. It should also have 3 statuses associated with an "Other" engagement.

Fix: We created and rendered the page with the name of the student and a form to fill in other information like the name of the position they worked/volunteered for, total hours they worked/volunteered, the total weeks they worked/volunteered, description of the work, and we also created a place to upload a file from a supervisor that verifies the student did work/volunteer the number of hours they mentioned.

Test: load the following route to see the page: /cceMinor/username/requestOtherCommunityEngagement
When you load the page, you will see the form on the page where you can fill in the relevant information about the request and other community engagement. and upload the doc file from your supervisor.

resolving issue #990

@azabeli azabeli marked this pull request as ready for review December 4, 2023 21:09
Copy link
Contributor

@gahimbaref gahimbaref left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

  • "Other Credit" could be made a bit more descriptive
  • a user can input anything in the hours field, I think it should be limited to numbers (not letters)
  • company/organization box seems a little out of place
  • Not sure the difference between Activity vs Activity/Service, they are 2 different fields)

pass
user = User.get_by_id(username)
terms = selectSurroundingTerms(g.current_term)
# filepaths = handleFileSelection()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove unused code

@gahimbaref
Copy link
Contributor

image

It says page not found after submitting the form Send Other Request

@andersoncedu
Copy link
Contributor

image

There might be a problem here.

Copy link

View Code Coverage

from app.models import *
from app.models.term import Term

class OtherExperience(baseModel):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add 'CCE' to the name somewhere

term = ForeignKeyField(Term)
hours = IntegerField()
weeks = IntegerField()
service = CharField()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'description' is probably a better name for this, and matches what you have in the UI

@AndersonStettner AndersonStettner marked this pull request as draft January 17, 2024 14:42
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

Successfully merging this pull request may close these issues.

6 participants