diff --git a/components/MobileSidebar.tsx b/components/MobileSidebar.tsx index 13747c3..c951213 100644 --- a/components/MobileSidebar.tsx +++ b/components/MobileSidebar.tsx @@ -109,23 +109,16 @@ export function MobileSidebar({ }} /> ) : ( - - {settings.portalEmoji ?? '\ud83e\udd9e'} - + /> )} ) : ( -
- {settings.portalEmoji ?? '\ud83e\udd9e'} -
+ /> )}
) : ( -
- {settings.portalEmoji ?? '\ud83e\udd9e'} -
+ /> )}
{ + const r = (Math.random() * 16) | 0 + const v = c === 'x' ? r : (r & 0x3) | 0x8 + return v.toString(16) + }) +} diff --git a/lib/kanban/automation.ts b/lib/kanban/automation.ts index 84b2195..eb618be 100644 --- a/lib/kanban/automation.ts +++ b/lib/kanban/automation.ts @@ -1,6 +1,7 @@ 'use client' import type { KanbanTicket, TeamRole } from './types' +import { generateId } from '../id' /* ── Role-specific work prompts ──────────────────────── */ @@ -159,8 +160,8 @@ export function persistWorkChat( ): void { const now = Date.now() const messages = [ - { id: crypto.randomUUID(), role: 'user' as const, content: prompt, timestamp: now }, - { id: crypto.randomUUID(), role: 'assistant' as const, content: response, timestamp: now + 1 }, + { id: generateId(), role: 'user' as const, content: prompt, timestamp: now }, + { id: generateId(), role: 'assistant' as const, content: response, timestamp: now + 1 }, ] fetch(`/api/kanban/chat-history/${ticketId}`, { diff --git a/lib/kanban/store.ts b/lib/kanban/store.ts index e1e9788..150877c 100644 --- a/lib/kanban/store.ts +++ b/lib/kanban/store.ts @@ -1,6 +1,7 @@ 'use client' import type { KanbanTicket, TicketStatus, TicketPriority, WorkState } from './types' +import { generateId } from '../id' export type KanbanStore = Record @@ -82,7 +83,7 @@ export function createTicket( workResult?: KanbanTicket['workResult'] }, ): KanbanStore { - const id = crypto.randomUUID() + const id = generateId() const now = Date.now() return { ...store, diff --git a/package-lock.json b/package-lock.json index 2a13011..a008a11 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "clawport-ui", - "version": "0.5.5", + "version": "0.6.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "clawport-ui", - "version": "0.5.5", + "version": "0.6.1", "license": "MIT", "dependencies": { "@dagrejs/dagre": "^2.0.4", diff --git a/package.json b/package.json index 4c80474..81655b3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clawport-ui", - "version": "0.6.0", + "version": "0.6.1", "description": "Open-source dashboard for managing, monitoring, and chatting with your OpenClaw AI agents.", "homepage": "https://clawport.dev", "repository": { diff --git a/public/clawport-logo.png b/public/clawport-logo.png new file mode 100644 index 0000000..f332319 Binary files /dev/null and b/public/clawport-logo.png differ