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

Courses Report #8268

Draft
wants to merge 20 commits into
base: master
Choose a base branch
from
Draft

Courses Report #8268

wants to merge 20 commits into from

Conversation

jrjohnson
Copy link
Member

@jrjohnson jrjohnson commented Dec 13, 2024

Adding a new type of report. This first one is to fetch all the session objectives from multiple courses.

WIP:

  • validate report data and format
  • re-do the course chooser, instead of search it should be presented as a list (School -> Year -> Checkboxes)
  • Tests! (I've punted on tests until we finalized the UX)
  • Fix picker UI, what should show up when creating something new, can two new things be created at the same time, when something is being created should the menu still appear, etc...

@michaelchadwick
Copy link
Contributor

Should I be able to add both a Subject and Course new report form widget at the same time?
Screenshot 2024-12-13 at 3 47 24 PM

@jrjohnson
Copy link
Member Author

Thanks for catching that @michaelchadwick, I'd forgotten to put that in my todo notes. Got it now!

Switched from expand collapse to the same type of dropdown picker we
have in other places in the app. User chooses what type of report they'd
like to add and then adds it.

Courses report super blank right now.
Pick courses to report on and display them.
Pull all the data from the GraphQL API for all of these selected courses
and put a summary on the screen.

There are some guesses here. I've selected the first offering of ILM to
determine start date, for example. Will have to test the output and see
if it's correct.
This component was getting pretty huge, let's split the results out into
another container.
I wasn't understanding this report. Instead each session objective gets
a line, that's the focus of the output.
Adding data for instructors, first offering, and duration to the report
and re-doing the query to be course based to fetch all this additional
information efficiently.
Instead of searching for a course all of the schools are listed and you
pick each course you want to report on from that list.
Moving the subject reports and the list into a tree so we can
differentiate the curriculum reports into their own space. This is first
step cleanup to get it working, lost more to add to make it good.
This is the new container, just moving everyone over for now and getting
rid of some old stuff.
It's not a lot of data and takes less than a few seconds to load. By
having it all upfront we avoid loading spinners in the course chooser
and screen jumps in the list of selected courses.
Moving buttons around and putting the results OR the course picker on
the screen.
Moving the action buttons out of their containers so they appear into
the same space when a report is run, even though they're in different
levels of the component tree.
Sort the primary school to the top of the list and fixed the HTML
structure to be a correct list and not an invalid bunch of tags.
Don't bother showing schools we're not offering to report on. Maintains
the fiction that we may have a toggle to show all years at some point,
just in case we add it.
This is a more compact way to display the courses that have been
selected and fits with the filter pattern we use on the calendar.
Putting the data loading and display into a component like we do for
subject reports and now we can choose from a variety of reports (after
we build some).
Too much information before, this more reasonably shows the user they're
getting the right information together.
Reports on all of the learner groups in a course.
This allows the link to server as the store for running a report,
visiting it will give the same result every time.
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.

2 participants