Linking parent-child statuses

Feature introduced in Lute 3.1.0.

With "linked parent-child statuses", so that you can update whole families of terms at once.

For example, if you're studying Spanish, you have the verb "comer" and all of its conjugations: como, comes, come, ... (comí, comías, comíamos, ... (comiera, comieras, comiéramos ... etc!!)). At a certain point in your learning, these all merge into a single unit in your mind, perhaps with one or two exceptions, so you can link statuses to simplify updates and help organize your knowledge.

Linking statuses

The Term form has a "Link to parent" checkbox. It is disabled for Terms that have zero or multiple parents:

image

If you add a single parent to a Term, the "Link to parent" checkbox is enabled and checked by default. If the parent exists and has a status, the child inherits the status of its parent:

image

Note: the parent term does not have a "link children" checkbox, the linking is all handled by the children.

Updating the status while reading

Once the Term with linked status is saved, updating the child status propagates to the parent, and vice-versa. For example, during reading, if I hit the "4" hotkey to update the status of "como", the parent "comer" is also updated:

image

If other terms also had their statuses linked to that same parent, they would get updated as well. Everything is tracked together, as a single unit.

You don't have to link all children to their parent, of course. Some verb forms may be more difficult than others. For example, in Spanish, the present tense is usually learned quite early -- "yo como" (I eat) is the present tense of "comer" (to eat) -- but different tenses might be more difficult -- "comiera" is a more advanced form of "comer" (it's the subjunctive). So you might choose to not link the "comiera" term's status to its parent:

image

Then updates to the parent term would only propagate to child terms that have linked statuses:

image

Status can only be linked for single-parent Terms

If you add more than one parent, the "link status" checkbox is unchecked and deactivated, because Lute can't tell which parent this term should follow:

image

Bulk linking of parents and children

If you've been using Lute prior to v3.1.0, you might have a bunch of terms and parents, and may want to do a bulk update. Lute currently doesn't have a "web only" form to bulk update your existing data, but you can achieve the same effect with the CSV export and import as a workaround.

First, from the home screen menu, choose "Terms" to see a listing of terms. Set the filters as you wish, such as a Language filter, and then click "Export CSV":

image

Edit that CSV file (for example using Google sheets), putting "y" the "link_status" column for the terms that you want to link to their parents:

image

Save that CSV file, and import it into Lute using "Import Terms" from the menu. Select "Update existing terms" so that your terms will be updated:

image

You may have to adjust the statuses again as you read, but when you do the entire "term family" will be updated.