feat: bump client-services (accumulated feature work + deploy fixes)
Snapshot of in-progress work across local_backend, manager_dashboard, and waiter_pwa (pricing, chat, fiscal, prep zones, recovery codes, CRM, inventory, permissions), plus the nginx/docker-compose deploy fixes for the Unraid + NPM reverse-proxy setup. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
11
manager_dashboard/src/store/phoneStore.js
Normal file
11
manager_dashboard/src/store/phoneStore.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import { create } from 'zustand'
|
||||
|
||||
const usePhoneStore = create((set) => ({
|
||||
activeCall: null, // { caller, ext, at, customer, orders } | null
|
||||
log: [], // last 20 calls
|
||||
setActiveCall: (call) => set({ activeCall: call }),
|
||||
dismissCall: () => set({ activeCall: null }),
|
||||
addCallToLog: (entry) => set(s => ({ log: [entry, ...s.log].slice(0, 20) })),
|
||||
}))
|
||||
|
||||
export default usePhoneStore
|
||||
Reference in New Issue
Block a user