Currently, annotations only have a single attribute (the label), which is assigned on creation and cannot be edited.
There should be user interface logic that allows to edit an existing annotation. The easiest way is probably to do this in the context menu that is already used to delete an annotation; if the edit elements should appear in the sidebar, we need to introduce the concept of a selected/highlighted annotation.
Once that functionality is implemented, it should be trivial to add a color attribute to annotations.
Currently, annotations only have a single attribute (the label), which is assigned on creation and cannot be edited.
There should be user interface logic that allows to edit an existing annotation. The easiest way is probably to do this in the context menu that is already used to delete an annotation; if the edit elements should appear in the sidebar, we need to introduce the concept of a selected/highlighted annotation.
Once that functionality is implemented, it should be trivial to add a color attribute to annotations.