Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-09-06 | data: new withResolvedReferenceList utility | (quasar) nebula | |
2023-09-06 | data: isolate withResolvedContribs internal behavior | (quasar) nebula | |
2023-09-06 | data: move Thing.composite definition into dedicated file | (quasar) nebula | |
2023-09-06 | data: remove unused Thing.common utilities | (quasar) nebula | |
dynamicInheritContribs is replaced by more specialized behavior on tracks (which are the only thing that inherit contribs this way), and reverseSingleReference, introduced with reverseReferenceList, was never used anywhere. | |||
2023-09-05 | data: update Thing.composition.from documentation | (quasar) nebula | |
2023-09-05 | data: clean up bad mapDependencies usages | (quasar) nebula | |
2023-09-05 | data, test: update & test misc. Track reverse reference lists | (quasar) nebula | |
* update & test Track.referencedByTracks * update & test Track.sampledByTracks * update & test Track.featuredInFlashes * update Thing.common.reverseReferenceList * add Thing.composite.withReverseReferenceList * add Track.composite.trackReverseReferenceList | |||
2023-09-05 | test: Track.coverArtFileExtension (unit) | (quasar) nebula | |
2023-09-05 | data: refactor Track.coverArtDate | (quasar) nebula | |
2023-09-05 | data: remove lots of boilerplate {expose: true, compose: true} | (quasar) nebula | |
2023-09-05 | data: Thing.composite.from: fix missed step.expose assumptions | (quasar) nebula | |
2023-09-05 | data: update Thing.common.dynamicThingsFromReferenceList | (quasar) nebula | |
Only the internal implementation. This should really be updated to take key/value-style parameters, and probably be renamed, but this helps to confirm a swathe of expected behavior continues to work with an existing `common` utility reimplemented compositionally. | |||
2023-09-05 | data: refactor Thing.composite.withResolvedReference | (quasar) nebula | |
2023-09-05 | data: misc. utility additions | (quasar) nebula | |
* add earlyExitWithoutUpdateValue * add raiseWithoutDependency * add raiseWithoutUpdateValue * add earlyExitIfAvailabilityCheckFailed (internal) * refactor earlyExitWithoutDependency The "raise" utilities make use of the new `raiseAbove` continuation feature. | |||
2023-09-05 | data: simplify Thing.composite.from (needs docs update) | (quasar) nebula | |
2023-09-05 | data: misc. style consistency tweaks | (quasar) nebula | |
2023-09-05 | data: fix mis-indented Thing.composite.from calls | (quasar) nebula | |
2023-09-05 | data, test: update & test Track.originalReleaseTrack | (quasar) nebula | |
2023-09-05 | data: update Track.composite.withAlbum implementation | (quasar) nebula | |
2023-09-05 | data: Track: misc. minor fixes | (quasar) nebula | |
2023-09-05 | data, infra: only make exposed properties enumerable | (quasar) nebula | |
This prevents them from being displayed in, for example, node-tap mismatched test case output. AFAIK, we generally don't depend on the enumerability of properties anywhere in hsmusic's codebase, and it doesn't really make sense for unexposed properties to be enumerable in the first place. | |||
2023-09-05 | data: update Track.otherReleases implementation | (quasar) nebula | |
Also adds {selfIfOriginal} option to withOriginalRelease(). | |||
2023-09-05 | data: always define composite utilities with `key() {}` syntax | (quasar) nebula | |
Sublime Text doesn't index the key in `key: () => {}` as a symbol for function definitions if the parameter list takes up more than one line, but always works for `key() {}`. This also just makes it a little easier to add "preamble" before the main return value, when relevant. Consistent syntax is usually a plus for recurring behavioral forms! | |||
2023-09-05 | data: Thing.composite.earlyExitWithoutDependency: latest syntax | (quasar) nebula | |
2023-09-05 | data: Thing.composite.from: fix including '#' deps from base | (quasar) nebula | |
...in the final composition's dependencies. | |||
2023-09-05 | data: clean up Thing.composite.from debug messaging | (quasar) nebula | |
* print annotation next to every log message, instead of just the begin/end messages * add Thing.composite.debug() to conveniently wrap one property access * don't output (and don't access) track album in inspect.custom when depth < 0 | |||
2023-09-05 | data: fix annotation typo | (quasar) nebula | |
2023-09-05 | data: misc. additions, fixes & refactoring | (quasar) nebula | |
Thing.composite.from: * Transparently support expose.transform steps inside nested compositions, w/ various Thing.composite.from clean-up * Support continuation.raise() without provided dependencies * add Thing.composite.exposeConstant * add Thing.composite.withResultOfAvailabilityCheck * supports {mode: 'null' | 'empty' | 'falsy'} * works with dependency or update value * add Thing.composite.earlyExitWithoutDependency * refactor Thing.composite.exposeDependencyOrContinue * refactor Thing.composite.exposeUpdateValueOrContinue * add Track.withHasUniqueCoverArt * refactor Track.coverArtFileExtension * refactor Track.hasUniqueCoverArt | |||
2023-09-05 | data: Thing.composite.exposeDependencyOrContinue | (quasar) nebula | |
2023-09-05 | data, test: Track.color inherits from track section | (quasar) nebula | |
2023-09-05 | data, test: retain validator for Track.color | (quasar) nebula | |
2023-09-05 | data, test: misc. additions | (quasar) nebula | |
* Thing.composite.expose * Thing.composite.exposeUpdateValueOrContinue * Track.composite.withAlbumProperty * refactor: Track.color, Track.album, Track.date * refactor: Track.coverArtistContribs * test: Track.album (unit) | |||
2023-09-05 | data: Thing.composite.from: fix undefined return for explicit exit | (quasar) nebula | |
2023-09-05 | data: Track.composite.withAlbum | (quasar) nebula | |
2023-09-05 | data: Track.artistContribs: be lazy, like coverArtistContribs | (quasar) nebula | |
2023-09-05 | data: use continuation.exit and continuation.raise where needed | (quasar) nebula | |
2023-09-05 | data: Thing.composite.from bugfixes | (quasar) nebula | |
2023-09-05 | data: bug fixes & Thing.composite.from.debug mode | (quasar) nebula | |
2023-09-05 | data: Track.compposite.from: 'options', cache-safe documentation | (quasar) nebula | |
2023-09-05 | data: Track.coverArtistContribs: lazier steps | (quasar) nebula | |
2023-09-05 | data: fix not passing noTransformSymbol | (quasar) nebula | |
2023-09-05 | data: Thing.composite.from: mapDependencies/mapContinuation | (quasar) nebula | |
2023-09-05 | data: fix more bad function signatures | (quasar) nebula | |
2023-09-05 | data: Thing.composite.withResolvedReference: fix null refs | (quasar) nebula | |
The `earlyExitIfNotFound` flag is only supposed to exit if the reference really existed and failed to match anything. If it was null in the first place, withResolvedReferences should always just pass null ahead. | |||
2023-09-05 | data: Thing.composite.from: fix not calling export continuation | (quasar) nebula | |
2023-09-05 | test: Track.{color,date,hasUniqueCoverArt} (unit) | (quasar) nebula | |
2023-09-05 | data: track.hasUniqueCoverArt: operate on resolved contributions | (quasar) nebula | |
2023-09-05 | data: track: remove unneeded explicit {to} on withOriginalRelease call | (quasar) nebula | |
2023-09-05 | data: composition docs, annotations, nesting | (quasar) nebula | |
2023-09-05 | data: signature changes to misc compositional functions | (quasar) nebula | |