Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Add tree location and completion_mode to XBlock serialization #49

Merged
merged 4 commits into from
Oct 2, 2023

Conversation

bmtcril
Copy link
Contributor

@bmtcril bmtcril commented Sep 28, 2023

Description:
Adds new fields to the JSON attribute of serialized XBlocks:

  • An indication of where in the course tree a block lives (section / subsection / unit)
  • What the block's completion_mode is

The first is for performance and consistency reasons, we don't to compute this in SQL while a dump is occurring, for instance. The second is so we can calculate which blocks are "completable" but have not yet been completed, for instance on new courses.

@bmtcril bmtcril changed the title Bmtcril/add course tree to blocks Add tree location and completion_mode to XBlock serialization Sep 28, 2023
@bmtcril bmtcril force-pushed the bmtcril/add_course_tree_to_blocks branch from 00efb51 to e9b8075 Compare September 29, 2023 14:16
@Ian2012
Copy link
Contributor

Ian2012 commented Sep 29, 2023

@bmtcril can you bump version?

@bmtcril bmtcril merged commit 6a602b9 into main Oct 2, 2023
9 checks passed
@bmtcril bmtcril deleted the bmtcril/add_course_tree_to_blocks branch October 2, 2023 20:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants