« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2021-05-10color name of track groups in sidebar(quasar) nebula
very fansey :3
2021-05-10leave sidebar <details> collapsed on album pages(quasar) nebula
2021-05-09collapsible track groups in sidebar! (ty Niklink)(quasar) nebula
2021-05-09encapsulate wiki data as one shared-around object(quasar) nebula
2021-05-09new 'Listed on Homepage' field for albums(quasar) nebula
This does pretty much what it says, though at least for now it only applies to the "New Additions" and "New Releases" rows, not rows set to pull from specific groups.
2021-05-07Merge branch 'tf-parser' into staging(quasar) nebula
2021-05-07use banner dimensions from data, not arbitrarily(quasar) nebula
this prevents some nasty layout flicker on album pages with banners! the old values are still there as fallback, but you should probably specify the new Banner Dimensions field to make use of this.
2021-05-06break up utility file, get build for sure working(quasar) nebula
still Much Work Yet Ahead but this is good progress!! also the site is in a working state afaict and thats a kinda nice milestone lmbo
2021-05-05move upd8 code files into their own directory(quasar) nebula
2021-05-05relatively acceptable HTML utility shenanigans(quasar) nebula
2021-05-04Merge branch 'master' into staging(quasar) nebula
2021-05-03artist data + more tweaks to trim file redundancy(quasar) nebula
2021-05-03add album data files and tweak track data too!(quasar) nebula
2021-04-30more compact layout for album/track pages! (ty...)(quasar) nebula
TY for input, Niklink and megatti!
2021-04-30treat sibling-direction AKA as other releases(quasar) nebula
2021-04-19transform replacer arguments tf-parser(quasar) nebula
2021-04-19trim whitespace surrounding first/last text nodes(quasar) nebula
2021-04-19move textOnly tag test before advancing past "[["(quasar) nebula
This makes syntax error messages a little nicer, i.e. hello there [[album:[[lol]]]] --------------------^ instead of hello there [[album:[[lol]]]] ----------------------^
2021-04-19fix incorrect iEnd values on text nodes(quasar) nebula
The iEnd value (which marks the position a node's length ends at in input text) is only used for tag nodes at the moment, 8ut it's still nice to have the right values everywhere, in case we do use it for something else later (and to just have code that functions like we want, lol).
2021-04-17fix broken album links on tag pages (ty, megatti!)(quasar) nebula
2021-04-16connect parser to updated replacer & rest of code!(quasar) nebula
2021-04-16show line and column position in parse errors(quasar) nebula
2021-04-16match hash/replacerValue only without preceding WS(quasar) nebula
2021-04-16add end index to node info(quasar) nebula
2021-04-16add hash to tag syntax(quasar) nebula
2021-04-16fix final text not being added as node(quasar) nebula
2021-04-15simple replaceKey/Value syntax (cur: 110k/sec)(quasar) nebula
Not actually a speed-up, 8ut this is easier to read. Learn it from me: with no other 8enefits, prefer what's legi8le, not what's cool! At least in projects where the whole point isn't 8eing cool, anyway.
2021-04-15remove unused original code(quasar) nebula
2021-04-15use regexes, avoid parse by letter (cur: 110k/sec)(quasar) nebula
2021-04-15don't global-hoist speedtest definition(quasar) nebula
2021-04-15run 5s of tests instead of 1 (cur: 87k/sec)(quasar) nebula
Why does this improve efficiency? I do not know. It's entirely possi8le the earlier estim8tions were just off, and this is more accur8te.
2021-04-15parser error throwing/handling bugfixes(quasar) nebula
2021-04-15don't use makeNode (cur: 84k/sec)(quasar) nebula
This actually might 8e 85k/sec 8ut that feels, uh, counter-intutive? Pretty sure it was just getting optimized out, anyway.
2021-04-15remove void parseOneTextNode logic (cur: 84k/sec)(quasar) nebula
If textOnly is passed, parseNodes will only ever return a single text node, so the other paths were never getting reached. This is only cleanup, though - no significant performance improvement.
2021-04-15make data in text nodes string (cur: 84k/sec)(quasar) nebula
This doesn't actually impact the performance at all, 8ut it's going to 8e nicer to work with later.
2021-04-15remove objs from fn signatures (cur: 84k/sec)(quasar) nebula
Hoo 8*tch, that's a 8ig improvement! This gets rid of the last spread/destructure, a straggler in parseOneTextNode, and makes the only non-primitive passed to either itself or parseNodes the array of tags to parse, cutting away a 8unch of o8jects which were only getting used the one time.
2021-04-15store node data in its own property (cur: 51k/sec)(quasar) nebula
Another place to avoid destructuring (actually the spread operator, i.e. effectively an Object.assign call).
2021-04-15simplify once-used pushNode call (cur: 48.5k/sec)(quasar) nebula
The idea here is to get rid of unnecessary destructuring of the arguments array.
2021-04-15don't recreate reused functions (cur: 48k/sec)(quasar) nebula
This commit 8est viewed with whitespace changes hidden!
2021-04-15no unnecessary objects in returns (cur: 46k/sec)(quasar) nebula
2021-04-15literal matching as plain strings (cur: 40k/sec)(quasar) nebula
2021-04-15new parser progress so far (cur: 15k/sec)(quasar) nebula
not implemented into the site (so just process.exit()), includes a couple examples and speedtest (not optimized at all yet)
2021-04-10new Albums - by Date Added to Wiki listing(quasar) nebula
2021-04-10hide unreleased tracks from by-duration listing(quasar) nebula
For........ reasons. ::::) 8ut also, pro8a8ly makes sense to do this anyway.
2021-04-09New Additions homepage row & date added to wiki(quasar) nebula
2021-04-09disable end-of-page banner on track pages(quasar) nebula
2021-04-09hide info cards behind localStorage flag for now(quasar) nebula
2021-04-06only animate info card hiding if it's shown(quasar) nebula
This fixes a glitch where it'd trigger the hide animation just by passing the cursor over the link for even an instant. Not good!
2021-04-06show cover artists in info card(quasar) nebula
2021-04-06auto-height image banner(quasar) nebula
this isn't a 100% perfect fix since loaded, upscaled banners will have a *slightly* different final height than the lazy load (about 3px), but it's relatively negligible. preferably, refined banners would be the target 1100x200 aspect ratio in the first place.