-
Notifications
You must be signed in to change notification settings - Fork 27
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
jrjohnson
wants to merge
20
commits into
ilios:master
Choose a base branch
from
jrjohnson:courses-report
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Courses Report #8268
+1,246
−245
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks for catching that @michaelchadwick, I'd forgotten to put that in my todo notes. Got it now! |
jrjohnson
force-pushed
the
courses-report
branch
from
January 29, 2025 07:08
d9522e5
to
eed6004
Compare
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.
jrjohnson
force-pushed
the
courses-report
branch
from
February 3, 2025 00:08
eed6004
to
5038802
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adding a new type of report. This first one is to fetch all the session objectives from multiple courses.
WIP: