feat(catalog filters): add filter by user address, display name or anonymous, mod role

This commit is contained in:
Tom (plebeius.eth)
2025-03-07 18:27:27 +01:00
parent 22b828b3e8
commit 70f640ecca
2 changed files with 167 additions and 1 deletions
@@ -55,6 +55,18 @@ const FiltersProtip = () => {
<code>idolm*ster</code> this can match <em>"idolmaster"</em> or <em>"idolm@ster"</em>, etc
</li>
</ul>
<ul>
<strong>Filtering by display name or user ID</strong>
<li>
Prefix the pattern with <code>#</code> to search by <em>user ID</em>: <code>#GPPr4CQSRCt8</code>
</li>
<li>
Prefix the pattern with <code>##</code> to search by <em>name</em>: <code>##Anonymous</code>
</li>
<li>
To filter by <em>role</em>: <code>#!#owner</code>, <code>#!#admin</code>, <code>#!#moderator</code> (or <code>#!#mod</code>)
</li>
</ul>
<ul>
<strong>It is also possible to filter by regular expression:</strong>
<li>
@@ -75,6 +87,9 @@ const FiltersProtip = () => {
<li>
<strong>On</strong> enables or disables the filter.
</li>
<li>
<strong>Color</strong> highlights matched threads with the specified color.
</li>
<li>
<strong>Hide</strong> hides matched threads.
</li>