« 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
AgeCommit message (Collapse)Author
2024-11-02data: Group.serieses(quasar) nebula
2024-09-04data: reverseSingleReferenceList(quasar) nebula
2024-09-04data: withReverseList_template(quasar) nebula
2024-06-26data: withReverse{Contribution,Reference}List: sort by date(quasar) nebula
2024-06-23data: withParsedCommentaryEntries: dateKind, secondDate(quasar) nebula
2024-06-21data: withParsedCommentaryEntries: auto-fill archive capture dates(quasar) nebula
2024-06-21data: withParsedCommentaryEntries: accessDate, accessKind(quasar) nebula
2024-06-18data: Contribution.artistProperty(quasar) nebula
2024-06-18data: withReverse{Reference,Contribution}List: factor commonality(quasar) nebula
This doesn't actually move the common behavior into e.g. devoted component compositions - these two still mirror each other - but it *does* isolate the differing behavior in terms of dependencies that are computed uniquely but surrounded by identical compositional steps. This generally seems like a good fit for compositional subroutines, but those aren't official yet. Meanwhile, this is still factored much better than the previous implementation, and hopefully easier to follow as well!
2024-06-18data: withReverseContributionList: drop 'mode' option(quasar) nebula
2024-06-18data: withContributionListSums: drop debug message(quasar) nebula
This appears to be working just fine! It's only used to compute an artist's total duration, which... is workin', and all that.
2024-06-18data: withCoverArtDate refactor, make Album.coverArtDate updatable(quasar) nebula
2024-06-18data: redate inherited contribution lists(quasar) nebula
2024-06-18data: apply contribution dates when resolving(quasar) nebula
2024-06-18data: withCoverArtDate(quasar) nebula
2024-06-18data: withClonedThings(quasar) nebula
2024-06-18data: withReverseContributionList: mode: contributions(quasar) nebula
2024-06-18data: withContributionListSums, withSum(quasar) nebula
2024-06-18data: withRecontextualizedContributionList(quasar) nebula
2024-06-18data: contribution: thingProperty(quasar) nebula
2024-06-18data: transparent basic Contribution objects(quasar) nebula
2024-05-19data: withDirectory, withDirectoryFromName(quasar) nebula
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-05-01data, yaml: basic who/what -> artist/annotation(quasar) nebula
2024-04-03data: withUniqueReferencingThing(quasar) nebula
2024-02-16data: move sorting & generic functions out of #wiki-data(quasar) nebula
2024-02-14data: detect & report miscapitalization in commentary heading(quasar) nebula
2024-02-06data: withResolvedReference: remove notFoundMode input(quasar) nebula
2024-01-30data: inputThingClass -> isThingClass, use global Thing symbols(quasar) nebula
2024-01-17data: withReverseReferenceList: mirror withReverseContributionList(quasar) nebula
2024-01-17data: withReverseContributionList: cache all results per data array(quasar) nebula
2024-01-17data: stub reverseContributionList(quasar) nebula
2023-12-30validators: set creator meta on typeof, instanceof validators(quasar) nebula
2023-12-03data: withThingsSortedAlphabetically(quasar) nebula
2023-11-18data: withParsedCommentaryEntries: filter out null artists(quasar) nebula
2023-11-17data, yaml, content: support multiple artists per commentary entry(quasar) nebula
2023-11-14data, test: boldfaceArtist -> artistDisplayText(quasar) nebula
2023-11-14data, yaml: catch commentary artist ref errors(quasar) nebula
2023-11-14data, test: withParsedCommentaryEntries(quasar) nebula
2023-11-14data: generic composite dependency comments(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.