« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/data/things/art-tag.js1
-rw-r--r--src/data/things/track.js6
-rw-r--r--src/static/site2.css29
-rwxr-xr-xsrc/upd8.js10
4 files changed, 4 insertions, 42 deletions
diff --git a/src/data/things/art-tag.js b/src/data/things/art-tag.js
index 0f888a20..9a8a75c5 100644
--- a/src/data/things/art-tag.js
+++ b/src/data/things/art-tag.js
@@ -25,7 +25,6 @@ export class ArtTag extends Thing {
 
     // Expose only
 
-    // Previously known as: (tag).things
     taggedInThings: {
       flags: {expose: true},
 
diff --git a/src/data/things/track.js b/src/data/things/track.js
index 880f65fe..a8020956 100644
--- a/src/data/things/track.js
+++ b/src/data/things/track.js
@@ -91,7 +91,6 @@ export class Track extends Thing {
       },
     },
 
-    // Previously known as: (track).aka
     originalReleaseTrackByRef: Thing.common.singleReference(Track),
 
     dataSourceAlbumByRef: Thing.common.singleReference(Album),
@@ -241,7 +240,6 @@ export class Track extends Thing {
       },
     },
 
-    // Previously known as: (track).artists
     artistContribs: Thing.common.dynamicInheritContribs(
       'artistContribsByRef',
       'artistContribsByRef',
@@ -249,10 +247,8 @@ export class Track extends Thing {
       Track.findAlbum
     ),
 
-    // Previously known as: (track).contributors
     contributorContribs: Thing.common.dynamicContribs('contributorContribsByRef'),
 
-    // Previously known as: (track).coverArtists
     coverArtistContribs: Thing.common.dynamicInheritContribs(
       'coverArtistContribsByRef',
       'trackCoverArtistContribsByRef',
@@ -260,7 +256,6 @@ export class Track extends Thing {
       Track.findAlbum
     ),
 
-    // Previously known as: (track).references
     referencedTracks: Thing.common.dynamicThingsFromReferenceList(
       'referencedTracksByRef',
       'trackData',
@@ -312,7 +307,6 @@ export class Track extends Thing {
       },
     },
 
-    // Previously known as: (track).flashes
     featuredInFlashes: Thing.common.reverseReferenceList(
       'flashData',
       'featuredTracks'
diff --git a/src/static/site2.css b/src/static/site2.css
index b5ae3ef9..287bbd66 100644
--- a/src/static/site2.css
+++ b/src/static/site2.css
@@ -631,11 +631,6 @@ blockquote {
   padding-right: 12%;
 }
 
-p img {
-  max-width: 100%;
-  height: auto;
-}
-
 dl dt {
   padding-left: 40px;
   max-width: 600px;
@@ -709,13 +704,6 @@ li > ul {
   height: 100%;
 }
 
-.image-inner-area {
-  overflow: hidden;
-  width: 100%;
-  height: 100%;
-  position: relative;
-}
-
 .image-text-area {
   position: absolute;
   top: 0;
@@ -737,12 +725,6 @@ li > ul {
 
 img {
   object-fit: cover;
-  /* these unfortunately dont take effect while loading, so...
-    text-align: center;
-    line-height: 2em;
-    text-shadow: 0 0 5px black;
-    font-style: oblique;
-    */
 }
 
 .reveal {
@@ -1029,17 +1011,6 @@ html[data-url-key="localized.home"] .carousel-container {
   height: 100%;
 }
 
-.vertical-square {
-  position: relative;
-  height: 100%;
-}
-
-.vertical-square::after {
-  content: "";
-  display: block;
-  padding-right: 100%;
-}
-
 /* Info card */
 
 #info-card-container {
diff --git a/src/upd8.js b/src/upd8.js
index fad3c7d8..920f9039 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -703,7 +703,6 @@ function img({
   function wrap(input, hide = false) {
     let wrapped = input;
 
-    wrapped = html.tag('div', {class: 'image-inner-area'}, wrapped);
     wrapped = html.tag('div', {class: 'image-container'}, wrapped);
 
     if (reveal) {
@@ -2124,11 +2123,10 @@ async function main() {
 
   if (noBuild) return;
 
-  // Makes writing a little nicer on CPU theoretically, 8ut also costs in
-  // performance right now 'cuz it'll w8 for file writes to 8e completed
-  // 8efore moving on to more data processing. So, defaults to zero, which
-  // disa8les the queue feature altogether.
-  queueSize = +(miscOptions['queue-size'] ?? 0);
+  // Makes writing nicer on the CPU and file I/O parts of the OS, with a
+  // marginal performance deficit while waiting for file writes to finish
+  // before proceeding to more page processing.
+  queueSize = +(miscOptions['queue-size'] ?? 500);
 
   const buildDictionary = pageSpecs;