Func pill: eyedropper (colour in many formats in a new brov-chat tab, HEX to clipboard, context for claude) and live Mac card (CPU, cores, RAM, SSD)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maksarsanjeev
2026-10-07 15:45:38 +03:00
parent d8a64ab5b5
commit 9570dc190f
4 changed files with 416 additions and 1 deletions
+7 -1
View File
@@ -27,6 +27,7 @@ enum DesktopApps {
struct AppGridView: View {
@ObservedObject var state: AppState
@State private var showSystem = false
/// "9% · сброс через 1 д 18 ч" — the Claude window closest to its limit.
private var claudeLimit: PillLimit? {
@@ -85,7 +86,7 @@ struct AppGridView: View {
VStack(spacing: 8) {
HStack(spacing: 8) {
ShelfPill()
EmptyPill()
FuncPill(state: state, showSystem: $showSystem)
}
HStack(spacing: 8) {
AppPill(app: DesktopApps.claude, limit: claudeLimit, alert: alert(for: .claude))
@@ -96,6 +97,11 @@ struct AppGridView: View {
.padding(.trailing, 20)
.padding(.vertical, 6)
if showSystem {
SystemCard { withAnimation(.easeOut(duration: 0.18)) { showSystem = false } }
.transition(.opacity)
}
#if !APPSTORE
if state.showingPlanDetail {
CardBackground(wash: nil)