Move questions and reviews into the transcript; agents answer findings
This commit is contained in:
@@ -4,7 +4,6 @@ import SwiftUI
|
||||
struct MenuEntry: Identifiable {
|
||||
let id: String
|
||||
let label: String
|
||||
let badge: TabBadge
|
||||
let action: () -> Void
|
||||
}
|
||||
|
||||
@@ -312,15 +311,12 @@ private struct MenuRow: View {
|
||||
|
||||
var body: some View {
|
||||
Button(action: action) {
|
||||
HStack(spacing: 6) {
|
||||
Text(entry.label)
|
||||
TabBadgeView(badge: entry.badge)
|
||||
}
|
||||
.padding(.horizontal, 12)
|
||||
.padding(.vertical, 4)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
.background(hover ? Palette.surface : .clear, in: RoundedRectangle(cornerRadius: 4))
|
||||
.contentShape(Rectangle())
|
||||
Text(entry.label)
|
||||
.padding(.horizontal, 12)
|
||||
.padding(.vertical, 4)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
.background(hover ? Palette.surface : .clear, in: RoundedRectangle(cornerRadius: 4))
|
||||
.contentShape(Rectangle())
|
||||
}
|
||||
.buttonStyle(.plain)
|
||||
.onHover { hover = $0 }
|
||||
|
||||
Reference in New Issue
Block a user