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
Sign-in link card full width; sample-calls line without keys on touch screens (PR 1939)
Janik7a5460e39877
diff --git a/apps/web/src/app.css b/apps/web/src/app.cssindex f05afd9d..3012ba60 100644--- a/apps/web/src/app.css+++ b/apps/web/src/app.css@@ -24,6 +24,10 @@ body,align-items: center;gap: 24px;}+/* A card that waits for data (sign-in link) keeps the column's width instead of shrinking to its text. */+.auth-column > .ld {+ align-self: stretch;+}.auth-mark {width: 40px;height: 40px;diff --git a/apps/web/src/inbox/SampleCallsBar.tsx b/apps/web/src/inbox/SampleCallsBar.tsxindex 6d522c19..97bfdd11 100644--- a/apps/web/src/inbox/SampleCallsBar.tsx+++ b/apps/web/src/inbox/SampleCallsBar.tsx@@ -1,9 +1,11 @@// Above the inbox while the workspace has sample calls: says what they are, and removes them in one click.++import { T, useT } from '@linedesk/i18n/react'import { useState } from 'react'import { useWriteAction } from '../settings/settings-api.ts'import { useRows } from '../store.tsx'import { Button } from '../ui/kit.tsx'-import { T, useT } from '@linedesk/i18n/react'+import { useMediaQuery } from '../ui/useMediaQuery.ts'export function SampleCallsBar({canEdit,@@ -16,6 +18,8 @@ export function SampleCallsBar({toast: (text: string) => void}) {const t = useT()+ // Phones and tablets have no E, A or Enter to try: the line just says to open one.+ const touch = useMediaQuery('(hover: none) and (pointer: coarse)')const write = useWriteAction()const count = useRows('calls').filter(c => c.source === 'sample' && !c.deleted_at).lengthconst [busy, setBusy] = useState(false)@@ -35,7 +39,7 @@ export function SampleCallsBar({<div className="ib-sample" role="status"><span><T- k={canAssign ? 'inbox.sample.line' : 'inbox.sample.lineAlone'}+ k={touch ? 'inbox.sample.lineTouch' : canAssign ? 'inbox.sample.line' : 'inbox.sample.lineAlone'}values={{ count, b: chunks => <b>{chunks}</b>, done: 'E', assign: 'A', remind: 'H', open: 'Enter' }}/></span>diff --git a/packages/i18n/locales/en/inbox.json b/packages/i18n/locales/en/inbox.jsonindex 41995d2f..77ff7687 100644--- a/packages/i18n/locales/en/inbox.json+++ b/packages/i18n/locales/en/inbox.json@@ -171,6 +171,7 @@"row.unreadMarkRead": "Unread, mark read","sample.line": "<b>Sample calls.</b> {count, plural, one {# example} other {# examples}} of how calls land here. Try {done}, {assign} and {open} on them.","sample.lineAlone": "<b>Sample calls.</b> {count, plural, one {# example} other {# examples}} of how calls land here. Try {done}, {remind} and {open} on them.",+ "sample.lineTouch": "<b>Sample calls.</b> {count, plural, one {# example} other {# examples}} of how calls land here. Open one to try it.","sample.remove": "Remove sample calls","sample.removeTitle": "Remove every sample call","sample.removed": "Sample calls removed.",