The open-source AI receptionist for businesses. Answers every call, books the appointment and hands over to a person when needed. You own the code and the data.
TypeScript ai-receptionistanswering-serviceappointment-bookinglivekitlocal-firstmcpopen-sourceself-hostedsiptelephonytypescriptvoice-agentvoice-ai
Inbox row: Call back pill stays whole next to the row actions (PR 2062)
Tim Gutberlet9625d20b3c8b
diff --git a/apps/web/src/app.css b/apps/web/src/app.cssindex e37addcf..6b90755d 100644--- a/apps/web/src/app.css+++ b/apps/web/src/app.css@@ -266,6 +266,14 @@ a.auth-switch {.r-status:has(.r-callback) {column-gap: 8px;}+/* A badge (Urgent callback…) gives way too: it ends in … instead of pushing the pill under the row's actions. */+.r-status:has(.r-callback) > .k-badge {+ display: block;+ min-width: 0;+ overflow: hidden;+ text-overflow: ellipsis;+ line-height: 18px;+}.r-callback {flex: none;display: inline-flex;@@ -300,14 +308,27 @@ a.auth-switch {}/* The row's actions float over the duration and the status column's end (right: 14px). With Call back shown, thestatus column ends 6px before them, so the pill and its key stay whole and the next step gives way (ellipsis):- actions (24px each, 2px apart, 8px lead) + 14px + 6px, less the duration column, its gap and the gutter. */+ actions (24px each, 2px apart, 8px lead) + 14px + 6px, less the duration column, its gap and the gutter.+ The number of actions comes from the row itself (Done, Read, Assign, Remind, All commands; fewer in some tabs). */+.ib-list .row:not(.cust-row) {+ --r-acts-n: 1;+}+.ib-list .row:not(.cust-row):has(.r-acts > :nth-child(2)) {+ --r-acts-n: 2;+}+.ib-list .row:not(.cust-row):has(.r-acts > :nth-child(3)) {+ --r-acts-n: 3;+}+.ib-list .row:not(.cust-row):has(.r-acts > :nth-child(4)) {+ --r-acts-n: 4;+}+.ib-list .row:not(.cust-row):has(.r-acts > :nth-child(5)) {+ --r-acts-n: 5;+}.ib-list .row:not(.cust-row) .r-status:has(.r-callback) {- --r-acts-w: calc(3 * 24px + 2 * 2px + 8px);+ --r-acts-w: calc(var(--r-acts-n) * 24px + (var(--r-acts-n) - 1) * 2px + 8px);padding-right: calc(var(--r-acts-w) + 14px + 6px - 56px - 14px - var(--gutter));}-.ib-list .row:not(.cust-row):has(.r-act-assign) .r-status:has(.r-callback) {- --r-acts-w: calc(4 * 24px + 3 * 2px + 8px);-}/* Phones: a tap opens the call (its Call button) and the row's ⋯ lists Call back, so the row stays two short lines. */@media (max-width: 719px) {.r-callback {diff --git a/apps/web/src/inbox/Row.tsx b/apps/web/src/inbox/Row.tsxindex 14be6294..7287849c 100644--- a/apps/web/src/inbox/Row.tsx+++ b/apps/web/src/inbox/Row.tsx@@ -134,7 +134,11 @@ export function Status({{text}</span>)- return <Badge tone={tone}>{text}</Badge>+ return (+ <Badge tone={tone} title={text}>+ {text}+ </Badge>+ )}function Summary({ call, search, segments }: Pick<Props, 'call' | 'search' | 'segments'>) {