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

tracking issue for reports #191

Open
1 of 8 tasks
hawkrives opened this issue Jan 8, 2021 · 2 comments
Open
1 of 8 tasks

tracking issue for reports #191

hawkrives opened this issue Jan 8, 2021 · 2 comments
Assignees

Comments

@hawkrives
Copy link
Contributor

  • add tallies to the end of the spreadsheet view rows
  • merge identical catalog years
  • sort tables by last name
  • add more colors (for other statuses) to the spreadsheets
    • re-use colors from DP
    • in-progress, future, partial, etc.
  • rename 2 ≥ 4 to "2 remaining", 3 ≥ 4 to "1 remaining" (in-progress!)
  • split query columns into "status", "completed", and "in-progress" items

example:

Status Completed In-Progress
✓ 3 == 3 GERM 232A 2017-3; GERM 147 2018-1 EDUC 346 2020-1

filters:

  • class year
  • classification
  • missing requirement
  • maybe catalog year as well???
@hawkrives hawkrives self-assigned this Jan 8, 2021
@hawkrives
Copy link
Contributor Author

Determine "sequence" requirements:

  • If .type is count, and .count is 1, and all(x.type is count and x.count is all for x in items)

Then we call it a "sequence", and render enough columns for the longest sequence option.

@hawkrives
Copy link
Contributor Author

hawkrives commented Jan 8, 2021

Restructure formatter output as a custom struct, instead of (str, str) tuple:

Record {
  title: String
  subtitle: Option(string)
  status: DpStatus { Done, Waived, NeedsMoreItems, DoneThisTerm, DoneFuture, Empty, Exception }
  cells: Vec<Cell>
}

enum Cell {
  Text(String),
  DoneCourses(Vec<Course>),
  InProgressCourses(Vec<Course>),
}

Then we'd emit

Record {
    title: "req 1"
    subtitle: "status"
    status: .NeedsMoreItems
    cells: vec![
      .Text("1 remaining"),
      .DoneCourses(done_courses),
      .InProgressCourses(ip_courses),
    ]
}

Which would make this table:

-- -- --
req 1
Status Completed In-Progress
1 remaining A
B
C
D

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

No branches or pull requests

1 participant