Reduce profile bio/website hidden logic to 10 followers from 100 and add a new check to bypass this if they have more than 10 posts

pull/6613/head
Daniel Supernault 4 months ago
parent ef3fdeeca3
commit 4c803c2857
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

File diff suppressed because one or more lines are too long

@ -3,7 +3,7 @@
"/js/activity.js": "/js/activity.js?id=5ff0d41f0c063205e2fd27b7d3a89d40",
"/js/components.js": "/js/components.js?id=6e1d1eba5b3a8d160ccd2b7203f29deb",
"/js/discover.js": "/js/discover.js?id=952469fb673a19bf07f5640d8c31d6a8",
"/js/profile.js": "/js/profile.js?id=8ad0a774ba01055efb261843c462328e",
"/js/profile.js": "/js/profile.js?id=b11d67911aecc9c55a5c6d3138bc5c80",
"/js/status.js": "/js/status.js?id=1e860329ca7143f91a6c5fb807ac9744",
"/js/timeline.js": "/js/timeline.js?id=d9407d6ced550261b583f0bba2c2676e",
"/js/compose.js": "/js/compose.js?id=026f9f5ad4c97335697df06eb89458fc",

@ -138,11 +138,11 @@
<div v-if="profile.pronouns" class="text-muted small">{{profile.pronouns.join('/')}}</div>
</div>
<div v-if="profile.note">
<p v-if="user || profile.followers_count > 100" class="mb-0" v-html="profile.note"></p>
<p v-if="user || profile.followers_count > 10 || profile.statuses_count > 10" class="mb-0" v-html="profile.note"></p>
<p v-else ></p>
</div>
<p v-if="profile.website">
<a v-if="user || profile.followers_count > 100" :href="profile.website" class="profile-website small" rel="me external nofollow noopener" target="_blank">{{formatWebsite(profile.website)}}</a>
<a v-if="user || profile.followers_count > 10 || profile.statuses_count > 10" :href="profile.website" class="profile-website small" rel="me external nofollow noopener" target="_blank">{{formatWebsite(profile.website)}}</a>
<span class="profile-website small"></span>
</p>
<p class="d-flex small text-muted align-items-center">

Loading…
Cancel
Save