alpha
Login
or
Join now
atpota.to
/
cred.blue
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
fix alt text card emoji
author
damedotblog
date
1 year ago
(Jan 31, 2025, 3:23 PM -0500)
commit
ab36dbbe
ab36dbbe481a34669e62e6accf2ccc2e151e37d2
parent
67fb9c1d
67fb9c1db24c33b5ab7454afe38bf75879ff99c8
+11
-11
2 changed files
Expand all
Collapse all
Unified
Split
src
components
UserProfile
components
AltTextCard.js
ProfileCard.js
+4
-4
src/components/UserProfile/components/AltTextCard.js
Reviewed
···
48
48
} = postStats;
49
49
50
50
let emoji = emojis[0];
51
51
-
if (altTextPercentage >= 75) {
51
51
+
if (altTextPercentage >= 0.75) {
52
52
emoji = emojis[3];
53
53
-
} else if (altTextPercentage >= 50) {
53
53
+
} else if (altTextPercentage >= 0.50) {
54
54
emoji = emojis[2];
55
55
-
} else if (altTextPercentage >= 25) {
55
55
+
} else if (altTextPercentage >= 0.25) {
56
56
emoji = emojis[1];
57
57
}
58
58
···
119
119
</ul>
120
120
<h2>
121
121
<strong>
122
122
-
Score: {analysis.altTextPercentage.toFixed(2)}% {analysis.emoji}
122
122
+
Score: {analysis.altTextPercentage.toFixed(0)}% {analysis.emoji}
123
123
</strong>
124
124
</h2>
125
125
<div className="gauge-container">
+7
-7
src/components/UserProfile/components/ProfileCard.js
Reviewed
···
27
27
<strong>Contextual Age:</strong> {new Intl.NumberFormat('en-US', { style: 'percent', minimumFractionDigits: 0 }).format(accountData.agePercentage)} of Bluesky's history
28
28
</p>
29
29
<p>
30
30
-
<strong>PDS Host:</strong> {accountData.serviceEndpoint}
30
30
+
<strong>Era:</strong> {accountData.era}
31
31
</p>
32
32
<p>
33
33
-
<strong>PDS Type:</strong> {accountData.pdsType} Server
33
33
+
<strong>Posting Style:</strong> {accountData.postingStyle}
34
34
</p>
35
35
<p>
36
36
-
<strong>Profile Edited:</strong> {accountData.profileEditedDate}
36
36
+
<strong>Social Status:</strong> {accountData.socialStatus}
37
37
</p>
38
38
<p>
39
39
-
<strong>Profile State:</strong> {accountData.profileCompletion}
39
39
+
<strong>PDS Type:</strong> {accountData.pdsType} Server
40
40
</p>
41
41
<p>
42
42
-
<strong>Era:</strong> {accountData.era}
42
42
+
<strong>PDS Host:</strong> {accountData.serviceEndpoint}
43
43
</p>
44
44
<p>
45
45
-
<strong>Posting Style:</strong> {accountData.postingStyle}
45
45
+
<strong>Profile Edited:</strong> {accountData.profileEditedDate}
46
46
</p>
47
47
<p>
48
48
-
<strong>Social Status:</strong> {accountData.socialStatus}
48
48
+
<strong>Profile State:</strong> {accountData.profileCompletion}
49
49
</p>
50
50
</>
51
51
);