PageSourceSearch

https://app.magicset.ai/assets/WarmupPool-Bo_WYDTd.js

js magicset.ai collected 2026-10-05 12:24:15 UTC 3,865 bytes, 1 lines download raw bytes

1import{j as e,C as c,g as o,h as x,T as f,f as m,ae as h,S as n}from"./index-DYqv-g2L.js";import{B as p}from"./badge-CT_Z7Vpc.js";import{S as N}from"./switch-CVDXfC97.js";import{T as y,a as w,b as u,c as l,d as _,e as t}from"./table-DgCsttuC.js";import{d as v,e as C,f as T}from"./mutations-BrpkW2uY.js";import"./index-DpHe5njO.js";import"./useMutation-Cm0kQ_TT.js";const k=[{key:"warmup_mesh_enabled",label:"Warm-up mesh (global)",description:"Master switch. When off, the scheduler + dispatch + engagement bot all bail on entry. 30-second killswitch."},{key:"warmup_engagement_bot_enabled",label:"Engagement bot",description:"Auto-open + auto-reply + (Wave B) spam-rescue. Off means inbound warm-up mail still flows but no engagement is generated."},{key:"warmup_cross_tenant_enabled",label:"Cross-tenant participation (Wave B)",description:"When on, customer-opted-in Gmail/MS365 mailboxes can receive warm-up mail. Requires Gmail Pub/Sub + verified OAuth scope."}];function S({flagKey:a,label:i,description:s}){const{data:r,isLoading:j}=C(a),d=T(),g=!!(r!=null&&r.enabled);return e.jsxs("div",{className:"flex items-start justify-between gap-4 rounded-md border p-4",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-sm font-medium",children:i}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s}),e.jsx("code",{className:"text-xs text-muted-foreground",children:a})]}),j?e.jsx(n,{className:"h-6 w-12"}):e.jsx(N,{checked:g,disabled:d.isPending,onCheckedChange:b=>d.mutate({key:a,enabled:b})})]})}function D(){const{data:a,isLoading:i}=v();return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-2xl font-semibold",children:"Warm-up pool"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Cross-tenant warm-up mesh: pairing engine, ramp curves, engagement bot. Internal pool mailboxes meshed bidirectionally; customer mailboxes opt in per their mailbox detail page."})]}),e.jsxs(c,{children:[e.jsx(o,{children:e.jsxs(x,{className:"flex items-center gap-2 text-base",children:[e.jsx(f,{className:"h-4 w-4 text-orange-500"}),"Feature flags / killswitches"]})}),e.jsx(m,{className:"space-y-3",children:k.map(s=>e.jsx(S,{flagKey:s.key,label:s.label,description:s.description},s.key))})]}),e.jsxs(c,{children:[e.jsx(o,{children:e.jsxs(x,{className:"flex items-center gap-2 text-base",children:[e.jsx(h,{className:"h-4 w-4 text-orange-500"}),"Pool membership (",(a==null?void 0:a.length)??0,")"]})}),e.jsx(m,{className:"p-0",children:i?e.jsxs("div",{className:"space-y-2 p-4",children:[e.jsx(n,{className:"h-10 w-full"}),e.jsx(n,{className:"h-10 w-full"}),e.jsx(n,{className:"h-10 w-full"})]}):a!=null&&a.length?e.jsxs(y,{children:[e.jsx(w,{children:e.jsxs(u,{children:[e.jsx(l,{children:"Mailbox"}),e.jsx(l,{children:"Joined"}),e.jsx(l,{children:"Phase"}),e.jsx(l,{children:"Daily target"}),e.jsx(l,{children:"Increment"}),e.jsx(l,{children:"Status"})]})}),e.jsx(_,{children:a.map(s=>e.jsxs(u,{children:[e.jsxs(t,{className:"font-mono text-xs",children:[s.mailbox_id.slice(0,8),"…"]}),e.jsx(t,{className:"text-xs",children:new Date(s.joined_at).toLocaleDateString()}),e.jsxs(t,{className:"text-xs",children:[s.current_daily_target," / ",s.target_daily_volume]}),e.jsxs(t,{className:"text-xs",children:[s.current_daily_target,"/day"]}),e.jsxs(t,{className:"text-xs",children:["+",s.daily_increment,"/day"]}),e.jsx(t,{children:s.is_enabled?e.jsx(p,{children:"Active"}):e.jsx(p,{variant:"secondary",children:"Paused"})})]},s.mailbox_id))})]}):e.jsxs("div",{className:"flex flex-col items-center gap-2 p-12 text-center",children:[e.jsx(h,{className:"h-8 w-8 text-muted-foreground"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"No mailboxes enrolled yet. Customers opt in from their mailbox detail page."})]})})]})]})}export{D as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.