Dev #3
@@ -4074,38 +4074,6 @@ export const WorkspaceView: React.FC<WorkspaceViewProps> = ({
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Quick tag hopping pills */}
|
||||
{workspaceTags.length > 0 && (
|
||||
<div className="flex items-center gap-1.5 flex-wrap pt-1 border-t border-border">
|
||||
<span className="text-[11px] text-muted font-medium mr-1">Filter:</span>
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setSelectedTag(null)}
|
||||
className={`px-2 py-0.5 rounded-pill text-[11px] transition-colors ${
|
||||
selectedTag === null
|
||||
? 'bg-accent text-white font-semibold'
|
||||
: 'badge-neutral hover:border-accent hover:text-main'
|
||||
}`}
|
||||
>
|
||||
Alle ({workspaceTags.length})
|
||||
</button>
|
||||
{(tagSearchQuery ? filteredWorkspaceTags : workspaceTags).slice(0, 10).map((t) => (
|
||||
<button
|
||||
key={t.tag}
|
||||
type="button"
|
||||
onClick={() => openTagPage(t.tag)}
|
||||
className={`px-2 py-0.5 rounded-pill text-[11px] transition-colors ${
|
||||
selectedTag === t.tag
|
||||
? 'badge-accent font-semibold'
|
||||
: 'badge-neutral hover:border-accent hover:text-main'
|
||||
}`}
|
||||
>
|
||||
#{t.tag} ({t.count})
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* If NO tag is selected, show the big overview grid! */}
|
||||
|
||||
Reference in new issue
Block a user