A music player that connects to your cloud/distributed storage.
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: reduce opacity status icons on dashboard

+20 -8
+16 -8
src/common/pages/version-upgrade.js
··· 137 137 * } 138 138 * ``` 139 139 */ 140 - export function getLatestArtifact(artifacts, { includePrerelease = true } = {}) { 140 + export function getLatestArtifact( 141 + artifacts, 142 + { includePrerelease = true } = {}, 143 + ) { 141 144 return Object.values(artifacts).reduce( 142 145 /** @param {{ version: string, cid: string } | null} max */ 143 146 (max, artifact) => { 144 147 if (!canParse(artifact.version)) return max; 145 - if (!includePrerelease && parseSemver(artifact.version).prerelease?.length) return max; 148 + if ( 149 + !includePrerelease && parseSemver(artifact.version).prerelease?.length 150 + ) return max; 146 151 if (!max) return artifact; 147 - return greaterThan(parseSemver(artifact.version), parseSemver(max.version)) 152 + return greaterThan( 153 + parseSemver(artifact.version), 154 + parseSemver(max.version), 155 + ) 148 156 ? artifact 149 157 : max; 150 158 }, ··· 183 191 const isDiffuseDomain = document.location.hostname.endsWith("diffuse.sh"); 184 192 185 193 if (!isDiffuseDomain) { 186 - document.querySelectorAll("#status a").forEach((el) => { 187 - el.classList.add("hidden"); 188 - }); 194 + // document.querySelectorAll("#status a").forEach((el) => { 195 + // el.classList.add("hidden"); 196 + // }); 189 197 190 198 return; 191 199 } ··· 199 207 { with: { type: "json" } } 200 208 ).catch(() => ({ default: {} })); 201 209 202 - const currentIsStable = 203 - canParse(versionOrCid) && !parseSemver(versionOrCid).prerelease?.length; 210 + const currentIsStable = canParse(versionOrCid) && 211 + !parseSemver(versionOrCid).prerelease?.length; 204 212 const lastArtifact = getLatestArtifact(artifacts, { 205 213 includePrerelease: !currentIsStable, 206 214 });
+4
src/styles/diffuse/page.css
··· 918 918 } 919 919 } 920 920 921 + .diffuse-logo-container--condensed #status a { 922 + opacity: 0.25; 923 + } 924 + 921 925 /** 922 926 * 😶‍🌫️ 923 927 */