mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
feat(app): redesign discovery and align skeletons with rendered UI
This commit is contained in:
1 parent
e054aa96be
commit
98c40c6979
380 files changed
+50869
-32207
No files matched your search
@@ -34,6 +34,17 @@ function getStatusExpiryDelay(status: CustomStatus | null): number | null {
|
||||
return Math.max(0, expiresAtMs - Date.now());
|
||||
}
|
||||
|
||||
export function hasVisibleCompactMemberCustomStatus(status: CustomStatus | null | undefined): boolean {
|
||||
const normalized = normalizeCustomStatus(status ?? null);
|
||||
if (!normalized || isCustomStatusExpired(normalized)) {
|
||||
return false;
|
||||
}
|
||||
if (normalized.emojiId != null || normalized.emojiName != null) {
|
||||
return true;
|
||||
}
|
||||
return sanitizeText(normalized.text ?? '').length > 0;
|
||||
}
|
||||
|
||||
const loadedStatusMediaUrls = new Set<string>();
|
||||
|
||||
function markStatusMediaLoaded(url: string): void {
|
||||
|
||||
Reference in new issue
Block a user