For the implementation of Quality Constraints (T400676) and Lilypond / musical notation (T407247) we need to be able to show informational icons next to snaks (main snaks, qualifiers, and/or references):
Extend the savedStatementsStore so that it is possible to associate flags with icon types to indicate that selected icons should be displayed next to the snak when rendered in the MEX statement view. It might make sense here to refactor the store so that information already associated with snaks (for example the snakValueHtmlForHash) is accessible from a savedSnakStore (similar to the implementation of the editSnakStore in editStatementStore).
Acceptance Criteria
- Icons can be associated with snaks (by placing additional data in the pinia store) and will be displayed in the UI (snakValue.vue) when present
- It suffices for QA purposes to have this only tested by unit tests - the population of the snak store by real information will follow as part of the implementation of the above-mentioned tickets.
- Initial icon support will be limited to the currently-implemented datatypes
