Compare commits

...
5 changed files with 15 additions and 15 deletions
+7 -2
View File
@@ -40,14 +40,17 @@ class AppDelegate: NSObject, NSApplicationDelegate {
// Popover // Popover
popover = NSPopover() popover = NSPopover()
popover?.contentSize = NSSize(width: 480, height: 640)
popover?.behavior = .transient popover?.behavior = .transient
popover?.animates = true popover?.animates = true
popover?.contentViewController = NSHostingController( let hc = NSHostingController(
rootView: ContentView() rootView: ContentView()
.environmentObject(usageViewModel) .environmentObject(usageViewModel)
.environmentObject(updateManager) .environmentObject(updateManager)
) )
hc.sizingOptions = .preferredContentSize
hc.view.wantsLayer = true
hc.view.layer?.backgroundColor = NSColor.windowBackgroundColor.cgColor
popover?.contentViewController = hc
// React to limits or menubar toggle changes // React to limits or menubar toggle changes
usageViewModel.$limits usageViewModel.$limits
@@ -236,3 +239,5 @@ class AppDelegate: NSObject, NSApplicationDelegate {
} }
} }
+4 -2
View File
@@ -15,9 +15,9 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.1.3-beta.3</string> <string>1.1.3-beta.5</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>37</string> <string>39</string>
<key>LSMinimumSystemVersion</key> <key>LSMinimumSystemVersion</key>
<string>13.0</string> <string>13.0</string>
<key>LSUIElement</key> <key>LSUIElement</key>
@@ -46,3 +46,5 @@
</dict> </dict>
</plist> </plist>
+1 -1
View File
@@ -10,7 +10,7 @@
[![Swift](https://img.shields.io/badge/Swift-5.9-F05138?style=flat&logo=swift&logoColor=white)](https://swift.org) [![Swift](https://img.shields.io/badge/Swift-5.9-F05138?style=flat&logo=swift&logoColor=white)](https://swift.org)
[![Version](https://img.shields.io/badge/version-1.1.2-orange?style=flat)](https://github.com/superdooper86/claudechecker/releases) [![Version](https://img.shields.io/badge/version-1.1.2-orange?style=flat)](https://github.com/superdooper86/claudechecker/releases)
[![License](https://img.shields.io/badge/license-MIT-blue?style=flat)](LICENSE) [![License](https://img.shields.io/badge/license-MIT-blue?style=flat)](LICENSE)
[![Beta](https://img.shields.io/badge/beta-1.1.3--beta.2-orange?style=flat)](https://github.com/superdooper86/claudechecker/releases/tag/v1.1.3-beta.2) <!-- BETA_BADGE --> [![Beta](https://img.shields.io/badge/beta-1.1.3--beta.4-orange?style=flat)](https://github.com/superdooper86/claudechecker/releases/tag/v1.1.3-beta.4) <!-- BETA_BADGE -->
</div> </div>
-7
View File
@@ -1,8 +1 @@
## What's new in v1.1.3
### UI polish
- Limit headers now read "5 Hour Limit" and "7 Day Limit" instead of "5hr"
- Tapping anywhere on the blue update banner now opens the update window
### Session Diary fix
- Burn history is now persisted across app launches — the sparkline populates immediately on first open instead of requiring a manual refresh
+3 -3
View File
@@ -1,5 +1,5 @@
{ {
"version": "1.1.3-beta.2", "version": "1.1.3-beta.4",
"url": "https://github.com/superdooper86/claudechecker/releases/download/v1.1.3-beta.2/ClaudeChecker.zip", "url": "https://github.com/superdooper86/claudechecker/releases/download/v1.1.3-beta.4/ClaudeChecker.zip",
"notes": "## What's new in v1.1.3\n\n### UI polish\n- Limit headers now read \"5 Hour Limit\" and \"7 Day Limit\" instead of \"5hr\"\n- Tapping anywhere on the blue update banner now opens the update window (not just the Update button)" "notes": "## What's new in v1.1.3\n\n### UI polish\n- Limit headers now read \"5 Hour Limit\" and \"7 Day Limit\" instead of \"5hr\"\n- Tapping anywhere on the blue update banner now opens the update window\n\n### Session Diary fix\n- Burn history is now persisted across app launches — the sparkline populates immediately on first open\n\n### Window sizing fix\n- The popover now resizes correctly when switching between the main view and settings — no more empty space below the main view"
} }