native macOS codings agent orchestrator
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

Polish repository display settings layout

onevpaw e9c72fac 0c0f5b0c

+10 -27
+3 -8
supacode/Features/RepositorySettings/Views/RepositoryAppearancePickerView.swift
··· 35 35 private let swatchRingLineWidth: CGFloat = 1.5 36 36 37 37 var body: some View { 38 - VStack(alignment: .leading, spacing: 12) { 38 + VStack(alignment: .leading, spacing: 10) { 39 39 iconRow 40 40 colorRow 41 41 if let message = store.appearanceImportError { ··· 201 201 202 202 @ViewBuilder 203 203 private var colorRow: some View { 204 - VStack(alignment: .leading, spacing: 8) { 204 + HStack(alignment: .center, spacing: 12) { 205 205 Text("Color") 206 206 .font(.headline) 207 - Text( 208 - "Tints the row in the sidebar, the shelf spine background, and the canvas card title bar." 209 - ) 210 - .font(.caption) 211 - .foregroundStyle(.secondary) 212 - .fixedSize(horizontal: false, vertical: true) 207 + .frame(width: previewSize, alignment: .center) 213 208 HStack(spacing: 8) { 214 209 ForEach(RepositoryColorChoice.allCases, id: \.self) { choice in 215 210 colorSwatch(for: choice)
+7 -19
supacode/Features/Settings/Views/RepositorySettingsView.swift
··· 71 71 let folderName = Repository.name(for: store.rootURL) 72 72 73 73 Form { 74 - Section { 75 - TextField(folderName, text: customTitle) 76 - .textFieldStyle(.roundedBorder) 77 - } header: { 78 - VStack(alignment: .leading, spacing: 4) { 79 - Text("Display Name") 80 - Text("Custom name shown in the sidebar. Leave empty to use the folder name.") 81 - .foregroundStyle(.secondary) 82 - } 83 - } 74 + Section("Display") { 75 + VStack(alignment: .leading, spacing: 12) { 76 + TextField("", text: customTitle, prompt: Text(folderName)) 77 + .labelsHidden() 78 + .textFieldStyle(.roundedBorder) 84 79 85 - Section { 86 - RepositoryAppearancePickerView(store: store) 87 - } header: { 88 - VStack(alignment: .leading, spacing: 4) { 89 - Text("Appearance") 90 - Text( 91 - "Pick an icon and color to make this repository easy to spot in the sidebar, shelf, and canvas." 92 - ) 93 - .foregroundStyle(.secondary) 80 + RepositoryAppearancePickerView(store: store) 94 81 } 82 + .frame(maxWidth: .infinity, alignment: .leading) 95 83 } 96 84 97 85 if store.showsWorktreeSettings {