« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/composite/wiki-data/withReverseReferenceList.js
AgeCommit message (Collapse)Author
2024-05-01data: withReverse{Reference,Contribution}List: better exiting(quasar) nebula
An existing test for withAlbum (which is semi-newly based on withUniqueReferencingThing, and thus withReverseReferenceList) indicates that if we just can't *find* the album in a provided data array, that's not an exit condition. This commit adapts withReverseReferencingList to respect that when the data list is empty. (Treating an empty array as the same thing as an array that isn't provided at all - the existing behavior - is really just a bug!)
2024-01-17data: withReverseReferenceList: mirror withReverseContributionList(quasar) nebula
2023-10-01data: misc. composite fixes track-data-cleanup(quasar) nebula
2023-10-01data, test: refactor utilities into own file(quasar) nebula
Primarily for more precies test coverage mapping, but also to make navigation a bit easier and consolidate complex functions with lots of imports out of the same space as other, more simple or otherwise specialized files.