« 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
2023-04-15content: yeet old misc-templates that are now replaced(quasar) nebula
2023-04-15content: generateStickyHeadingContainer(quasar) nebula
2023-04-15client: comment out info card code(quasar) nebula
This gets in the way of some later stuff in the file, so nope, see ya for now!
2023-04-15html: clone tags & templates passed in via slots(quasar) nebula
I'm not 100% sure the right behavior here in the long run (whether we should be doing a deep clone or not), so for now I haven't added any specific tests. Snapshot tests covering uses of templates which depend on cloning (i.e. parents which reuse a given template) will do better to make sure everything keeps working like it should.
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-15html, test: default slots only for null, not falsey values(quasar) nebula
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-09test: html.template slot value errors(quasar) nebula
2023-04-09test: html.template & Template descriptor errors(quasar) nebula
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-05html: tags(), isBlank()(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-04html: better Slot error traces(quasar) nebula
There's a bad joke to be made about "mutation" versus "mutilation".
2023-04-04infra: new 'postprocess' option in quickEvaluate(quasar) nebula
2023-04-04infra: new 'multiple' option in quickEvaluate(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-29html: pass null/undefined through in slot values(quasar) nebula
2023-03-29data steps: stringify args to list intl functions(quasar) nebula
2023-03-28data steps: unfinished behavior & fixes in test lib(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-27data steps: implement leftover data unit test TODOs(quasar) nebula
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(!!).
2023-03-23data steps: contentFunction fixes & polish(quasar) nebula
2023-03-23data steps: html fixes + pass through content when no tagName(quasar) nebula
2023-03-21data steps: album additional files list(quasar) nebula
This is WIP but seems to be working! Pretty big test of the new html.template system, which needed some extension here.