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:
@@ -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
|
||||
@@ -36,6 +36,17 @@ export const DEFAULT_COLOURS = {
|
||||
nameText: '#ffffff',
|
||||
badgeText: '#81D264',
|
||||
},
|
||||
kds_ready: {
|
||||
cardBg: '#5dc936',
|
||||
cardBg2: '#FFDC67',
|
||||
badgeBg: 'rgba(255,255,255,0.57)',
|
||||
badgeBg2: 'rgba(255,255,255,0.57)',
|
||||
nameText: '#ffffff',
|
||||
nameText2: '#ffffff',
|
||||
badgeText: 'rgba(45,71,36,0.63)',
|
||||
badgeText2:'rgba(45,71,36,0.63)',
|
||||
flash: true,
|
||||
},
|
||||
},
|
||||
dark: {
|
||||
free: {
|
||||
@@ -68,6 +79,17 @@ export const DEFAULT_COLOURS = {
|
||||
nameText: '#ffffff',
|
||||
badgeText: '#81D264',
|
||||
},
|
||||
kds_ready: {
|
||||
cardBg: '#5dc936',
|
||||
cardBg2: '#FFDC67',
|
||||
badgeBg: 'rgba(255,255,255,0.57)',
|
||||
badgeBg2: 'rgba(255,255,255,0.57)',
|
||||
nameText: '#ffffff',
|
||||
nameText2: '#ffffff',
|
||||
badgeText: 'rgba(45,71,36,0.63)',
|
||||
badgeText2:'rgba(45,71,36,0.63)',
|
||||
flash: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -89,7 +111,7 @@ const useTableColourStore = create(persist(
|
||||
})),
|
||||
resetAll: () => set({ colours: DEFAULT_COLOURS }),
|
||||
}),
|
||||
{ name: 'pos-table-colours' }
|
||||
{ name: 'pos-table-colours-v2' }
|
||||
))
|
||||
|
||||
export default useTableColourStore
|
||||
|
||||
Reference in New Issue
Block a user