user profile btn in social nav now only is active for current logged in user, added NSFW tag for admin tagged ones, mod search under a specific game, search term and some filters added to url, filter state is saved locally in cache, user search now works #108

Merged
freakoverse merged 21 commits from staging into master 2024-10-30 16:00:24 +00:00
Showing only changes of commit 15af98359d - Show all commits

View File

@ -212,7 +212,7 @@ export const ProfilePage = () => {
kind: NDKKind.MuteList, kind: NDKKind.MuteList,
content: muteListEvent.content, content: muteListEvent.content,
created_at: now(), created_at: now(),
tags: tags.filter((item) => item[0] !== 'a' || item[1] !== profilePubkey) tags: tags.filter((item) => item[0] !== 'p' || item[1] !== profilePubkey)
} }
setLoadingSpinnerDesc('Updating mute list event') setLoadingSpinnerDesc('Updating mute list event')
@ -420,7 +420,6 @@ export const ProfilePage = () => {
</svg> </svg>
Share Share
</a> </a>
{!isOwnProfile && (
<> <>
<a <a
className='dropdown-item dropdownMainMenuItem' className='dropdown-item dropdownMainMenuItem'
@ -456,7 +455,6 @@ export const ProfilePage = () => {
{isBlocked ? 'Unblock' : 'Block User'} {isBlocked ? 'Unblock' : 'Block User'}
</a> </a>
</> </>
)}
</div> </div>
</div> </div>
</div> </div>