Move audit and review settings below TODO on the project page

This commit is contained in:
Ian Gulliver
2026-10-22 13:14:56 -07:00
parent b3a67f1c88
commit e61e491d47
+11 -10
View File
@@ -148,6 +148,17 @@ private struct ProjectBlock: View {
}
.padding(.top, 16)
.padding(.bottom, 6)
heading("Tasks")
if active.isEmpty {
Text("No active tasks.")
.foregroundStyle(Palette.muted)
.padding(.horizontal, 10)
.padding(.vertical, 6)
}
TaskRows(active: active)
heading("TODO")
TodoBlock(project: project, todo: todo, active: active)
heading("Settings")
Grid(alignment: .leading, horizontalSpacing: 12, verticalSpacing: 4) {
GridRow {
Text("Audit \(project.defaultBranch)")
@@ -160,16 +171,6 @@ private struct ProjectBlock: View {
}
.font(Fonts.font(11))
.foregroundStyle(Palette.muted)
heading("Tasks")
if active.isEmpty {
Text("No active tasks.")
.foregroundStyle(Palette.muted)
.padding(.horizontal, 10)
.padding(.vertical, 6)
}
TaskRows(active: active)
heading("TODO")
TodoBlock(project: project, todo: todo, active: active)
HStack(alignment: .firstTextBaseline) {
heading("Schedules")
Spacer()