From 8af860cd7e963c149ef521b3728ef76ce791c0ea Mon Sep 17 00:00:00 2001 From: psmattas Date: Tue, 18 Aug 2026 16:58:14 +0100 Subject: [PATCH] feat(settings): mark Workspace category Coming Soon in the sidebar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Shows a small tertiary-styled 'Coming Soon' next to the category header whenever every section under it is still !isImplemented — not hardcoded to Workspace specifically, so it stops on its own once real Workspace sections start landing instead of needing a manual follow-up removal. --- Outpost/Features/Account/SettingsSidebarList.swift | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Outpost/Features/Account/SettingsSidebarList.swift b/Outpost/Features/Account/SettingsSidebarList.swift index 48b7fbf..0a33bd0 100644 --- a/Outpost/Features/Account/SettingsSidebarList.swift +++ b/Outpost/Features/Account/SettingsSidebarList.swift @@ -51,7 +51,18 @@ struct SettingsSidebarList: View { } } header: { if let title = category.title { - Text(title) + HStack(spacing: 6) { + Text(title) + // Not hardcoded to `.workspace` specifically — + // stays correct on its own as sections get + // built, only shows while every section in + // the category is still `!isImplemented`. + if sections.allSatisfy({ !$0.isImplemented }) { + Text("Coming Soon") + .font(.caption2.weight(.medium)) + .foregroundStyle(.tertiary) + } + } } } }