« 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/wiki-data.js
AgeCommit message (Collapse)Author
2024-06-23data: withParsedCommentaryEntries: dateKind, secondDate(quasar) nebula
2024-06-23data: fix access kind/date nesting(quasar) nebula
2024-06-23data: factor out date matching in commentary heading(quasar) nebula
2024-06-21data: withParsedCommentaryEntries: accessDate, accessKind(quasar) nebula
2024-06-18content, page, util: general contributions usage cleanup(quasar) nebula
2024-06-18data, content: various property & thing-type matches(quasar) nebula
2024-06-18wiki-data: is{Artist,Contributor,CoverArtist}Contribution(quasar) nebula
Just some helper utilities. These carry a specific meaning which we'd like to associate with a particular word, rather than copy everywhere needed.
2024-03-14util: add much more custom behavior to getKebabCase(quasar) nebula
2024-02-25util: unhinged binding shenanigans for release compatibility(quasar) nebula
2024-02-16data: move sorting & generic functions out of #wiki-data(quasar) nebula
2024-02-15data: validate commentary capitalization w/ non-global regex(quasar) nebula
2024-02-14data: detect & report miscapitalization in commentary heading(quasar) nebula
2024-01-11data: chunkMultipleArrays: fix zero-items case(quasar) nebula
2023-11-20data: update and revamp isCommentary validator(quasar) nebula
2023-11-18data: support dash-style short dates in commentary dates(quasar) nebula
2023-11-18data: looser commentary date parsing + clearer regex explanation(quasar) nebula
2023-11-18data: parse commentary heading contents to end of line(quasar) nebula
2023-11-17data, yaml, content: support multiple artists per commentary entry(quasar) nebula
2023-11-14data, test: boldfaceArtist -> artistDisplayText(quasar) nebula
2023-11-14data, yaml: catch commentary artist ref errors(quasar) nebula
2023-10-11data: use flash act directory for better determinism(quasar) nebula
2023-09-09data: WIP cached composition nonsense(quasar) nebula
2023-09-08fix miscellaneous eslint errors(quasar) nebula
2023-08-19clean up imports & miscellaneous metastructures across codebase(quasar) nebula
2023-08-14data: remove 'Has Track Art', compute from credits(quasar) nebula
2023-07-26content: generateWikiHomeAlbumsRow + homepage content(quasar) nebula
2023-07-05content: listArtistsbyLatestContribution: stuck in the array mines(quasar) nebula
2023-07-04filterMultipleArrays: forgot this part(quasar) nebula
2023-07-04util: gut and fillet sorting utilities(quasar) nebula
2023-07-04util: {sort,filter}MultipleArrays behind {sort,filter}ByCount(quasar) nebula
2023-07-03content: listArtistsBy{CommentaryEntries,Name} + syntax changes(quasar) nebula
2023-06-26content: generateArtistInfoPageArtworksChunkedList(quasar) nebula
2023-06-26util: new sortEntryThingPairs util(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-04-27data: make sortByConditions return sorted array(quasar) nebula
This wasn't causing any bugs within the codebase but it should be consistent with the rest of the sort functions anyway.
2023-04-27data: new sortByPositionInFlash act function(quasar) nebula
Fixes #168. This refactors the duplicated logic with sortByPositionInAlbum into a new template, sortByPositionInParent.
2023-04-27data: refactor sortByDate to handle latestFirst directly(quasar) nebula
Fixes #180. This enables sortByDate to keep dateless items at the end even when sorting with latest first, and conveniently reduces the ops since there's no need for .reverse() before and after the sort anymore. It also cleans logic by deduplicating latest-first code in compositional sort functions using sortByDate.
2023-04-27sort art galleries reverse-chronologically (again)(quasar) nebula
Fixes #170.
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).
2022-11-27only count originals for total duration in most places(quasar) nebula
2022-11-27integrate "latest first" into sortChronologically(quasar) nebula
2022-11-27fix improper sorting for specials before whitespace(quasar) nebula
2022-11-26use accumulateSum util where appropriate(quasar) nebula
2022-11-26finish up cosmetic style changes(quasar) nebula
2022-11-21new "empty" sugar.js util(quasar) nebula
2022-07-13optimize sortByName a little(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