« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)Author
2024-06-18content: generateTrackInfoPage: simpler forward ref list layout(quasar) nebula
2024-06-18content: generateTrackList: blank if no tracks(quasar) nebula
2024-06-18content: generateContentHeading: always onlyIfSiblings(quasar) nebula
2024-06-18html: #stringifyContent: always resolve template items(quasar) nebula
This makes onlyIfSiblings on template content work properly. It should also enable templates which return strings directly to be treated as text for the purposes of chunkwrap, have own blockwrap processed, etc.
2024-06-18html: isBlank: handle onlyIfSIblings template content(quasar) nebula
2024-06-18content: generateTrackInfoPageOtherReleasesList(quasar) nebula
2024-06-18content: generateTrackInfoPage: clone one content heading(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: artist: drop {tracks,albums}as{Artist,Contributor,..etc..}(quasar) nebula
2024-06-18content, page, util: general contributions usage cleanup(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-18content: gAIPFlashesChunkedList: general refactor a la tracks(quasar) nebula
2024-06-18content: listArtistsByDuration: use Artist.totalDurations(quasar) nebula
2024-06-18content: gAIPArtworksChunkedList: general refactor a la tracks(quasar) nebula
2024-06-18data: artist: more contribution-y properties(quasar) nebula
2024-06-18data: artist: scope contribution properties to thing kind(quasar) nebula
2024-06-18data, content: various property & thing-type matches(quasar) nebula
2024-06-18content: gAIPChunk: consolidate date processing(quasar) nebula
2024-06-18content: gAIPOtherArtistLinks: use associatedContributions(quasar) nebula
2024-06-18data: Contribution.associatedContributions(quasar) nebula
2024-06-18content: gAIPTracksChunkItem: fix nonsense .kind accesses(quasar) nebula
2024-06-18wiki-data: is{Artist,Contributor,CoverArtist}Contribution(quasar) nebula
Just some helper utilities. These carry a specific meaning which we'd like to associate with a particular word, rather than copy everywhere needed.
2024-06-18data: Track.contributionContribs: use computed date(quasar) nebula
2024-06-18sort: sortContributionsChronologically: fix non-mutating(quasar) nebula
2024-06-18data: artist: fix contributorContributions getting artist contribs(quasar) nebula
2024-06-18data: withCoverArtDate refactor, make Album.coverArtDate updatable(quasar) nebula
2024-06-18content: gAIPTracks{ChunkedList,Chunk,ChunkItem}: data refactor(quasar) nebula
2024-06-18sort: sortContributionsChronologically(quasar) nebula
2024-06-18data: Artist.artistContributions, Artist.contributorContributions(quasar) nebula
2024-06-18data: withContributionContext: guard missing dependencies(quasar) nebula
2024-06-18data: redate inherited contribution lists(quasar) nebula
2024-06-18data: apply contribution dates when resolving(quasar) nebula
2024-06-18data: Contribution.date (stub)(quasar) nebula
2024-06-18data: withCoverArtDate(quasar) nebula
2024-06-18data: track: withTrackArtDate(quasar) nebula
2024-06-18data: withClonedThings(quasar) nebula
2024-06-18data: track: withDate(quasar) nebula
2024-06-18content: gAIPTracksChunkedList: stub separate-components refactor(quasar) nebula
2024-06-18data: Artist.totalDuration(quasar) nebula
This is sort of a stub / proof of concept function. The contained logic may be refactored a bit more still!
2024-06-18data: withReverseContributionList: mode: contributions(quasar) nebula
2024-06-18data: withContributionListSums, withSum(quasar) nebula
2024-06-18data: Track.isOriginalRelease, Track.isRerelease(quasar) nebula
2024-06-18data: exposeWhetherDependencyAvailable(quasar) nebula
2024-06-18data: inheritContributionListFromOriginalRelease(quasar) nebula
2024-06-18data: withRecontextualizedContributionList(quasar) nebula
2024-06-18cacheable-object: clone, copyUpdateValuesOnto(quasar) nebula
2024-06-18data: inheritFromContributionPresets: logic cleanup(quasar) nebula
2024-06-18data: contribution: countIn{Contribution,Duration}Totals(quasar) nebula
2024-06-18data: contribution: matchingPresets(quasar) nebula