« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util
AgeCommit message (Collapse)Author
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-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-15html, test: default slots only for null, not falsey values(quasar) nebula
2023-04-15content: generateAlbumNavLinks, generatePageLayout nav bar(quasar) nebula
2023-04-09test: html.template slot value errors(quasar) nebula
2023-04-09test: html.template & Template descriptor errors(quasar) nebula
2023-04-08html: drastically simplify template/slot system(quasar) nebula
2023-04-06build steps: jank together ultra-basic page write(quasar) nebula
Super simple technically functional sketch.
2023-04-05html: tags(), isBlank()(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-04html: better Slot error traces(quasar) nebula
There's a bad joke to be made about "mutation" versus "mutilation".
2023-03-29html: pass null/undefined through in slot values(quasar) nebula
2023-03-28data steps: unfinished behavior & fixes in test lib(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.
2023-03-21data steps: deep flatten HTML(quasar) nebula
This should totally obliterate the need for html.fragment.
2023-03-21data steps: test cases for new html implementation(quasar) nebula
Only Tag interface and stringification for now. Template tests coming soon!
2023-03-21data steps: fix property-from-attribute setter/getters(quasar) nebula
2023-03-21data steps: new html.tag implementation(quasar) nebula
...including template & slot support, unit tests incoming
2023-03-18data steps: annotate content function names(quasar) nebula
2023-03-06data-steps: initial commit(quasar) nebula
2023-03-04--clear-thumbs utility(quasar) nebula
2023-03-03new All Sheet Music listing(quasar) nebula
2023-03-01display original file size in image overlay(quasar) nebula
2023-02-26Merge branch 'preview' into image-overlay(quasar) nebula
2023-02-26Merge branch 'preview' of github.com:hsmusic/hsmusic-wiki into preview(quasar) nebula
2023-02-26basic image overlays(quasar) nebula
2023-02-26encode/decode URIs in html.tag('a') & live-dev-server(quasar) nebula
Fixes #147.
2023-02-05Merge branch 'preview' into data-format-cleanup(quasar) nebula
2023-02-05Merge branch 'staging' into preview(quasar) nebula
2023-02-05handle missing data files more gracefully(quasar) nebula
2023-02-04data format cleanup: albums(quasar) nebula
* Remove `Is Major Release` (`isMajorRelease`) * Remove major-release code in wiki-data.js * Tidy `propertyFieldMapping` order Major releases were useful when albums were being added to the wiki on the regular, but are unused on HSMusic now, and alternative approaches get more particular results (currently hard-coded grid layout for larger icons, and manually selected albums in homepage rows).
2023-01-16make parseOptions code a bit more legible(quasar) nebula
2023-01-15Merge branch 'staging' into preview(quasar) nebula
2023-01-10compute subdirectoryPrefix internally(quasar) nebula
2023-01-10prefer passing around pagePath(quasar) nebula
2023-01-10don't pass around fullKey where unneeded(quasar) nebula
2023-01-10extract fn for localizedPathnames(quasar) nebula
2023-01-10remove output-specific getPagePaths util(quasar) nebula
2023-01-10extract absoluteTo(quasar) nebula
2023-01-09hopefully fix normal pages on windows(quasar) nebula
2023-01-09most essential behavior for live-dev-server(quasar) nebula
2023-01-07quarantine hard-coded official/fandomAlbumData(quasar) nebula
2023-01-07extract getPagePaths, getURLsFrom functions(quasar) nebula
towards basic dynamics pt. 1 (#124)
2023-01-07extract utility binds, content transform fns(quasar) nebula
towards basic dynamics pt. 1 (#124)
2023-01-01tweaks to transformMultiline(quasar) nebula
2023-01-01specify homepage navbar links & order in data(quasar) nebula
...rather than just making a guess off the order files are listed by directory access, and using out-of-place 'Show in Navigation Bar'
2023-01-01replacer - don't assume thing.name for links(quasar) nebula
2022-12-28better theme colors(quasar) nebula
2022-12-22many homepage carousel shenanigans(quasar) nebula