nvrsion: Add, fix, refactor, and introduce Usage Tab in Settings showing usage (mirroring home page) with placeholders for Codex limits support (backend not implemented); adjust Live Activity Icon Color to a purple atom icon; add a warning to the VM tab in Settings about 64GB free disk space requirement; implement and address performance issues in TRANSCRIPT_INCREMENTAL_PROJECTION system.
Nucleic-Promote: 1 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -50,10 +50,12 @@ struct SessionLiveActivity: Widget {
|
||||
}
|
||||
}
|
||||
} compactLeading: {
|
||||
// Calm state shows the Nucleic Control brand mark (the purple atom); when the
|
||||
// user is needed it switches to the amber approval glyph.
|
||||
Image(systemName: state.needsAttention
|
||||
? ActivityPalette.glyph(.approval) : ActivityPalette.glyph(.running))
|
||||
? ActivityPalette.glyph(.approval) : "atom")
|
||||
.foregroundStyle(state.needsAttention
|
||||
? ActivityPalette.attention : ActivityPalette.active)
|
||||
? ActivityPalette.attention : ActivityPalette.brand)
|
||||
} compactTrailing: {
|
||||
Text("\(state.needsAttention ? max(state.approvalCount, state.needsYouCount) : state.runningCount)")
|
||||
.font(.caption2.bold())
|
||||
@@ -280,6 +282,7 @@ private enum ActivityPalette {
|
||||
static let success = Color(red: 0.30, green: 0.78, blue: 0.45) // done green
|
||||
static let danger = Color(red: 0.92, green: 0.34, blue: 0.34) // error red
|
||||
static let neutral = Color.secondary
|
||||
static let brand = Color(red: 0.62, green: 0.51, blue: 0.93) // Nucleic Control purple
|
||||
static let added = Color(red: 0.30, green: 0.78, blue: 0.45)
|
||||
static let removed = Color(red: 0.92, green: 0.34, blue: 0.34)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user