« 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/sugar.js
AgeCommit message (Collapse)Author
2023-11-20sugar: translucent errors implementation(quasar) nebula
2023-11-20data, util: principle "translucent errors" & applications(quasar) nebula
2023-11-20sugar: cut (string to length)(quasar) nebula
2023-11-06sugar: expose and integrate async-adaptive error decorators(quasar) nebula
2023-11-06sugar: separate annotateError functions & utilities(quasar) nebula
2023-11-06sugar: accept aggregateOpts and fn in either order(quasar) nebula
2023-10-18sugar: filterProperties: preserve original order if specified(quasar) nebula
2023-09-30data, util: hsmusic.sugar.index -> hsmusic.decorate.indexInSourceArray(quasar) nebula
2023-09-30util, test: WIP decorate error with index symbol(quasar) nebula
2023-09-28data, util: use typeAppearance in more places(quasar) nebula
2023-09-28data: templateCompositeFrom: improve error message consistency(quasar) nebula
2023-09-25data: misc. improvements for input validation & infrastructure(quasar) nebula
2023-09-23util: showAggregate: show error causes(quasar) nebula
2023-09-07data: import Thing.common utilities directly(quasar) nebula
Also rename 'color' (from #cli) to 'colors'.
2023-09-05data: filter only requested deps, require requesting 'this'(quasar) nebula
* Thing.composite.from() only provides the dependencies specified in each step and the base, and prevents '#'-prefixed keys from being specified on the main (composite) dependency list. * CacheableObject no longer provides a "reflection" dependency to every compute/transform function, and now requires the property 'this' to be specified instead of the constructor.instance symbol. (The static CacheableObject.instance, inherited by all subclasses, was also removed.) * Also minor improvements to sugar.js data processing utility functions.
2023-08-21sugar: showAggregate: display top-level non-AggregateErrors w/ more detail(quasar) nebula
2023-08-11upd8: suppress only "didn't match anything" for sample ref errors(quasar) nebula
2023-08-02infra: coarsely report relation() ancestry in errors via cause(quasar) nebula
2023-07-05content: listArtistsbyLatestContribution: stuck in the array mines(quasar) nebula
2023-06-23sugar: stitchArrays: accept null(quasar) nebula
2023-06-23content: generateCoverCarousel(quasar) nebula
This also introduces a handy stitchArrays() utility, which probably has some uses not caught in this commit.
2023-06-11infra: treat fulfillment information as sets & reuse where possible(quasar) nebula
2023-06-02content: generateArtistInfoPage: artwork contributions(quasar) nebula
This actually covers the foundations for other types of contribs too. It's hopefully a fair bit cleaner and easier to follow than the previous data processing for this page!
2023-04-15content: generateAlbumNavLinks, generatePageLayout nav bar(quasar) nebula
2023-03-28data steps: unfinished behavior & fixes in test lib(quasar) nebula
2023-03-18data steps: annotate content function names(quasar) nebula
2023-03-06data-steps: initial commit(quasar) nebula
2022-12-22many homepage carousel shenanigans(quasar) nebula
2022-11-28divide things.js into modular files (hilariously)(quasar) nebula
2022-11-26finish up cosmetic style changes(quasar) nebula
2022-11-21new "empty" sugar.js util(quasar) nebula
2022-11-20htmlify upd8.js, remove fix-whitespace dependency(quasar) nebula
2022-09-15update some misc-templates and refactor things(quasar) nebula
2022-07-19finish porting listing specs (!!)(quasar) nebula
2022-06-26lots of fixes from eslint(quasar) nebula
2022-06-26real pragma, and some eslint fixes(quasar) nebula
2022-06-26add @format pragma to JS files(quasar) nebula
2022-06-26initial prettier/eslint commit(quasar) nebula
2022-04-24annotate bindOpts function name(quasar) nebula
2022-04-16HSMusic REPL + supporting internal improvements(quasar) nebula
2022-03-07fix unique artists not being shown in track list(quasar) nebula
2022-02-16artist ref validation, nicer showAggregate output(quasar) nebula
2022-02-12bam (Thing subclasses: several steps, one file)(quasar) nebula
2022-01-30flash data(quasar) nebula
2022-01-30all-in-one document mode & artist data(quasar) nebula
2022-01-29nicer looking showAggregate output(quasar) nebula
2022-01-29data steps(quasar) nebula
2022-01-23track data(quasar) nebula
2022-01-18initial working changes for big data restructure(quasar) nebula
2021-06-27aggregate shenanigans left uncommitted(quasar) nebula