« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content
AgeCommit message (Collapse)Author
2023-05-25content: multiline content & fill out album/track pages more(quasar) nebula
2023-05-25content: sprawl & transformContent(quasar) nebula
Sprawling basically means tying a component to objects which aren't directly passed to it. This is necessary for functions like transformContent, which was *mostly* implemented here (the multiline/lyrics modes are stubs, and a number of links haven't been implemented yet).
2023-05-25Revert "contracts: initial commit"(quasar) nebula
This reverts commit 4280c6240b88dadc8e5ea187b78c10aca9dfc163.
2023-05-25Revert "contracts: highly dysfunctional ContractManager"(quasar) nebula
This reverts commit 63b1b5b6fd14d3bacdcb979298b4fa669de4f20b.
2023-05-07contracts: highly dysfunctional ContractManager(quasar) nebula
Also some setup in generateAlbumTrackList in particular. None of this works yet! Probably replacing most everything in ContractManager, just putting this in a commit so it's logged. (All written a few days ago.)
2023-05-02contracts: initial commit(quasar) nebula
All draft stuff here for now, but this is *relatively* un-naive as it's based on a lot of recent research and discussion. But none of this code is evaluated yet!!
2023-05-02content: generateAlbumSidebar: clean up content logic(quasar) nebula
2023-05-02content: generateAlbumSidebar: move track sections into own function(quasar) nebula
For cleaner dependencies and finer-grained refreshing.
2023-05-02content: generateAlbumSidebar: move group boxes into own function(quasar) nebula
This will make for cleaner dependencies and finer-grained refreshing.
2023-04-18content: generateTrackList (generic function)(quasar) nebula
This isn't quite portable enough for use as a dependency in generateAlbumTrackList, which can maybe be improved on.
2023-04-18content: generateAlbumSidebar: fix lint grumpiness(quasar) nebula
2023-04-18content: misc. changes, groups divided by tracks, relation sections(quasar) nebula
2023-04-18content: generateTrackInfoPage: sort art chronology by art date(quasar) nebula
2023-04-18getChronologyRelations: filter out duplicate artists(quasar) nebula
Only within the same call, so an artist who is both composer and cover artist will still be listed in the chronology section twice ("45th track by rj!" + "15th cover art by rj!"). This commit includes a documentation block about that.
2023-04-18getChronologyRelations: don't count the same thing twice(quasar) nebula
2023-04-15content: generateAlbumInfoPage: cover art chronology links(quasar) nebula
2023-04-15generateAlbumNavLinks: don't panic when links unavailable 👻(quasar) nebula
2023-04-15content: generateStickyHeadingContainer(quasar) nebula
2023-04-15content: generateChronologyLinks, generatePreviousNextLinks(quasar) nebula
2023-04-15content: linkThing: add color: false slot option(quasar) nebula
This behaves like the old codebase, disabling automatically grabbing the color from the thing being linked.
2023-04-15content: generateAlbumNavLinks, generatePageLayout nav bar(quasar) nebula
2023-04-15content: generateAlbumSidebar + misc fixes(quasar) nebula
This restores the CSS for sticky sidebars, but removes the specific lines applying that effect (for the album sidebar). There's also an experimental new splitter for the joined group info box but we might go back on that or do something different. No tests for the new stuff here yet!
2023-04-12content: stub track page, misc. other changes(quasar) nebula
* generateContributionLinks replaced with linkContribution, tests still need updating * album pages respect albums without cover art * track pages without unique art inherit art tags from album (fixes #13) not heavily tested, this commit probably breaks some pages which were loading correctly before
2023-04-08content: generatePageLayout: footer :sparkles:(quasar) nebula
2023-04-08content: generateFooterLocalizationLinks(quasar) nebula
2023-04-08content: generatePageLayout: display provided styleRules(quasar) nebula
2023-04-08content: image: fix missing .image-inner-area div(quasar) nebula
2023-04-08infra: log OK! message when content functions update(quasar) nebula
2023-04-08html: drastically simplify template/slot system(quasar) nebula
2023-04-06content: generatePageLayout (mostly stub)(quasar) nebula
2023-04-06build steps: jank together ultra-basic page write(quasar) nebula
Super simple technically functional sketch.
2023-04-05content: generateCoverArtwork(quasar) nebula
2023-04-05content, test: image (and linkArtTag)(quasar) nebula
2023-04-05content: generateAdditionalFilesList: guard against nulls cleanly(quasar) nebula
2023-04-05test: generateAdditionalFilesShortcut (snapshot)(quasar) nebula
2023-04-05html: standard blank() function(quasar) nebula
For now this just returns an empty array, but if we need to make changes later, it won't require editing all instances of blank content!
2023-04-04content: generateAlbumInfoPageContent: remaining functionality(quasar) nebula
2023-04-04content: generateAlbumTrackList, linkTrack(quasar) nebula
2023-04-04content: generateAlbumTrackListItem: fixes & polish(quasar) nebula
2023-04-04content: generateAlbumInfoPageContent: add listen links(quasar) nebula
2023-04-04content: linkExternal: fix reference error(quasar) nebula
2023-04-04content: generateAlbumInfoPageContent: fix wrong slot names(quasar) nebula
2023-03-29content: linkExternal, linkExternalFlash(quasar) nebula
2023-03-29content: generateIconForURL -> linkExternalAsIcon(quasar) nebula
2023-03-29content: iconifyURL (extra) -> generateIconForURL(quasar) nebula
2023-03-29infra: use nicer cachebust string instead of Date.now()(quasar) nebula
2023-03-27data steps: basic custom mocking function support(quasar) nebula
I checked out a few libraries but none really behaved the way I needed, and coding it myself means much lower- level access, which makes certain options a lot easier (e.g. excluding one argument of a mocked function from assertion while matching the rest against a pattern).
2023-03-26data steps: linkTemplate snapshot tests(quasar) nebula
2023-03-25data steps: more "quick" functions & basic snapshot test demo(quasar) nebula
2023-03-23data steps: content function evaluation essentials(quasar) nebula
Also some more actual content in generateAlbumInfoPageContent, which is in fact fully working as-is(!!).