native macOS codings agent orchestrator
6
fork

Configure Feed

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

Grow custom commands table with row count

onevcat b6cfd5a9 3cd786ee

+11 -3
+11 -3
supacode/Features/Settings/Views/RepositorySettingsView.swift
··· 333 333 } 334 334 } 335 335 } 336 - .frame(minHeight: 300, idealHeight: 300, maxHeight: 300) 337 - .clipped() 338 - .scrollDisabled(false) 336 + .frame( 337 + minHeight: customCommandsTableHeight, 338 + idealHeight: customCommandsTableHeight, 339 + maxHeight: customCommandsTableHeight 340 + ) 339 341 340 342 HStack(spacing: 8) { 341 343 Button { ··· 1088 1090 } 1089 1091 } 1090 1092 ) 1093 + } 1094 + 1095 + private var customCommandsTableHeight: CGFloat { 1096 + let rowHeight: CGFloat = 44 1097 + let headerHeight: CGFloat = 30 1098 + return max(220, headerHeight + (CGFloat(store.userSettings.customCommands.count) * rowHeight)) 1091 1099 } 1092 1100 } 1093 1101