Open kvesik opened 10 months ago
@stannam there's a lot of somewhat convoluted relationships between the anchor module dialogs and the relation module dialog, since both unfortunately need to refer to each other. Let me know if you need any help detangling the web of mystery! :)
Currently, the way intended way for SLPAA to number modules (of any individual type: location, hand config, etc) is to simply assign them sequentially. When a new module is added, it gets assigned the next available number. If a module is deleted, all the modules that were numbered higher get demoted one, so there's no "empty" (unassigned) number.
However, one of our transcription coders has pointed out that there is a particular set of conditions under which a number gets skipped. There doesn't seem to be any detriment to any of the other functionality (yet), but it's possible that the apparent "skipping" actually involves assigning numbers to two copies of the module but only displaying one, which could potentially affect future search functionality.
To reproduce:
Click "Add movement module" or "Add location module" from the Sign menu panel on the main screen.
Fill in at least the timing and hand information, so that the "Save and add associated Relation module" button is enabled.
Click the "Save and add associated Relation module" button.
Add whatever information you like to the Relation module (though you don't have to actually add any at all since it already has timing, X and Y pre-filled).
Click "Save and close" on the Relation module.
Click "Save and close" (or "Save and add another") on the anchor (location or movement) module.
Once you return to the main screen, you'll see that the anchor module you added is numbered one higher than expected. For example, here rather than H1.Mov1 I have H1.Mov2.
Related info: