Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

fix: sparkle icon outside notch (Notchi-style), 5s reorder interval, 2s smooth animation

libokai93d09a72e820
diff --git a/Codync-iOS/Views/IOSRootView.swift b/Codync-iOS/Views/IOSRootView.swift
index d233992b..53e355cd 100644
--- a/Codync-iOS/Views/IOSRootView.swift
+++ b/Codync-iOS/Views/IOSRootView.swift
@@ -33,11 +33,11 @@ struct IOSRootView: View {
.task {
// Initialize with current sessions
displayedSessions = sortSessions(receiver.sessions)
- // Start 3-second reorder timer
- reorderTimer = Timer.scheduledTimer(withTimeInterval: 3, repeats: true) { _ in
+ // Start 5-second reorder timer
+ reorderTimer = Timer.scheduledTimer(withTimeInterval: 5, repeats: true) { _ in
Task { @MainActor in
let sorted = sortSessions(receiver.sessions)
- withAnimation(.spring(duration: 0.6, bounce: 0.15)) {
+ withAnimation(.spring(duration: 2.0, bounce: 0.1)) {
displayedSessions = sorted
}
}
diff --git a/Codync-iOS/Views/IOSSessionListView.swift b/Codync-iOS/Views/IOSSessionListView.swift
index 5b1bb2fc..0c515013 100644
--- a/Codync-iOS/Views/IOSSessionListView.swift
+++ b/Codync-iOS/Views/IOSSessionListView.swift
@@ -40,9 +40,9 @@ struct IOSSessionListView: View {
cardStyles = newStyles
previousOrder = newOrder
- // Reset after 0.8s
+ // Reset after animation completes
Task {
- try? await Task.sleep(for: .seconds(0.8))
+ try? await Task.sleep(for: .seconds(2.0))
withAnimation(.easeOut(duration: 0.3)) { cardStyles = [:] }
}
}
diff --git a/Codync-macOS/App/MenuBarController.swift b/Codync-macOS/App/MenuBarController.swift
index b0eafd0e..53102768 100644
--- a/Codync-macOS/App/MenuBarController.swift
+++ b/Codync-macOS/App/MenuBarController.swift
@@ -268,17 +268,8 @@ private struct CodyncPanelContentView: View {
var body: some View {
VStack(spacing: 0) {
// Header — matches screen notch height, tappable to expand
- ZStack {
- Color.clear
- HStack {
- Spacer()
- Image(systemName: "sparkle")
- .font(.system(size: 16, weight: .medium))
- .foregroundStyle(.white.opacity(0.9))
- .padding(.trailing, 8)
- }
- }
- .frame(height: headerSize.height)
+ Color.clear
+ .frame(height: headerSize.height)
.contentShape(Rectangle())
.onTapGesture {
panelState.isExpanded.toggle()
@@ -308,6 +299,14 @@ private struct CodyncPanelContentView: View {
topCornerRadius: topCornerRadius,
bottomCornerRadius: bottomCornerRadius
))
+ .overlay(alignment: .topTrailing) {
+ if !isExpanded {
+ Image(systemName: "sparkle")
+ .font(.system(size: 14, weight: .medium))
+ .foregroundStyle(.white.opacity(0.9))
+ .offset(x: 15, y: 7)
+ }
+ }
.shadow(color: isExpanded ? .black.opacity(0.6) : .clear, radius: 8)
.background(
GeometryReader { geo in
diff --git a/Codync-macOS/Views/SessionListView.swift b/Codync-macOS/Views/SessionListView.swift
index 13589d7c..03767611 100644
--- a/Codync-macOS/Views/SessionListView.swift
+++ b/Codync-macOS/Views/SessionListView.swift
@@ -36,10 +36,10 @@ struct SessionListView: View {
.task {
displayedSessions = stateManager.sessions
pinnedSessionIds = (try? await CloudKitManager.shared.fetchPinnedSessionIds()) ?? []
- reorderTimer = Timer.scheduledTimer(withTimeInterval: 3, repeats: true) { _ in
+ reorderTimer = Timer.scheduledTimer(withTimeInterval: 5, repeats: true) { _ in
Task { @MainActor in
let sorted = stateManager.sessions
- withAnimation(.spring(duration: 0.6, bounce: 0.15)) {
+ withAnimation(.spring(duration: 2.0, bounce: 0.1)) {
displayedSessions = sorted
}
}
@@ -91,7 +91,7 @@ struct SessionListView: View {
// Reset after 0.8s
Task {
- try? await Task.sleep(for: .seconds(0.8))
+ try? await Task.sleep(for: .seconds(2.0))
withAnimation(.easeOut(duration: 0.3)) { cardStyles = [:] }
}
}