forked from Furumi/furumi-web
fix: stop federated search from freezing the player
This commit is contained in:
1 parent
62f28066b3
commit
0394d40b75
8 files changed
+317
-193
No files matched your search
+70
-138
@@ -2626,7 +2626,8 @@ document.addEventListener('alpine:init', () => {
|
||||
trackAvailability: {},
|
||||
_federatedReleaseCache: {},
|
||||
federationLiked: [],
|
||||
_federationSearchSource: null,
|
||||
_cancelFederationSearch: null,
|
||||
failedFederationArtwork: new Set(),
|
||||
_artistFederationSource: null,
|
||||
_releaseFederationSource: null,
|
||||
releaseFederationLoading: false,
|
||||
@@ -2772,6 +2773,7 @@ document.addEventListener('alpine:init', () => {
|
||||
|
||||
_beginNavigation(hash, options = {}) {
|
||||
this.cancelPendingSearch();
|
||||
if (this._cancelFederationSearch && !hash.startsWith('#search?')) this.stopFederationSearch();
|
||||
if (!hash.startsWith('#artistfed')) this.stopArtistFederation();
|
||||
if (!hash.startsWith('#release/')) this.stopReleaseFederation();
|
||||
if (!options.fromHash) {
|
||||
@@ -3525,7 +3527,6 @@ document.addEventListener('alpine:init', () => {
|
||||
const data=await res.json();
|
||||
if(generation!==this._searchGeneration || controller.signal.aborted)return;
|
||||
this.searchResults=data;
|
||||
if(mode!=='lyrics')this.applyFederationArtworkFallbacks();
|
||||
} catch(error) {
|
||||
if(generation!==this._searchGeneration || controller.signal.aborted)return;
|
||||
this.searchResults={artists:[],releases:[],tracks:[]};
|
||||
@@ -3695,99 +3696,75 @@ document.addEventListener('alpine:init', () => {
|
||||
},
|
||||
|
||||
stopFederationSearch() {
|
||||
if (this._federationSearchSource) {
|
||||
this._federationSearchSource.close();
|
||||
this._federationSearchSource = null;
|
||||
}
|
||||
this._cancelFederationSearch?.();
|
||||
this.federationSearch = { loading: false, error: '', artists: [], releases: [], tracks: [] };
|
||||
},
|
||||
|
||||
startFederationSearch(query) {
|
||||
this.stopFederationSearch();
|
||||
this._cancelFederationSearch?.();
|
||||
this.failedFederationArtwork = new Set();
|
||||
this.federationSearch = { loading: true, error: '', artists: [], releases: [], tracks: [] };
|
||||
const source = new EventSource(`/api/player/federation/search/events?q=${encodeURIComponent(query)}`);
|
||||
this._federationSearchSource = source;
|
||||
const updateResults = (kind, keyFor, labelFor, entity) => {
|
||||
if (this._federationSearchSource !== source) return;
|
||||
const items = [...this.federationSearch[kind]];
|
||||
const key = keyFor(entity);
|
||||
const index = items.findIndex(item => keyFor(item) === key);
|
||||
if (index >= 0) items.splice(index, 1, entity);
|
||||
else items.push(entity);
|
||||
items.sort((left, right) => {
|
||||
const score = this.federationSearchScore(labelFor(right), query)
|
||||
- this.federationSearchScore(labelFor(left), query);
|
||||
return score || String(labelFor(left) || '').localeCompare(
|
||||
String(labelFor(right) || ''),
|
||||
undefined,
|
||||
{ sensitivity: 'base' },
|
||||
const results = { tracks: new Map(), artists: new Map(), releases: new Map() };
|
||||
const changed = new Set();
|
||||
const collator = new Intl.Collator(undefined, { sensitivity: 'base' });
|
||||
let batchTimer = null;
|
||||
let active = true;
|
||||
|
||||
const publish = () => {
|
||||
batchTimer = null;
|
||||
for (const kind of changed) {
|
||||
const ranked = Array.from(results[kind].values());
|
||||
ranked.sort((a, b) => b.score - a.score || collator.compare(a.label, b.label));
|
||||
this.federationSearch[kind] = ranked.map(({ entity }) =>
|
||||
kind === 'tracks' ? this.withTrackAvailability(entity) : entity
|
||||
);
|
||||
});
|
||||
this.federationSearch = { ...this.federationSearch, [kind]: items };
|
||||
}
|
||||
changed.clear();
|
||||
};
|
||||
const watchdog = window.setTimeout(() => {
|
||||
if (!this.federationSearch.loading || this._federationSearchSource !== source) return;
|
||||
this.federationSearch = {
|
||||
...this.federationSearch,
|
||||
error: 'Federation search timed out',
|
||||
loading: false,
|
||||
};
|
||||
const add = (kind, key, entity, label = '') => {
|
||||
if (!active || !key) return;
|
||||
results[kind].set(key, { entity, label, score: this.federationSearchScore(label, query) });
|
||||
changed.add(kind);
|
||||
if (batchTimer === null) batchTimer = window.setTimeout(publish, 50);
|
||||
};
|
||||
const finish = (error = '') => {
|
||||
if (!active) return;
|
||||
this._cancelFederationSearch();
|
||||
publish();
|
||||
this.federationSearch.error = error;
|
||||
this.federationSearch.loading = false;
|
||||
};
|
||||
const watchdog = window.setTimeout(() => finish('Federation search timed out'), 25000);
|
||||
this._cancelFederationSearch = () => {
|
||||
active = false;
|
||||
window.clearTimeout(watchdog);
|
||||
window.clearTimeout(batchTimer);
|
||||
source.close();
|
||||
this._federationSearchSource = null;
|
||||
}, 25000);
|
||||
const upsertTrack = event => {
|
||||
const payload = JSON.parse(event.data);
|
||||
const track = this.withTrackAvailability(payload.entity);
|
||||
if (!track?.key?.content_id) return;
|
||||
updateResults('tracks', item => item.key.content_id, item => item.metadata?.title, track);
|
||||
this._cancelFederationSearch = null;
|
||||
};
|
||||
source.addEventListener('federation.track', upsertTrack);
|
||||
|
||||
source.addEventListener('federation.track', event => {
|
||||
const track = JSON.parse(event.data).entity;
|
||||
add('tracks', track?.key?.content_id, track, track?.metadata?.title);
|
||||
});
|
||||
source.addEventListener('federation.artist', event => {
|
||||
const artist = this.withFederationArtistFallback(
|
||||
JSON.parse(event.data)?.entity
|
||||
);
|
||||
const key = artist?.key?.normalized_name;
|
||||
if (!key) return;
|
||||
updateResults('artists', item => item.key.normalized_name, item => item.name, artist);
|
||||
const artist = JSON.parse(event.data).entity;
|
||||
add('artists', artist?.key?.normalized_name, artist, artist?.name);
|
||||
});
|
||||
source.addEventListener('federation.release', event => {
|
||||
const release = this.hydrateFederationSearchRelease(
|
||||
JSON.parse(event.data)?.entity
|
||||
);
|
||||
if (!release?.key) return;
|
||||
updateResults('releases', item => JSON.stringify(item.key || {}), item => item.title, release);
|
||||
});
|
||||
source.addEventListener('search.completed', () => {
|
||||
window.clearTimeout(watchdog);
|
||||
if (this._federationSearchSource === source) {
|
||||
this.federationSearch = { ...this.federationSearch, loading: false };
|
||||
}
|
||||
source.close();
|
||||
if (this._federationSearchSource === source) this._federationSearchSource = null;
|
||||
const release = JSON.parse(event.data).entity;
|
||||
if (release?.key) add('releases', JSON.stringify(release.key), release, release.title);
|
||||
});
|
||||
source.addEventListener('search.completed', () => finish());
|
||||
source.addEventListener('search.failed', event => {
|
||||
window.clearTimeout(watchdog);
|
||||
let error = 'Federation search failed';
|
||||
try {
|
||||
error = JSON.parse(event.data)?.entity?.message || error;
|
||||
} catch {}
|
||||
if (this._federationSearchSource === source) {
|
||||
this.federationSearch = { ...this.federationSearch, error, loading: false };
|
||||
}
|
||||
source.close();
|
||||
if (this._federationSearchSource === source) this._federationSearchSource = null;
|
||||
finish(error);
|
||||
});
|
||||
source.onerror = () => {
|
||||
if (!this.federationSearch.loading || this._federationSearchSource !== source) return;
|
||||
window.clearTimeout(watchdog);
|
||||
this.federationSearch = {
|
||||
...this.federationSearch,
|
||||
error: 'Federation connection interrupted',
|
||||
loading: false,
|
||||
};
|
||||
source.close();
|
||||
if (this._federationSearchSource === source) this._federationSearchSource = null;
|
||||
};
|
||||
source.onerror = () => finish('Federation connection interrupted');
|
||||
},
|
||||
|
||||
normalizeFederationSearchText(value) {
|
||||
@@ -3828,10 +3805,20 @@ document.addEventListener('alpine:init', () => {
|
||||
.join(', ');
|
||||
},
|
||||
|
||||
availableFederationArtwork(url) {
|
||||
return url && !this.failedFederationArtwork.has(url) ? url : '';
|
||||
},
|
||||
|
||||
federationArtworkFailed(image) {
|
||||
image.classList.remove('artwork-loaded');
|
||||
const url = image.getAttribute('src');
|
||||
if (url) this.failedFederationArtwork.add(url);
|
||||
},
|
||||
|
||||
federationArtistImage(artist) {
|
||||
if (!artist?.name) return '';
|
||||
if (artist._federationArtworkFailed) return artist.local_image_url || '';
|
||||
return this.federationDiscoveredArtwork(artist.name);
|
||||
return this.availableFederationArtwork(this.federationDiscoveredArtwork(artist.name))
|
||||
|| this.availableFederationArtwork(this.localArtistImage(artist.name));
|
||||
},
|
||||
|
||||
localArtistImage(name) {
|
||||
@@ -3841,38 +3828,6 @@ document.addEventListener('alpine:init', () => {
|
||||
)?.image_url || '';
|
||||
},
|
||||
|
||||
withFederationArtistFallback(artist) {
|
||||
if (!artist) return artist;
|
||||
return { ...artist, local_image_url: this.localArtistImage(artist.name) };
|
||||
},
|
||||
|
||||
applyFederationArtworkFallbacks() {
|
||||
this.federationSearch = {
|
||||
...this.federationSearch,
|
||||
artists: this.federationSearch.artists.map(artist =>
|
||||
this.withFederationArtistFallback(artist)
|
||||
),
|
||||
};
|
||||
},
|
||||
|
||||
federationArtistImageFailed(artist) {
|
||||
const key = artist?.key?.normalized_name;
|
||||
if (!key) return;
|
||||
this.federationSearch = {
|
||||
...this.federationSearch,
|
||||
artists: this.federationSearch.artists.map(candidate =>
|
||||
candidate?.key?.normalized_name === key
|
||||
? {
|
||||
...candidate,
|
||||
_federationArtworkFailed: true,
|
||||
local_image_url: candidate.local_image_url
|
||||
|| this.localArtistImage(candidate.name),
|
||||
}
|
||||
: candidate
|
||||
),
|
||||
};
|
||||
},
|
||||
|
||||
hydrateFederationSearchRelease(release) {
|
||||
if (!release) return release;
|
||||
const title = this.normalizeFederationSearchText(release.title);
|
||||
@@ -3899,27 +3854,8 @@ document.addEventListener('alpine:init', () => {
|
||||
|
||||
federationReleaseCover(release) {
|
||||
if (!release) return '';
|
||||
if (release._federationArtworkFailed) return release._discoveredCoverUrl || '';
|
||||
return release.cover_url
|
||||
|| this.federationDiscoveredArtwork(release.artists?.[0], release.title);
|
||||
},
|
||||
|
||||
federationReleaseCoverFailed(release, failedUrl) {
|
||||
const discovered = this.federationDiscoveredArtwork(release?.artists?.[0], release?.title);
|
||||
if (!release?.key) return;
|
||||
const key = JSON.stringify(release.key);
|
||||
this.federationSearch = {
|
||||
...this.federationSearch,
|
||||
releases: this.federationSearch.releases.map(candidate =>
|
||||
JSON.stringify(candidate?.key) === key
|
||||
? {
|
||||
...candidate,
|
||||
_federationArtworkFailed: true,
|
||||
_discoveredCoverUrl: failedUrl === discovered ? '' : discovered,
|
||||
}
|
||||
: candidate
|
||||
),
|
||||
};
|
||||
return this.availableFederationArtwork(release.cover_url)
|
||||
|| this.availableFederationArtwork(this.federationDiscoveredArtwork(release.artists?.[0], release.title));
|
||||
},
|
||||
|
||||
federationDiscoveredArtwork(artist, release = '') {
|
||||
@@ -4103,17 +4039,13 @@ document.addEventListener('alpine:init', () => {
|
||||
...change,
|
||||
content_id: contentId,
|
||||
};
|
||||
this.trackAvailability = {
|
||||
...this.trackAvailability,
|
||||
[contentId]: availability,
|
||||
};
|
||||
this.trackAvailability[contentId] = availability;
|
||||
const updateTrack = track => track?.key?.content_id === contentId
|
||||
? this.withTrackAvailability(track)
|
||||
: track;
|
||||
this.federationSearch = {
|
||||
...this.federationSearch,
|
||||
tracks: this.federationSearch.tracks.map(updateTrack),
|
||||
};
|
||||
const searchTracks = this.federationSearch.tracks;
|
||||
const index = searchTracks.findIndex(track => track.key?.content_id === contentId);
|
||||
if (index >= 0) searchTracks[index] = this.withTrackAvailability(searchTracks[index]);
|
||||
this.artistFederation = {
|
||||
...this.artistFederation,
|
||||
tracks: this.artistFederation.tracks.map(updateTrack),
|
||||
|
||||
@@ -1,8 +1,13 @@
|
||||
<script>
|
||||
document.addEventListener('alpine:init',()=>{
|
||||
const closeTimers = new Map();
|
||||
Alpine.store('searchGroups',{
|
||||
expanded:{},
|
||||
reset(){this.expanded={};},
|
||||
states: {},
|
||||
reset() {
|
||||
for (const timer of closeTimers.values()) clearTimeout(timer);
|
||||
closeTimers.clear();
|
||||
this.states = {};
|
||||
},
|
||||
normalize(value){return String(value || '').normalize('NFKC').trim().replace(/\s+/g,' ').toLowerCase();},
|
||||
key(track,source){
|
||||
const metadata=track.metadata || track;
|
||||
@@ -12,34 +17,59 @@ document.addEventListener('alpine:init',()=>{
|
||||
return JSON.stringify([source,this.normalize(metadata.title),artists]);
|
||||
},
|
||||
rowId(track,source){return 'search-version-'+source+'-'+encodeURIComponent(String(track.key?.content_id || track.id));},
|
||||
rows(tracks,source,enabled=true){
|
||||
const groups=new Map();
|
||||
for(const [index,track] of (tracks || []).entries()){
|
||||
const key=enabled?this.key(track,source):JSON.stringify([source,index]);
|
||||
if(!groups.has(key))groups.set(key,[]);
|
||||
groups.get(key).push({track,index});
|
||||
rows(tracks, source, enabled = true) {
|
||||
const groups = new Map();
|
||||
for (const [index, track] of (tracks || []).entries()) {
|
||||
const key = enabled ? this.key(track, source) : JSON.stringify([source, index]);
|
||||
if (!groups.has(key)) groups.set(key, []);
|
||||
groups.get(key).push({ track, index });
|
||||
}
|
||||
const rows=[];let number=0;
|
||||
for(const [key,members] of groups){
|
||||
const rows = [];
|
||||
let number = 0;
|
||||
for (const [key, members] of groups) {
|
||||
const state = this.states[key];
|
||||
const count = state ? members.length : 1;
|
||||
const headIndex = rows.length;
|
||||
const controls = [];
|
||||
number++;
|
||||
const expanded=!!this.expanded[key];
|
||||
const controls=members.slice(1).map(({track})=>this.rowId(track,source)).join(' ');
|
||||
for(const [version,{track,index}] of members.entries())rows.push({
|
||||
...track,
|
||||
_searchSourceIndex:index,
|
||||
_searchRowId:this.rowId(track,source),
|
||||
_searchGroupKey:key,
|
||||
_searchGroupCount:members.length,
|
||||
_searchGroupNumber:number,
|
||||
_searchGroupChild:version>0,
|
||||
_searchGroupExpanded:expanded,
|
||||
_searchGroupHidden:version>0&&!expanded,
|
||||
_searchGroupControls:controls,
|
||||
});
|
||||
for (let version = 0; version < count; version++) {
|
||||
const { track, index } = members[version];
|
||||
const id = this.rowId(track, source);
|
||||
if (version > 0) controls.push(id);
|
||||
rows.push({
|
||||
...track,
|
||||
_searchSourceIndex: index,
|
||||
_searchRowId: id,
|
||||
_searchGroupKey: key,
|
||||
_searchGroupCount: members.length,
|
||||
_searchGroupNumber: number,
|
||||
_searchGroupChild: version > 0,
|
||||
_searchGroupExpanded: state === 'open',
|
||||
_searchGroupHidden: version > 0 && state === 'closing',
|
||||
_searchGroupControls: null,
|
||||
});
|
||||
}
|
||||
if (controls.length) rows[headIndex]._searchGroupControls = controls.join(' ');
|
||||
}
|
||||
return rows;
|
||||
},
|
||||
toggle(track){this.expanded={...this.expanded,[track._searchGroupKey]:!this.expanded[track._searchGroupKey]};},
|
||||
toggle(track) {
|
||||
const key = track._searchGroupKey;
|
||||
clearTimeout(closeTimers.get(key));
|
||||
closeTimers.delete(key);
|
||||
if (this.states[key] !== 'open') {
|
||||
this.states[key] = 'open';
|
||||
} else if (window.matchMedia('(prefers-reduced-motion: reduce)').matches) {
|
||||
delete this.states[key];
|
||||
} else {
|
||||
// Keep the children mounted through the 160 ms grid transition.
|
||||
this.states[key] = 'closing';
|
||||
closeTimers.set(key, setTimeout(() => {
|
||||
delete this.states[key];
|
||||
closeTimers.delete(key);
|
||||
}, 180));
|
||||
}
|
||||
},
|
||||
label(track){
|
||||
const ru=document.documentElement.lang.startsWith('ru');
|
||||
return (track._searchGroupExpanded?(ru?'Свернуть версии':'Collapse versions'):(ru?'Показать версии':'Show versions'))+' ('+track._searchGroupCount+')';
|
||||
|
||||
+14
-16
@@ -518,7 +518,7 @@
|
||||
<span style="text-align:right">{{ t.player_duration }}</span>
|
||||
</div>
|
||||
<template x-for="(track, idx) in $store.searchGroups.rows($store.library.searchResults.tracks,'local',!$store.library.similaritySearchLabel)" :key="track.id">
|
||||
<div class="search-result-entry" data-search-source="local" :id="track._searchRowId" :class="{ 'search-result-hidden':track._searchGroupHidden }" :aria-hidden="track._searchGroupHidden" :inert="track._searchGroupHidden ? true : null" :style="$store.library.similaritySearchLabel ? `order:${$store.library.similarityTrackOrder(track)}` : ''"><div class="search-result-clip">
|
||||
<div class="search-result-entry" data-search-source="local" :id="track._searchRowId" :class="{ 'search-result-variant':track._searchGroupChild, 'search-result-hidden':track._searchGroupHidden }" :aria-hidden="track._searchGroupHidden" :inert="track._searchGroupHidden ? true : null" :style="$store.library.similaritySearchLabel ? `order:${$store.library.similarityTrackOrder(track)}` : ''"><div class="search-result-clip">
|
||||
<div class="track-row"
|
||||
:class="{ 'search-track-variant':track._searchGroupChild, playing: $store.player.currentTrack && $store.player.currentTrack.id === track.id }"
|
||||
|
||||
@@ -611,13 +611,12 @@
|
||||
<div class="search-artist-card federation-entity-card"
|
||||
@click="$store.library.openFederatedArtist(artist)">
|
||||
<div class="search-artist-img">
|
||||
<img x-show="$store.library.federationArtistImage(artist)"
|
||||
class="artwork-image"
|
||||
:src="$store.library.federationArtistImage(artist)"
|
||||
alt="" aria-hidden="true"
|
||||
loading="lazy"
|
||||
@load="$event.currentTarget.classList.add('artwork-loaded')"
|
||||
@error="$event.currentTarget.classList.remove('artwork-loaded'); $store.library.federationArtistImageFailed(artist)">
|
||||
<template x-if="$store.library.federationArtistImage(artist)">
|
||||
<img class="artwork-image" :src="$store.library.federationArtistImage(artist) || null"
|
||||
alt="" aria-hidden="true" loading="lazy"
|
||||
@load="$event.currentTarget.classList.add('artwork-loaded')"
|
||||
@error="$store.library.federationArtworkFailed($event.currentTarget)">
|
||||
</template>
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">
|
||||
<circle cx="12" cy="8" r="4"/><path d="M20 21a8 8 0 10-16 0"/>
|
||||
</svg>
|
||||
@@ -636,13 +635,12 @@
|
||||
<div class="search-release-card federation-entity-card"
|
||||
@click="$store.library.openFederatedRelease($store.library.hydrateFederationSearchRelease(release))">
|
||||
<div class="search-release-cover">
|
||||
<img x-show="$store.library.federationReleaseCover(release)"
|
||||
class="artwork-image"
|
||||
:src="$store.library.federationReleaseCover(release)"
|
||||
alt="" aria-hidden="true"
|
||||
loading="lazy"
|
||||
@load="$event.currentTarget.classList.add('artwork-loaded')"
|
||||
@error="$event.currentTarget.classList.remove('artwork-loaded'); $store.library.federationReleaseCoverFailed(release, $event.currentTarget.getAttribute('src'))">
|
||||
<template x-if="$store.library.federationReleaseCover(release)">
|
||||
<img class="artwork-image" :src="$store.library.federationReleaseCover(release) || null"
|
||||
alt="" aria-hidden="true" loading="lazy"
|
||||
@load="$event.currentTarget.classList.add('artwork-loaded')"
|
||||
@error="$store.library.federationArtworkFailed($event.currentTarget)">
|
||||
</template>
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">
|
||||
<rect x="3" y="3" width="18" height="18" rx="2"/><circle cx="12" cy="12" r="4"/>
|
||||
</svg>
|
||||
@@ -655,7 +653,7 @@
|
||||
</div>
|
||||
<template x-for="(track, idx) in $store.searchGroups.rows($store.library.federationSearch.tracks,'federation',!$store.library.similaritySearchLabel)"
|
||||
:key="track.key.content_id">
|
||||
<div class="search-result-entry" data-search-source="federation" :id="track._searchRowId" :class="{ 'search-result-hidden':track._searchGroupHidden }" :aria-hidden="track._searchGroupHidden" :inert="track._searchGroupHidden ? true : null" :style="$store.library.similaritySearchLabel ? `order:${$store.library.similarityTrackOrder(track)}` : ''"><div class="search-result-clip">
|
||||
<div class="search-result-entry" data-search-source="federation" :id="track._searchRowId" :class="{ 'search-result-variant':track._searchGroupChild, 'search-result-hidden':track._searchGroupHidden }" :aria-hidden="track._searchGroupHidden" :inert="track._searchGroupHidden ? true : null" :style="$store.library.similaritySearchLabel ? `order:${$store.library.similarityTrackOrder(track)}` : ''"><div class="search-result-clip">
|
||||
<div class="track-row federation-track-row" :class="{ 'search-track-variant':track._searchGroupChild }"
|
||||
|
||||
tabindex="0" @click="if ($event.detail < 2) { $store.library.similaritySearchLabel ? $store.library.playSimilarityResult($store.library.federationQueueTrack(track)) : $store.library.playFederatedTrack(track) }" @dblclick.stop @keydown.enter.self.prevent="$store.library.similaritySearchLabel ? $store.library.playSimilarityResult($store.library.federationQueueTrack(track)) : $store.library.playFederatedTrack(track)">
|
||||
|
||||
@@ -2796,6 +2796,9 @@ button.user-stat:hover {
|
||||
/* Search results */
|
||||
.search-result-entry {display:grid;grid-template-rows:1fr;opacity:1;transition:grid-template-rows 160ms ease-out,opacity 130ms ease-out}
|
||||
.search-result-entry.search-result-hidden {grid-template-rows:0fr;opacity:0;pointer-events:none}
|
||||
@starting-style {
|
||||
.search-result-entry.search-result-variant {grid-template-rows:0fr;opacity:0}
|
||||
}
|
||||
.search-result-clip {min-height:0;overflow:hidden}
|
||||
.search-track-title {display:flex;align-items:center;gap:6px}
|
||||
.search-track-name {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
||||
|
||||
Reference in new issue
Block a user