feat(dashboard): drop NEW badges in sidebar, mark 9Remote as HOT
Remove NEW tags from the Media Providers accordion and its sub-items; relabel the 9Remote entry tag NEW -> HOT with an orange accent. Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
1 parent
b58bd80406
commit
2afa8dafd1
1 file changed
+2
-8
@@ -203,9 +203,6 @@ export default function Sidebar({ onClose }) {
|
||||
>
|
||||
<span className="material-symbols-outlined text-[18px]">perm_media</span>
|
||||
<span className="text-[13px] font-medium flex-1 text-left">Media Providers</span>
|
||||
{MEDIA_PROVIDER_KINDS.some((k) => VISIBLE_MEDIA_KINDS.includes(k.id) && k.isNew) && (
|
||||
<span className="text-[10px] font-semibold px-1.5 py-0.5 rounded-[3px] bg-green-500/15 text-green-400">NEW</span>
|
||||
)}
|
||||
<span className="material-symbols-outlined text-[14px] transition-transform" style={{ transform: mediaOpen ? "rotate(180deg)" : "rotate(0deg)" }}>
|
||||
expand_more
|
||||
</span>
|
||||
@@ -226,9 +223,6 @@ export default function Sidebar({ onClose }) {
|
||||
>
|
||||
<span className="material-symbols-outlined text-[16px]">{kind.icon}</span>
|
||||
<span className="text-sm">{kind.label}</span>
|
||||
{kind.isNew && (
|
||||
<span className="ml-auto text-[10px] font-semibold px-1.5 py-0.5 rounded-[3px] bg-green-500/15 text-green-400">NEW</span>
|
||||
)}
|
||||
</Link>
|
||||
))}
|
||||
<Link
|
||||
@@ -312,8 +306,8 @@ export default function Sidebar({ onClose }) {
|
||||
computer
|
||||
</span>
|
||||
<span className="text-[13px] font-medium">9Remote</span>
|
||||
<span className="ml-auto text-[10px] font-semibold px-1.5 py-0.5 rounded-[3px] bg-green-500/15 text-green-400">
|
||||
NEW
|
||||
<span className="ml-auto text-[10px] font-semibold px-1.5 py-0.5 rounded-[3px] bg-orange-500/15 text-orange-400">
|
||||
HOT
|
||||
</span>
|
||||
</button>
|
||||
|
||||
|
||||
Reference in new issue
Block a user