Skip to content

create_itemsInLevel does not order annotation items chronologically in JSON files #273

@rpuggaardrode

Description

@rpuggaardrode

When using create_itemsInLevel() to programmatically annotate, annotation items end up being ordered in the JSON files in the order they are added and not the chronological order relative to the sound file. This creates a bug in the webApp, such that can be difficult or impossible to select annotation items.

In my case I have a level of type EVENT. When I use the tab to select the next item, the webApp will select the item that was created next, and not the next item in the sound file. Also the highlighted item is not necessarily the one closest to the cursor, which makes it impossible to change or delete items. I suppose the JSON file should be reordered so that the samplePoints are chronological when using create_itemsInLevel().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions