« 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/html.js
AgeCommit message (Collapse)Author
2023-08-02infra: html: make deep Template resolving opt-in via utility(quasar) nebula
Just always resolving was causing some bugs.
2023-08-02infra: html: make deeper layers of Template content translucent(quasar) nebula
2023-08-02html: Tag.clone, Template.clone: clone own constructors(quasar) nebula
2023-07-14Merge branch 'url-special-chars' into data-steps(quasar) nebula
2023-07-14handle special characters in URLs more carefully(quasar) nebula
2023-06-12html: inspect.custom() annotations for html classes(quasar) nebula
2023-06-12html: new Stationery class for instantiating Templates(quasar) nebula
2023-06-12html: move slot validation into own function(quasar) nebula
2023-06-03html: accept false (ala cond && tag) in isHTML(quasar) nebula
2023-04-15html: clone tags & templates passed in via slots(quasar) nebula
I'm not 100% sure the right behavior here in the long run (whether we should be doing a deep clone or not), so for now I haven't added any specific tests. Snapshot tests covering uses of templates which depend on cloning (i.e. parents which reuse a given template) will do better to make sure everything keeps working like it should.
2023-04-15html, test: default slots only for null, not falsey values(quasar) nebula
2023-04-09test: html.template slot value errors(quasar) nebula
2023-04-09test: html.template & Template descriptor errors(quasar) nebula
2023-04-08html: drastically simplify template/slot system(quasar) nebula
2023-04-05html: tags(), isBlank()(quasar) nebula
2023-04-05html: standard blank() function(quasar) nebula
For now this just returns an empty array, but if we need to make changes later, it won't require editing all instances of blank content!
2023-04-04html: better Slot error traces(quasar) nebula
There's a bad joke to be made about "mutation" versus "mutilation".
2023-03-29html: pass null/undefined through in slot values(quasar) nebula
2023-03-23data steps: html fixes + pass through content when no tagName(quasar) nebula
2023-03-21data steps: album additional files list(quasar) nebula
This is WIP but seems to be working! Pretty big test of the new html.template system, which needed some extension here.
2023-03-21data steps: deep flatten HTML(quasar) nebula
This should totally obliterate the need for html.fragment.
2023-03-21data steps: test cases for new html implementation(quasar) nebula
Only Tag interface and stringification for now. Template tests coming soon!
2023-03-21data steps: fix property-from-attribute setter/getters(quasar) nebula
2023-03-21data steps: new html.tag implementation(quasar) nebula
...including template & slot support, unit tests incoming
2023-03-01display original file size in image overlay(quasar) nebula
2023-02-26encode/decode URIs in html.tag('a') & live-dev-server(quasar) nebula
Fixes #147.
2022-11-28chronology tweaks & html.onlyIfContent bugfix(quasar) nebula
2022-11-27redesign & refinements for sticky layouting(quasar) nebula
2022-11-26finish up cosmetic style changes(quasar) nebula
2022-09-15new html.noEdgeWhitespace tag option(quasar) nebula
2022-07-13begin htmlifying listings & listing specs(quasar) nebula
2022-07-02htmlify album pages prettify-lint(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-05-15social embeds (discord, maybe twitter)(quasar) nebula
Tracks only for now, but more will come Soon(TM)!
2021-05-25bigass code refactor (no more legacy page writes)(quasar) nebula
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