Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Commit 602bf26

Browse files
steipeteclaude
andcommitted
Remove Lottie animation library and related animated menu bar icons
- Remove Lottie dependency from Package.swift and Project.swift - Delete LottieMenuBarView.swift and CustomChainLinkIcon.swift files - Delete chain_link_lottie.json animation resource - Remove Lottie import and test code from DebugSettingsView.swift - Simplify MenuBarIconView to use static PNG icon only - Remove useDynamicMenuBarIcon setting and related UI controls - Update IconAnimationTests to remove Lottie-specific test cases - Clean up all remaining Lottie references in codebase 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent dbcffe1 commit 602bf26

13 files changed

Lines changed: 85 additions & 853 deletions

File tree

.package.resolved

Lines changed: 62 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
11
{
2+
"originHash" : "5be54ddfbc59dd9eb54cdcadb66dcd3cc977c1adb871882caf35bd5b3aec1638",
23
"pins" : [
34
{
45
"identity" : "defaults",
56
"kind" : "remoteSourceControl",
67
"location" : "https://github.com/sindresorhus/Defaults",
78
"state" : {
8-
"revision" : "3efef5a28ebdbbe922d4a2049493733ed14475a6",
9-
"version" : "7.3.1"
9+
"revision" : "cc938ecf0bed848dc80a9726ac5455104e3f9dae",
10+
"version" : "9.0.2"
11+
}
12+
},
13+
{
14+
"identity" : "demark",
15+
"kind" : "remoteSourceControl",
16+
"location" : "https://github.com/steipete/Demark",
17+
"state" : {
18+
"revision" : "9e01f67e57d7115c03c688d906cf0e88f22f6d83",
19+
"version" : "1.0.0"
1020
}
1121
},
1222
{
@@ -19,12 +29,39 @@
1929
}
2030
},
2131
{
22-
"identity" : "launchatlogin",
32+
"identity" : "keychainaccess",
33+
"kind" : "remoteSourceControl",
34+
"location" : "https://github.com/kishikawakatsumi/KeychainAccess.git",
35+
"state" : {
36+
"revision" : "84e546727d66f1adc5439debad16270d0fdd04e7",
37+
"version" : "4.2.2"
38+
}
39+
},
40+
{
41+
"identity" : "menubarextraaccess",
42+
"kind" : "remoteSourceControl",
43+
"location" : "https://github.com/orchetect/MenuBarExtraAccess.git",
44+
"state" : {
45+
"revision" : "e911e6454f8cbfe34a52136fc48e1ceb989a60e7",
46+
"version" : "1.2.1"
47+
}
48+
},
49+
{
50+
"identity" : "ollama-swift",
2351
"kind" : "remoteSourceControl",
24-
"location" : "https://github.com/sindresorhus/LaunchAtLogin",
52+
"location" : "https://github.com/loopwork-ai/ollama-swift",
2553
"state" : {
26-
"revision" : "9a894d799269cb591037f9f9cb0961510d4dca81",
27-
"version" : "5.0.2"
54+
"revision" : "925a19367882f620a431d35ad7592f2be70b0324",
55+
"version" : "1.6.0"
56+
}
57+
},
58+
{
59+
"identity" : "openai",
60+
"kind" : "remoteSourceControl",
61+
"location" : "https://github.com/MacPaw/OpenAI",
62+
"state" : {
63+
"revision" : "9261cd39d55a718bcc360fbc29515a331cad5dbb",
64+
"version" : "0.4.3"
2865
}
2966
},
3067
{
@@ -45,6 +82,15 @@
4582
"version" : "1.5.0"
4683
}
4784
},
85+
{
86+
"identity" : "swift-http-types",
87+
"kind" : "remoteSourceControl",
88+
"location" : "https://github.com/apple/swift-http-types",
89+
"state" : {
90+
"revision" : "a0a57e949a8903563aba4615869310c0ebf14c03",
91+
"version" : "1.4.0"
92+
}
93+
},
4894
{
4995
"identity" : "swift-log",
5096
"kind" : "remoteSourceControl",
@@ -54,6 +100,15 @@
54100
"version" : "1.6.3"
55101
}
56102
},
103+
{
104+
"identity" : "swift-openapi-runtime",
105+
"kind" : "remoteSourceControl",
106+
"location" : "https://github.com/apple/swift-openapi-runtime",
107+
"state" : {
108+
"revision" : "8f33cc5dfe81169fb167da73584b9c72c3e8bc23",
109+
"version" : "1.8.2"
110+
}
111+
},
57112
{
58113
"identity" : "swift-syntax",
59114
"kind" : "remoteSourceControl",
@@ -82,5 +137,5 @@
82137
}
83138
}
84139
],
85-
"version" : 2
140+
"version" : 3
86141
}

App/CodeLooperApp.swift

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -110,20 +110,13 @@ struct MenuBarIconView: View {
110110
@StateObject private var menuBarIconManager = MenuBarIconManager.shared
111111
@EnvironmentObject var appIconStateController: AppIconStateController // Keep for status display
112112
@Default(.isGlobalMonitoringEnabled) private var isGlobalMonitoringEnabled
113-
@Default(.useDynamicMenuBarIcon) private var useDynamicMenuBarIcon
114113

115114
var body: some View {
116115
HStack(spacing: 4) {
117-
// Icon based on user preference
118-
if useDynamicMenuBarIcon {
119-
// Lottie animation icon
120-
LottieMenuBarView()
121-
} else {
122-
// Static PNG icon
123-
Image("MenuBarTemplateIcon")
124-
.renderingMode(.template)
125-
.frame(width: 16, height: 16)
126-
}
116+
// Static PNG icon
117+
Image("MenuBarTemplateIcon")
118+
.renderingMode(.template)
119+
.frame(width: 16, height: 16)
127120

128121
// Display the status text from the manager
129122
Text(menuBarIconManager.currentIconAttributedString)

CodeLooper.xcodeproj/project.pbxproj

Lines changed: 17 additions & 39 deletions
Large diffs are not rendered by default.

Core/Utilities/ErrorHandling/ErrorRecoveryService.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ public class ErrorRecoveryService {
114114
case .retry:
115115
return try await retryManager.execute(
116116
operation: operation,
117+
shouldRetry: nil,
117118
onRetry: { attempt, error, delay in
118119
self.logger.info("🔄 Retrying '\(context)' (attempt \(attempt)) after \(delay)s: \(error)")
119120
}

Features/Settings/Domain/Models/DefaultsKeys.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ extension Defaults.Keys {
154154
return false
155155
#endif
156156
}())
157-
static let useDynamicMenuBarIcon = Key<Bool>("useDynamicMenuBarIcon", default: false)
158157
static let automaticJSHookInjection = Key<Bool>("automaticJSHookInjection", default: false)
159158

160159
// --- Claude Monitoring Settings ---

Features/Settings/UI/Tabs/AdvancedSettingsView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ struct AdvancedSettingsView: View {
5656
DSToggle(
5757
"Debug Mode",
5858
isOn: $debugMode,
59-
description: "Show the Debug tab in settings with Lottie animation tests and debugging tools",
59+
description: "Show the Debug tab in settings with debugging tools and development options",
6060
descriptionLineSpacing: 3
6161
)
6262

0 commit comments

Comments
 (0)