« 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
2024-09-29sugar: findIndexOrEnd(quasar) nebula
Unused, but a nice utility to have for some other time
2024-06-20sugar: pick(quasar) nebula
2024-05-31sugar: groupArray(quasar) nebula
2024-05-31sugar: promiseWithResolvers(quasar) nebula
2024-05-31sugar: make withEntries work async(quasar) nebula
2024-05-29upd8, util, cli: factor out help internals; no default build mode(quasar) nebula
Sorry these changes are packed together in one commit! We have no excuse. :+1:
2024-02-19sugar: splitKeys(quasar) nebula
2024-02-17data-checks, sugar: factor out getNestedProp(quasar) nebula
2024-02-17sugar: cutStart(quasar) nebula
2024-02-17sugar: build matchMultiline on lower level iterateMultiline(quasar) nebula
2024-02-16data: move sorting & generic functions out of #wiki-data(quasar) nebula
2024-02-16sugar: move many functions into new #aggregate import(quasar) nebula
2024-01-14sugar: atOffset(quasar) nebula
2024-01-06sugar: matchMultiline: begrudgingly one-index everything(quasar) nebula
2024-01-06sugar: matchMultiline: fix start of line offsetting(quasar) nebula
2024-01-06sugar: matchMultiline(quasar) nebula
2024-01-06sugar: showAggregate: translucent: 'single'(quasar) nebula
2024-01-06sugar: refactor determineCause, determineHelpers(quasar) nebula
2024-01-03sugar: showAggregate: pad siblings of aggregates for alignment(quasar) nebula
2023-12-30sugar: revamp showAggregate helpful trace line algorithm(quasar) nebula
2023-12-29sugar: showAggregate: move cause beneath aggregate errors(quasar) nebula
2023-11-28sugar: extract "getUsefulStackLine" logic & internals(quasar) nebula
2023-11-24Merge branch 'commentary-entries' into preview(quasar) nebula
2023-11-21sugar: fix async decorateError not providing calling arguments(quasar) nebula
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