Follower UI

This commit is contained in:
Tim Zöller 2025-12-04 08:09:44 +01:00
parent 8545a3f43b
commit 37d0e3132b
6 changed files with 429 additions and 5 deletions

View file

@ -194,8 +194,15 @@
const joinedDate = new Date(user.createdAt);
document.getElementById('joinedDate').textContent = joinedDate.toLocaleDateString('en-US', { month: 'long', year: 'numeric' });
// Followers/Following counts
if (user.followersCount !== undefined) {
document.getElementById('followersCount').textContent = user.followersCount;
}
if (user.followingCount !== undefined) {
document.getElementById('followingCount').textContent = user.followingCount;
}
// Stats (activities count will be loaded separately)
// Followers/Following counts TODO: implement when federation is ready
}
async function loadRecentActivities() {