You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Discovery: "Bubble up" errors and warnings from components to the unit page. #69
@ormsbee We'd like to display on the course outline page when there are issues with a component in a [newly-pasted] Unit, such as mis-matched content groups.
For a newly-pasted Unit, it should be fine to just iterate over the contents to scan for issues after pasting, but it would be nice if these sort of errors always "bubbled" up to the outline page, regardless of whether or not the unit was recently pasted. However, I think that would require a very expensive scan over all the blocks in the course to achieve, so is probably not doable. Any thoughts?
Activity
bradenmacdonald commentedon Jun 23, 2023
@ormsbee We'd like to display on the course outline page when there are issues with a component in a [newly-pasted] Unit, such as mis-matched content groups.
For a newly-pasted Unit, it should be fine to just iterate over the contents to scan for issues after pasting, but it would be nice if these sort of errors always "bubbled" up to the outline page, regardless of whether or not the unit was recently pasted. However, I think that would require a very expensive scan over all the blocks in the course to achieve, so is probably not doable. Any thoughts?
ormsbee commentedon Jun 27, 2023
I agree that it's not really feasible with the data as it exists today, at least not for large courses.