« 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
12 daysdata: withResolvedAnnotatedReferenceList: drop date input(quasar) nebula
12 daysdata: Artwork.dimensions(quasar) nebula
12 daysdata: annotatedReferenceList, etc: default date to null(quasar) nebula
We probably can just remove the date altogether, but this change is external only, not logical.
12 daysdata: withConstitutedArtwork: don't pass find through(quasar) nebula
The whole point of constituting artworks in advance is so that they exist with a stable identity having been collected into artworkData during save() from various data loading steps. (The new data check reportOrphanedArtworks confirms this at runtime.) We already included artworkData in linkWIkiDataSpec for exactly this purpose, so just drop the 'find' dependency and transfer here. As a result, constitutibleArtworkList has no dependencies of its own, and dependencies on coverArtworks, trackArtworks, etc come only from earlier steps, i.e. deciding whether or not to constitute an artwork in the first place.
12 daysdata: constitutibleArtworkList.fromYAMLFieldSpec(quasar) nebula
Also file extension property passing.
12 daysdata: Artwork, constitutibleArtwork, etc(quasar) nebula
Not used in content yet.
12 daysdata, content: always fallback coverArtDate to date(quasar) nebula
2025-01-11data: soupy reverse(quasar) nebula
2025-01-11data: misc eslint unused var fixes(quasar) nebula
2025-01-11data: general withReverse{*}List logic tidying(quasar) nebula
2025-01-11data: withReverseReferenceList: use withPropertyFromList(quasar) nebula
2025-01-11data: use soupyFind everywhere(quasar) nebula
also notes where remaining directly-provided wikiData() props are used
2025-01-11data: inputSoupyFind.input()(quasar) nebula
occasionally we use a soupyFind.input() from #composite/wiki-data code, so this exposes a no-dependency frontend for that token
2025-01-10data: annotatedReferenceList: gobble + tolerate null data(quasar) nebula
2025-01-10data: singleReference: gobble + tolerate null data(quasar) nebula
2025-01-10data: referenceList: gobble(quasar) nebula
2025-01-10data: inputSoupyFind, gobbleSoupyFind(quasar) nebula
2025-01-10data: withResolvedReferenceList: tolerate null data nicely(quasar) nebula
2025-01-10data: inputWikiData: generally accept leaving unspecified(quasar) nebula
2025-01-10data: withResolvedReferenceList: use withMappedList(quasar) nebula
2025-01-09data: withResolvedContribs: fix bad availability filter(quasar) nebula
Was based on contrib.thing, which is always present. These steps are meant to filter based on the availability of each contribution's artist, since that's a forward reference that may be unavailable in given artistData. Introduced alongside raiseResolvedReferenceList in commit 65ff7444 (i.e. 11/16/2024).
2025-01-03data: with{Resolved,Reverse}AnnotatedReferenceList: dates(quasar) nebula
2024-12-25data: amorphize reverse annotated reference lists(quasar) nebula
2024-12-25data: withReverseList_template: additionalInputs(quasar) nebula
2024-12-25data: amorphize annotated reference lists(quasar) nebula
2024-11-19data: withReversList_template: allow mixed types(quasar) nebula
2024-11-17data: raiseResolvedReferenceList: remove raiseOutputAbove misref(quasar) nebula
Because raiseResolvedReferenceList is the last step in compositions which use it - it always raises the desired conclusion - it doesn't actually need to use raiseOutputAbove.
2024-11-17data: reverseAnnotatedReferenceList(quasar) nebula
2024-11-17data: withResolvedAnnotatedReferenceList: availability checks(quasar) nebula
2024-11-17data: withReverseContributionList: use withPropertyFromList(quasar) nebula
2024-11-17data: withResolvedArtworkReferenceList -> ...Annotated(quasar) nebula
2024-11-17data: raiseResolvedReferenceList(quasar) nebula
This commit also implements raiseResolvedReferenceList across the compositions which have a notFoundMode input. This causes no semantic changes at all, except that notFoundMode is no longer ignored(!!) in withResolvedContribs.
2024-11-17data: factor out inputNotFoundMode(quasar) nebula
2024-11-15data: Referenced Artworks(quasar) nebula
2024-11-14data: Track.suffixDirectory, Album.directorySuffix(quasar) nebula
2024-11-14data: withDirectoryFromName: move to helpers(quasar) nebula
Also remove the more-composable default behavior of using the current thing's name, because this is no longer meant to be composed generally.
2024-11-14data: annotated artwork references(quasar) nebula
Not used on-site, but this is all coded internally.
2024-11-02data: series list showAlbumArtists(quasar) nebula
2024-11-02data: seriesList: expose group(quasar) nebula
2024-11-02data: withResolvedSeriesList: empty if null(quasar) nebula
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