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

Simulate grades in academic pathway #95

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from
Draft

Simulate grades in academic pathway #95

wants to merge 2 commits into from

Conversation

fabiodrg
Copy link
Collaborator

This PR is a take to close #64.

Approach:

  • Adds a button near the table to launch a Modal
  • The Modal lists all courses found in the table, the achieved grade (if any), and an input where the user can insert a new grade for simulation. Upon user input, it changes the average achieved in the degree

image
image

Bonus in the implementation:

  • Handle missing courses. The table, as far as I remember, is partial, i.e. it only shows courses subscribed. Thus a student in the second year bachelor won't see the third year courses. We can have an additional input for the unknown courses, allowing the user to estimate the average for the full course
  • Define target. Additionally, there could be an option to type the desired conclusion grade and it would estimate the necessary average grade for unfinished courses

- Parses the data from the 'percurso academico' table
- Constructs the necessary DOM elements: a button near the table to
  launch the modal, and the modal itself. The modal shows a table
listing all courses, the achieved grade (if any), and then an input to
simulate a grade
- Auxiliar methods to calculate the average grade based on user input
@fabiodrg fabiodrg self-assigned this Nov 2, 2021
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.

None yet

1 participant