transcript changes
This commit is contained in:
@@ -1017,6 +1017,16 @@ struct RowView: View {
|
||||
case .note(let note):
|
||||
NoteView(note: note, cancelVisible: row.id == model.builder.lastMergeAfterReview)
|
||||
|
||||
case .review(let note, let blocks):
|
||||
VStack(alignment: .leading, spacing: 4) {
|
||||
NoteView(note: note, cancelVisible: false)
|
||||
MarkdownView(blocks: blocks, ctx: md)
|
||||
.padding(.leading, 10)
|
||||
.overlay(alignment: .leading) {
|
||||
Rectangle().fill(Palette.border).frame(width: 1)
|
||||
}
|
||||
}
|
||||
|
||||
case .handoff:
|
||||
DetailsBox(boxed: false) {
|
||||
NoteView(note: row.summary ?? Note(parts: []), cancelVisible: false)
|
||||
@@ -1068,7 +1078,7 @@ private struct QuestionBubble: View {
|
||||
.padding(.horizontal, 12)
|
||||
.padding(.vertical, 8)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
.background(open ? Palette.warnTint : Palette.surface, in: RoundedRectangle(cornerRadius: 10))
|
||||
.background(open ? Palette.warnTint : Palette.warnFaint, in: RoundedRectangle(cornerRadius: 10))
|
||||
.overlay(RoundedRectangle(cornerRadius: 10).stroke(hover ? Palette.accent : open ? Palette.warn.opacity(0.55) : Palette.border))
|
||||
.contentShape(Rectangle())
|
||||
.onTapGesture {
|
||||
|
||||
Reference in New Issue
Block a user