-
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
Remove VisualizerProgramYearObjectives render modifiers #8267
base: master
Are you sure you want to change the base?
Remove VisualizerProgramYearObjectives render modifiers #8267
Conversation
const classOfYear = this.intl.t('general.classOf', { year }); | ||
this.programYearName = cohort.title ?? classOfYear; | ||
|
||
this.data = await this.getData(programYear); | ||
this.data = await this.getData(this.programYear); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't time out correctly if the program year isn't already loaded. It could return null. This fix is a bit more complicated, but worth the time:
- Remove the
load
entirely - Create a
TrackedAsyncData
that callsgetData
using the program year. Until program year exists it should return null. - Probably lots of adjustment and cleanup to get that to work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, this one's gonna need more work. Back to the mines...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jrjohnson Any idea why the links to these visualizations only exist on local, but not dev?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@michaelchadwick the visibility of these links is controlled via a feature flag.
for reference, see:
https://github.com/ilios/frontend/blob/master/packages/frontend/app/components/program-year/overview.hbs#L7
Refs ilios/ilios#5374
Two odd things I found: