« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--site.css4
-rw-r--r--upd8.js6
2 files changed, 2 insertions, 8 deletions
diff --git a/site.css b/site.css
index 587138e6..f10af38a 100644
--- a/site.css
+++ b/site.css
@@ -140,10 +140,6 @@ h1 {
     margin-bottom: 10px;
 }
 
-li.contributed-only-original {
-    opacity: 0.7;
-}
-
 #top-index #content h1 {
     text-align: center;
     font-size: 2em;
diff --git a/upd8.js b/upd8.js
index d169d820..c2aaad31 100644
--- a/upd8.js
+++ b/upd8.js
@@ -671,8 +671,7 @@ async function writeArtistPage(artistName, albumData) {
     const allTracks = getAllTracks(albumData);
     const tracks = sortByDate(allTracks.filter(track => (
         track.artists.includes(artistName) ||
-        track.contributors.some(({ who }) => who === artistName) ||
-        getTracksReferencedBy(track, allTracks).some(track => track.artists.includes(artistName))
+        track.contributors.some(({ who }) => who === artistName)
     )));
     const artThings = sortByDate(albumData.concat(allTracks).filter(thing => (thing.coverArtists || []).some(({ who }) => who === artistName)));
     const commentaryThings = sortByDate(albumData.concat(allTracks).filter(thing => thing.commentary && thing.commentary.includes('<i>' + artistName + ':</i>')));
@@ -705,7 +704,6 @@ async function writeArtistPage(artistName, albumData) {
                     ].filter(Boolean).join(', ')}</p>
                     ${tracks.length && fixWS`
                         <h2 id="tracks">Tracks</h2>
-                        <p>Dim tracks are tracks that this artist contributed only a based-upon song to.</p>
                         <ol>
                             ${tracks.map(track => {
                                 const contrib = {
@@ -720,7 +718,7 @@ async function writeArtistPage(artistName, albumData) {
                                     contrib.what = nonTracks.join(', ');
                                 }
                                 return fixWS`
-                                    <li class="${!track.artists.includes(artistName) && `contributed ${track.contributors.filter(({ who }) => who === artistName).every(({ what }) => what && what.startsWith('[') && what.endsWith(']')) && 'contributed-only-original'}`}">
+                                    <li class="${!track.artists.includes(artistName) && `contributed`}">
                                         <a href="${TRACK_DIRECTORY}/${track.directory}/index.html">${track.name}</a>
                                         ${track.artists.includes(artistName) && track.artists.length > 1 && `<span="contributed">(with ${getArtistString(track.artists.filter(a => a !== artistName))})</span>`}
                                         ${contrib.what && `<span class="contributed">(${getContributionString(contrib, tracks) || 'contributed'})</span>`}