« get me outta code hell

content: gAIP{*}Chunk: name detail for chunk link - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2026-06-03 20:05:45 -0300
committer(quasar) nebula <qznebula@protonmail.com>2026-06-03 20:05:45 -0300
commitaee74d1a422ca41a2f7fac7cf4cbc5e9285243a8 (patch)
tree1984de1df1c9e3558dafe35f3f8fd3208a6f5564
parentb8d5e44b2c6aaaa55751fcbaedad722f8c2dcfec (diff)
content: gAIP{*}Chunk: name detail for chunk link preview
-rw-r--r--src/content/dependencies/generateArtistInfoPageAdditionalFilesChunk.js5
-rw-r--r--src/content/dependencies/generateArtistInfoPageArtworksChunk.js4
-rw-r--r--src/content/dependencies/generateArtistInfoPageCommentaryChunkedList.js3
-rw-r--r--src/content/dependencies/generateArtistInfoPageFlashesChunk.js6
-rw-r--r--src/content/dependencies/generateArtistInfoPageMusicVideosChunk.js2
-rw-r--r--src/content/dependencies/generateArtistInfoPageTracksChunk.js2
6 files changed, 18 insertions, 4 deletions
diff --git a/src/content/dependencies/generateArtistInfoPageAdditionalFilesChunk.js b/src/content/dependencies/generateArtistInfoPageAdditionalFilesChunk.js
index 353ad047..53bc103f 100644
--- a/src/content/dependencies/generateArtistInfoPageAdditionalFilesChunk.js
+++ b/src/content/dependencies/generateArtistInfoPageAdditionalFilesChunk.js
@@ -28,7 +28,10 @@ export default {
   generate: (relations, slots, {html}) =>
     relations.template.slots({
       mode: 'album',
-      link: relations.albumLink,
+
+      link:
+        relations.albumLink
+          .slot('showNameDetail', 'accent'),
 
       list:
         html.tag('ul',
diff --git a/src/content/dependencies/generateArtistInfoPageArtworksChunk.js b/src/content/dependencies/generateArtistInfoPageArtworksChunk.js
index eb15d54b..f98b1e85 100644
--- a/src/content/dependencies/generateArtistInfoPageArtworksChunk.js
+++ b/src/content/dependencies/generateArtistInfoPageArtworksChunk.js
@@ -28,7 +28,9 @@ export default {
   generate: (data, relations, slots, {html}) =>
     relations.template.slots({
       mode: 'album',
-      link: relations.albumLink,
+      link:
+        relations.albumLink
+          .slot('showNameDetail', 'accent'),
 
       dates:
         (slots.filterEditsForWiki
diff --git a/src/content/dependencies/generateArtistInfoPageCommentaryChunkedList.js b/src/content/dependencies/generateArtistInfoPageCommentaryChunkedList.js
index 6b603375..f5e28773 100644
--- a/src/content/dependencies/generateArtistInfoPageCommentaryChunkedList.js
+++ b/src/content/dependencies/generateArtistInfoPageCommentaryChunkedList.js
@@ -284,7 +284,8 @@ export default {
             }
 
             chunk.setSlots({
-              link: chunkLink,
+              link:
+                chunkLink.slot('showNameDetail', 'accent'),
 
               list:
                 html.tag('ul',
diff --git a/src/content/dependencies/generateArtistInfoPageFlashesChunk.js b/src/content/dependencies/generateArtistInfoPageFlashesChunk.js
index ce89d80c..733c8fa4 100644
--- a/src/content/dependencies/generateArtistInfoPageFlashesChunk.js
+++ b/src/content/dependencies/generateArtistInfoPageFlashesChunk.js
@@ -21,7 +21,11 @@ export default {
   generate: (data, relations, {html}) =>
     relations.template.slots({
       mode: 'flash',
-      link: relations.flashActLink,
+
+      link:
+        relations.flashActLink
+          .slot('showNameDetail', 'accent'),
+
       dates: data.dates,
 
       list:
diff --git a/src/content/dependencies/generateArtistInfoPageMusicVideosChunk.js b/src/content/dependencies/generateArtistInfoPageMusicVideosChunk.js
index 6912d4d6..9ac7debf 100644
--- a/src/content/dependencies/generateArtistInfoPageMusicVideosChunk.js
+++ b/src/content/dependencies/generateArtistInfoPageMusicVideosChunk.js
@@ -35,6 +35,8 @@ export default {
           const creditCapsule = workingCapsule + '.credit';
           const workingOptions = {album: relations.albumLink};
 
+          relations.albumLink.setSlot('showNameDetail', 'accent');
+
           relations.albumArtistCredit.setSlots({
             normalStringKey: creditCapsule + '.by',
           });
diff --git a/src/content/dependencies/generateArtistInfoPageTracksChunk.js b/src/content/dependencies/generateArtistInfoPageTracksChunk.js
index 7a7fc6a9..607f1f53 100644
--- a/src/content/dependencies/generateArtistInfoPageTracksChunk.js
+++ b/src/content/dependencies/generateArtistInfoPageTracksChunk.js
@@ -159,6 +159,8 @@ export default {
           const creditCapsule = workingCapsule + '.credit';
           const workingOptions = {album: relations.albumLink};
 
+          relations.albumLink.setSlot('showNameDetail', 'accent');
+
           relations.albumArtistCredit.setSlots({
             normalStringKey: creditCapsule + '.by',
           });