Skip to content

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.

Email notifications as one list of which calls go to whom (PR 1905)

Janikfdb7f085ee69
diff --git a/apps/api/src/emails/templates.test.ts b/apps/api/src/emails/templates.test.ts
index 187f8b34..937fcd3e 100644
--- a/apps/api/src/emails/templates.test.ts
+++ b/apps/api/src/emails/templates.test.ts
@@ -248,7 +248,7 @@ describe('call summary', () => {
expect(everyCall.text).toContain('You get one email per call to Brightwater Plumbing & Heating.')
const byRule = callEmail({ ...call, byRule: true }, ORIGIN)
expect(byRule.text).toContain(
- 'You get emails for some calls to Brightwater Plumbing & Heating, because a call email rule names you.',
+ 'You get emails for some calls to Brightwater Plumbing & Heating, because you are under a topic in its email notifications.',
)
expect(byRule.text).not.toContain('one email per call')
expect(byRule.text).toContain('Change email notifications')
diff --git a/apps/api/src/notification-settings.ts b/apps/api/src/notification-settings.ts
index a0081e88..208e0708 100644
--- a/apps/api/src/notification-settings.ts
+++ b/apps/api/src/notification-settings.ts
@@ -153,7 +153,13 @@ async function loadCallEmails(
const [fallback, rows, model] = await Promise.all([
emailDefault(tx, workspaceId),
tx
- .select({ userId: member.userId, name: user.name, email: user.email, own: member_notification_settings.email })
+ .select({
+ userId: member.userId,
+ name: user.name,
+ email: user.email,
+ own: member_notification_settings.email,
+ assigned: member_notification_settings.assigned_email,
+ })
.from(member)
.innerJoin(user, eq(user.id, member.userId))
.leftJoin(
@@ -172,6 +178,7 @@ async function loadCallEmails(
members: rows.map(r => ({
userId: r.userId,
everyCall: r.own ?? fallback,
+ assigned: r.assigned ?? true,
...(r.name?.trim() ? {} : { email: r.email }),
})),
newTeammates: fallback,
diff --git a/apps/api/test/email-routing.test.ts b/apps/api/test/email-routing.test.ts
index b67d6961..e599cf1a 100644
--- a/apps/api/test/email-routing.test.ts
+++ b/apps/api/test/email-routing.test.ts
@@ -112,9 +112,9 @@ describe('routing a call email', () => {
return sent.find(e => e.to === address)!.text
}
expect(await textTo(mike)).toContain('You get one email per call to')
- expect(await textTo(mike)).not.toContain('because a call email rule names you')
+ expect(await textTo(mike)).not.toContain('because you are under a topic in its email notifications')
for (const who of [dave, sarah]) {
- expect(await textTo(who)).toContain('because a call email rule names you')
+ expect(await textTo(who)).toContain('because you are under a topic in its email notifications')
expect(await textTo(who)).not.toContain('one email per call')
}
// The approved prompt, with the workspace's language; the rules and the call each inside their own tags.
@@ -447,6 +447,13 @@ describe('saving the rules', () => {
const read = await act(dave, 'callEmails.get', {})
expect(read.body.data.members.find((m: { userId: string }) => m.userId === dave.userId).everyCall).toBe(true)
expect(read.body.data.members.find((m: { userId: string }) => m.userId === ws.owner.userId).everyCall).toBe(true)
+ // Calls assigned to them: on until changed; an admin takes a member off, everyone reads it.
+ expect(read.body.data.members.find((m: { userId: string }) => m.userId === dave.userId).assigned).toBe(true)
+ expect(
+ (await act(admin, 'team.updateMemberNotifications', { memberId: daveId, assignedEmail: false })).status,
+ ).toBe(200)
+ const after = await act(dave, 'callEmails.get', {})
+ expect(after.body.data.members.find((m: { userId: string }) => m.userId === dave.userId).assigned).toBe(false)
})
})
diff --git a/apps/web/src/settings/CallEmails.tsx b/apps/web/src/settings/CallEmails.tsx
index 318a163f..1044abf6 100644
--- a/apps/web/src/settings/CallEmails.tsx
+++ b/apps/web/src/settings/CallEmails.tsx
@@ -1,12 +1,14 @@
-// Settings › Assistant › Email notifications (LIN-369, LIN-470, LIN-768): the one place for call emails. One row per
-// member with their "Email for every call" switch (their own notification setting in this workspace), a row for new
-// teammates (the team default they start with), then the rules: each rule has the calls it is about in a few words, the
-// members it sends to (also with "every call" off) and optionally one of them to assign the call to. After a call a
-// language model only says which rules fit; the code picks the recipients and the assignee
-// (apps/api/src/email-routing.ts). Rules are on only when the instance admin has set up a language model; without one
-// the page shows only the switches. The switches apply at once (everyone changes their own; owners and admins the
-// others' and the default, an admin never an owner's); the rules are part of the assistant's draft and saved with the
-// page. Recipients are members only, shown with their email address.
+// Settings › Assistant › Email notifications (LIN-369, LIN-470, LIN-768, LIN-836): the one place for call emails, as one
+// list of "which calls → who". First "Every call": the members whose "Email for every call" is on (their own notification
+// setting in this workspace) and "New teammates too" (the team default they start with); "Calls assigned to them": the
+// members who get an email when a teammate assigns them a call (with two or more members). Then one block per rule
+// ("Calls about" a topic): the members it sends to (also with every call off) and optionally one of them to assign the
+// call to. Under the list the members who get no call email at all. After a call a language model only says which
+// rules fit; the code picks the recipients and the assignee (apps/api/src/email-routing.ts). Rules are on only when the
+// instance admin has set up a language model; without one the page shows only "Every call". "Every call" applies at
+// once, and so does "Calls assigned to them" (everyone adds or removes themselves; owners and admins the others and the default, an admin never an owner);
+// the rules are part of the assistant's draft and saved with the page. Recipients are members only, shown with their
+// email address.
import {
type CallEmailsData,
EMAIL_RULE_TO_MAX,
@@ -15,17 +17,17 @@ import {
type EmailRoutingData,
} from '@linedesk/actions'
import type { EmailRule, EmailRules, WorkspaceMember } from '@linedesk/db/types'
-import { useT } from '@linedesk/i18n/react'
+import { useFormat, useT } from '@linedesk/i18n/react'
import { setQueryData, useQuery } from '../cachedQuery.ts'
import { useRun } from '../store.tsx'
import { useSupportAccess } from '../supportAccess.ts'
import { memberAvatar, memberLabel, useMembers } from '../team/members.ts'
-import { Select, type SelectOption } from '../ui/controls.tsx'
+import { Checkbox, Select, type SelectOption } from '../ui/controls.tsx'
import { Input } from '../ui/form.tsx'
import { Avatar, Button, Icon } from '../ui/kit.tsx'
-import { Loading, useLoadState } from '../ui/LoadStates.tsx'
+import { Loading, Skeleton, useLoadState } from '../ui/LoadStates.tsx'
import { type SearchOption, SearchSelect, searchOptions } from '../ui/SearchSelect.tsx'
-import { Section, SkeletonSwitchRows, SwitchRow } from './fields.tsx'
+import { Section } from './fields.tsx'
import { readAction } from './settings-api.ts'
import './call-emails.css'
@@ -103,9 +105,7 @@ export function CallEmails({ name, rules, onChange, canEdit, undoable, showError
<Section
id="as-emails"
title={t('settings.assistant.emails.title')}
- description={t(
- showRules ? 'settings.assistant.emails.description' : 'settings.assistant.emails.descriptionNoRules',
- )}
+ description={t('settings.assistant.emails.description')}
help={t(showRules ? 'settings.assistant.emails.help' : 'settings.assistant.emails.helpNoRules', { name })}
actions={
canEdit &&
@@ -131,127 +131,155 @@ export function CallEmails({ name, rules, onChange, canEdit, undoable, showError
loading={membersState === 'loading' || !hears.data}
error={membersState === 'slow' ? true : hears.data ? null : hears.error}
onRetry={() => void hears.reload()}
- skeleton={<SkeletonSwitchRows rows={Math.max(2, members.filter(m => !m.disabled).length + 1)} lead />}
+ skeleton={<SkeletonBlocks />}
>
- {hears.data && <WhoHears data={hears.data} members={members} canEdit={canEdit} showRules={showRules} />}
- {showRules && rules.rules.length > 0 && (
- <ol className="ce-rules">
- {rules.rules.map((rule, i) => (
- <RuleCard
- key={rule.id}
- rule={rule}
- index={i}
- members={members}
- emailOf={emailOf}
- disabled={!canEdit}
- showErrors={showErrors}
- onChange={change => setRule(rule.id, change)}
- onRemove={() => removeRule(rule, i)}
- />
- ))}
- </ol>
+ {hears.data && (
+ <>
+ <ol className="ce-blocks">
+ <MembersBlock setting="everyCall" data={hears.data} members={members} canEdit={canEdit} />
+ {hears.data.members.length > 1 && (
+ <MembersBlock setting="assigned" data={hears.data} members={members} canEdit={canEdit} />
+ )}
+ {showRules &&
+ rules.rules.map((rule, i) => (
+ <RuleCard
+ key={rule.id}
+ rule={rule}
+ index={i}
+ members={members}
+ emailOf={emailOf}
+ disabled={!canEdit}
+ showErrors={showErrors}
+ onChange={change => setRule(rule.id, change)}
+ onRemove={() => removeRule(rule, i)}
+ />
+ ))}
+ </ol>
+ <NoEmails data={hears.data} members={members} rules={showRules ? rules.rules : null} />
+ </>
)}
</Loading>
</Section>
)
}
+/** What a members block switches per member: the email about every call, or the one when a call is assigned to them. */
+type MemberSetting = 'everyCall' | 'assigned'
+
/**
- * One row per member (you first, then by name) with their "Email for every call", and the row for new teammates.
- * Yours is always yours to switch; the others' and the default only for owners and admins, an owner's only for an
- * owner (team.updateMemberNotifications refuses the rest).
+ * A block of members with one of their call emails on, as chips (you first), and a picker to add one: "Every call"
+ * (with "New teammates too", the team default) and "Calls assigned to them". You always add or remove yourself; the
+ * others and the default only owners and admins, an owner only an owner (team.updateMemberNotifications refuses the
+ * rest).
*/
-function WhoHears({
+function MembersBlock({
+ setting,
data,
members,
canEdit,
- showRules,
}: {
+ setting: MemberSetting
data: CallEmailsData
members: WorkspaceMember[]
canEdit: boolean
- showRules: boolean
}) {
const t = useT()
const run = useRun()
// Support access shows the workspace as its people see it; it changes nobody's settings.
const readOnly = !!useSupportAccess()
const myRole = members.find(m => m.user_id === data.you)?.role
- const everyCall = (userId: string) => data.members.find(m => m.userId === userId)?.everyCall ?? false
- const shown = members
- .filter(m => !m.disabled && data.members.some(d => d.userId === m.user_id))
+ const shown = members.filter(m => !m.disabled && data.members.some(d => d.userId === m.user_id))
+ const on = shown
+ .filter(m => data.members.find(d => d.userId === m.user_id)?.[setting])
.sort((a, b) => Number(b.user_id === data.you) - Number(a.user_id === data.you))
- const mayChange = (m: WorkspaceMember) =>
- !readOnly && (m.user_id === data.you || (canEdit && (m.role !== 'owner' || myRole === 'owner')))
- const line = (on: boolean) =>
- on
- ? t('settings.assistant.emails.member.everyCall')
- : showRules
- ? t('settings.assistant.emails.member.onlyRules')
- : t('settings.assistant.emails.member.none')
+ .map(m => m.user_id)
+ const mayChange = (userId: string) => {
+ if (readOnly) return false
+ if (userId === data.you) return true
+ return canEdit && (members.find(m => m.user_id === userId)?.role !== 'owner' || myRole === 'owner')
+ }
+ const emailOf = (userId: string) => data.members.find(m => m.userId === userId)?.email
- function setMember(m: WorkspaceMember, on: boolean) {
+ function setMember(userId: string, value: boolean) {
+ const m = members.find(x => x.user_id === userId)
+ if (!m) return
patchCallEmails(d => ({
...d,
- members: d.members.map(x => (x.userId === m.user_id ? { ...x, everyCall: on } : x)),
+ members: d.members.map(x => (x.userId === userId ? { ...x, [setting]: value } : x)),
}))
- if (m.user_id === data.you) void run('notifications.update', { email: on })
- else void run('team.updateMemberNotifications', { memberId: m.id, email: on })
+ const change = setting === 'everyCall' ? { email: value } : { assignedEmail: value }
+ if (userId === data.you) void run('notifications.update', change)
+ else void run('team.updateMemberNotifications', { memberId: m.id, ...change })
}
- function setNewTeammates(on: boolean) {
- patchCallEmails(d => ({ ...d, newTeammates: on }))
- void run('notifications.setDefaults', { email: on })
+ function setNewTeammates(next: boolean) {
+ patchCallEmails(d => ({ ...d, newTeammates: next }))
+ void run('notifications.setDefaults', { email: next })
}
return (
- <div className="st-swlist ce-people">
- {shown.map(m => {
- const label = memberLabel(m, data.members.find(x => x.userId === m.user_id)?.email)
- const editable = mayChange(m)
- return (
- <SwitchRow
- key={m.user_id}
- lead={<Avatar name={label} size={24} src={memberAvatar(m)} />}
- title={m.user_id === data.you ? t('settings.assistant.emails.member.you', { name: label }) : label}
- description={line(everyCall(m.user_id))}
- on={everyCall(m.user_id)}
- onChange={on => setMember(m, on)}
- disabled={!editable}
- tip={
- editable || readOnly
- ? undefined
- : canEdit
- ? t('settings.assistant.emails.member.ownerOnly')
- : t('settings.assistant.emails.member.notYours')
- }
- />
- )
- })}
- <SwitchRow
- lead={
- <span className="ce-lead-new" aria-hidden="true">
- <Icon name="plus" size={12} />
- </span>
- }
- title={t('settings.assistant.emails.newTeammates.title')}
- description={
- data.newTeammates
- ? t('settings.assistant.emails.newTeammates.everyCall')
- : showRules
- ? t('settings.assistant.emails.newTeammates.onlyRules')
- : t('settings.assistant.emails.newTeammates.none')
- }
- on={data.newTeammates}
- onChange={setNewTeammates}
- disabled={!canEdit || readOnly}
- tip={canEdit || readOnly ? undefined : t('settings.assistant.emails.member.notYours')}
- />
- </div>
+ <li className="ce-block">
+ <div className="ce-block-head">
+ <h3 className="ce-block-title">
+ {setting === 'everyCall' ? t('settings.assistant.emails.everyCall') : t('settings.assistant.emails.assigned')}
+ </h3>
+ </div>
+ <div className="ce-block-body">
+ <span className="ce-rule-label">{t('settings.assistant.emails.rule.to')}</span>
+ <People
+ id={setting === 'everyCall' ? 'as-every-call' : 'as-assigned'}
+ ids={on}
+ members={shown}
+ you={data.you}
+ emailOf={emailOf}
+ disabled={false}
+ mayRemove={mayChange}
+ mayAdd={mayChange}
+ onAdd={userId => setMember(userId, true)}
+ onRemove={userId => setMember(userId, false)}
+ />
+ {setting === 'everyCall' && (
+ <>
+ <span />
+ <Checkbox
+ className="ce-new"
+ checked={data.newTeammates}
+ disabled={!canEdit || readOnly}
+ onChange={setNewTeammates}
+ >
+ {t('settings.assistant.emails.newTeammates')}
+ </Checkbox>
+ </>
+ )}
+ </div>
+ </li>
)
}
-/** One rule: its number, what the calls are about and delete on top, then who gets them and who gets them assigned. */
+/** "No call emails: …": the members in no block (every call, a rule, assigned calls); nothing when everyone gets some. */
+function NoEmails({
+ data,
+ members,
+ rules,
+}: {
+ data: CallEmailsData
+ members: WorkspaceMember[]
+ rules: EmailRule[] | null
+}) {
+ const t = useT()
+ const format = useFormat()
+ const names = members
+ .filter(m => !m.disabled)
+ .filter(m => {
+ const row = data.members.find(d => d.userId === m.user_id)
+ return row && !row.everyCall && !row.assigned && !rules?.some(r => r.to.includes(m.user_id))
+ })
+ .map(m => memberLabel(m, data.members.find(d => d.userId === m.user_id)?.email))
+ if (!names.length) return null
+ return <p className="ce-none">{t('settings.assistant.emails.none', { names: format.list(names) })}</p>
+}
+
+/** One rule: "Calls about" its topic and delete on top, then who gets the email and who gets the call assigned. */
function RuleCard({
rule,
index,
@@ -280,13 +308,12 @@ function RuleCard({
return { value: id, label: memberLabel(member, emailOf(id)) }
}),
]
+ const setTo = (to: string[]) =>
+ onChange(r => ({ ...r, to, assign: r.assign && to.includes(r.assign) ? r.assign : null }))
return (
- <li className="ce-rule">
- <div className="ce-rule-head">
- <span className="ce-rule-n" aria-hidden>
- {index + 1}
- </span>
- <label className="ce-rule-label" htmlFor={emailRuleWhenId(index)}>
+ <li className="ce-block">
+ <div className="ce-block-head">
+ <label className="ce-block-title" htmlFor={emailRuleWhenId(index)}>
{t('settings.assistant.emails.rule.when')}
</label>
<Input
@@ -316,7 +343,7 @@ function RuleCard({
)}
</div>
{whenMissing && <p className="ce-rule-error">{t('settings.assistant.emails.rule.whenMissing')}</p>}
- <div className="ce-rule-body">
+ <div className="ce-block-body">
<span className="ce-rule-label">{t('settings.assistant.emails.rule.to')}</span>
<People
id={`as-rule-to-${index}`}
@@ -325,7 +352,8 @@ function RuleCard({
members={members}
emailOf={emailOf}
disabled={disabled}
- onChange={to => onChange(r => ({ ...r, to, assign: r.assign && to.includes(r.assign) ? r.assign : null }))}
+ onAdd={userId => setTo([...rule.to, userId])}
+ onRemove={userId => setTo(rule.to.filter(x => x !== userId))}
/>
<span className="ce-rule-label">{t('settings.assistant.emails.rule.assign')}</span>
<div className="ce-rule-assign">
@@ -344,27 +372,55 @@ function RuleCard({
)
}
-/** Member chips (name and email address), each with a remove button, and a picker to add one more. */
+/** The list's shape while it loads: the "Every call" block with its title and a few chips. */
+function SkeletonBlocks() {
+ return (
+ <ol className="ce-blocks" aria-hidden="true">
+ <li className="ce-block">
+ <Skeleton shape="text" width={70} />
+ <div className="ce-chips">
+ <Skeleton width={120} height={24} />
+ <Skeleton width={100} height={24} />
+ <Skeleton width={150} height={30} />
+ </div>
+ </li>
+ </ol>
+ )
+}
+
+/**
+ * Member chips (name, the email address as its tooltip), each with a remove button, and a picker to add one more.
+ * `mayRemove` and `mayAdd` narrow it per member ("Every call": a member only themselves).
+ */
function People({
id,
ids,
- max,
+ max = Number.POSITIVE_INFINITY,
members,
+ you,
emailOf,
disabled,
- onChange,
+ mayRemove = () => true,
+ mayAdd = () => true,
+ onAdd,
+ onRemove,
}: {
id: string
ids: string[]
- max: number
+ max?: number
members: WorkspaceMember[]
+ /** Your user id: your chip says "· You". */
+ you?: string
emailOf: (userId: string) => string | undefined
disabled: boolean
- onChange: (ids: string[]) => void
+ mayRemove?: (userId: string) => boolean
+ mayAdd?: (userId: string) => boolean
+ onAdd: (userId: string) => void
+ onRemove: (userId: string) => void
}) {
const t = useT()
const options = members
- .filter(m => !m.disabled && !ids.includes(m.user_id))
+ .filter(m => !m.disabled && !ids.includes(m.user_id) && mayAdd(m.user_id))
.map(m => {
const email = emailOf(m.user_id)
const label = memberLabel(m, email)
@@ -378,17 +434,16 @@ function People({
const email = emailOf(userId)
const label = memberLabel(member, email)
return (
- <span key={userId} className="ce-chip">
+ <span key={userId} className="ce-chip" title={email && email !== label ? email : undefined}>
<Avatar name={label} size={20} src={memberAvatar(member)} />
- {label}
- {email && email !== label && <span className="ce-chip-email">{email}</span>}
- {!disabled && (
+ {userId === you ? t('settings.assistant.emails.member.you', { name: label }) : label}
+ {!disabled && mayRemove(userId) && (
<button
type="button"
className="ce-chip-x"
title={t('settings.assistant.emails.remove', { member: label })}
aria-label={t('settings.assistant.emails.remove', { member: label })}
- onClick={() => onChange(ids.filter(x => x !== userId))}
+ onClick={() => onRemove(userId)}
>
<Icon name="close" size={12} />
</button>
@@ -406,7 +461,7 @@ function People({
listWidth={380}
label={t('settings.assistant.emails.add')}
empty={t('settings.assistant.emails.add')}
- onChange={userId => userId && onChange([...ids, userId])}
+ onChange={userId => userId && onAdd(userId)}
/>
</span>
)}
diff --git a/apps/web/src/settings/Notifications.tsx b/apps/web/src/settings/Notifications.tsx
index 26c952a2..ec7dd1d0 100644
--- a/apps/web/src/settings/Notifications.tsx
+++ b/apps/web/src/settings/Notifications.tsx
@@ -1,6 +1,6 @@
// User settings › Preferences, under Language: your own notifications in this workspace: one switch for notifications
// on this device (push where the browser and server can, else while Linedesk is open; it asks for the browser's
-// permission itself), assigned-call and setup emails. Call emails are set in one place for the whole team, Assistant ›
+// permission itself) and setup emails. Call emails (also for assigned calls) are set in one place for the whole team, Assistant ›
// Email notifications (CallEmails.tsx); the line under the switches links there.
import type { NotificationSettingsData } from '@linedesk/actions'
import { type ReactNode, useEffect, useState } from 'react'
@@ -12,7 +12,6 @@ import {
useNotificationQuery,
} from '../shell/useCallNotifications.ts'
import { useRun } from '../store.tsx'
-import { useCanAssign } from '../team/members.ts'
import { changedByLabel } from '../team/team-model.ts'
import { useWorkspaces } from '../shell/WorkspaceSwitcher.tsx'
import { Loading } from '../ui/LoadStates.tsx'
@@ -181,17 +180,15 @@ export function Notifications() {
/** The settings a member keeps per workspace that NotificationSwitches changes (call emails: Email notifications). */
export type NotificationChange = {
- assignedEmail?: boolean
setupEmails?: boolean
pushSummary?: boolean
}
/** `settings` with `change` applied, as the page shows it before the server answers. */
export function withChange(settings: NotificationSettingsData, change: NotificationChange): NotificationSettingsData {
- const { assignedEmail, setupEmails, pushSummary } = change
+ const { setupEmails, pushSummary } = change
return {
...settings,
- ...(assignedEmail === undefined ? {} : { assignedEmail }),
...(setupEmails === undefined ? {} : { setupEmails }),
...(pushSummary === undefined ? {} : { push: { ...settings.push, summary: pushSummary } }),
}
@@ -205,7 +202,6 @@ export function withChange(settings: NotificationSettingsData, change: Notificat
*/
export function NotificationSwitches({
settings,
- canAssign,
pushOn,
device,
them,
@@ -213,7 +209,6 @@ export function NotificationSwitches({
onChange,
}: {
settings: NotificationSettingsData
- canAssign: boolean
pushOn: boolean
device?: ReactNode
them?: boolean
@@ -235,14 +230,6 @@ export function NotificationSwitches({
disabled={pushSummaryOffOnly && !settings.push.summary}
/>
)}
- {canAssign && (
- <SwitchRow
- title={them ? t('account.notify.assignedThem') : t('account.notify.assignedMe')}
- description={them ? t('account.notify.assignedThemDescription') : t('account.notify.assignedMeDescription')}
- on={settings.assignedEmail}
- onChange={assignedEmail => onChange({ assignedEmail })}
- />
- )}
{settings.setupEmails !== null && (
<SwitchRow
title={t('account.notify.setupEmails')}
@@ -258,7 +245,6 @@ export function NotificationSwitches({
function OwnNotifications({ settings }: { settings: NotificationSettingsData }) {
const t = useT()
const run = useRun()
- const canAssign = useCanAssign()
const device = useDeviceNotifications(settings)
// Someone in several workspaces changes another's notifications there.
const several = (useWorkspaces()?.length ?? 1) > 1
@@ -274,7 +260,6 @@ function OwnNotifications({ settings }: { settings: NotificationSettingsData })
{/* No sentence above the switches repeating what they say (UI cleanup S8): the switches are the summary. */}
<NotificationSwitches
settings={settings}
- canAssign={canAssign}
pushOn={device.pushOn}
onChange={change}
device={
diff --git a/apps/web/src/settings/call-emails.css b/apps/web/src/settings/call-emails.css
index 5c4d9e4f..32664127 100644
--- a/apps/web/src/settings/call-emails.css
+++ b/apps/web/src/settings/call-emails.css
@@ -1,19 +1,99 @@
/* Settings › Assistant › Call emails (CallEmails.tsx) and the call view's "Emailed after the call" (EmailedAfterCall.tsx). */
-/* Who hears about calls: the row for new teammates starts with a plus where the others have an avatar. */
-.ce-lead-new {
- display: inline-grid;
- place-items: center;
+/* One list of "which calls → who": a bordered block for every call, for assigned calls and per topic. */
+.ce-blocks {
+ display: grid;
+ grid-template-columns: minmax(0, 1fr);
+ margin: 0;
+ padding: 0;
+ list-style: none;
+ border: 1px solid var(--line);
+ border-radius: var(--radius-md);
+}
+.ce-block {
+ display: grid;
+ grid-template-columns: minmax(0, 1fr);
+ gap: 10px;
+ padding: 12px;
+}
+.ce-block + .ce-block {
+ border-top: 1px solid var(--line);
+}
+.ce-block-head {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ min-height: 28px;
+}
+.ce-block-title {
flex: none;
- width: 24px;
- height: 24px;
- border-radius: var(--radius-full);
- background: var(--surface-hover);
+ margin: 0;
+ font-size: 13.5px;
+ font-weight: 600;
+ color: var(--ink);
+}
+h3.ce-block-title {
+ flex: 1;
+}
+.ce-rule-when {
+ flex: 1;
+ min-width: 0;
+}
+.ce-rule-error {
+ margin: 0;
+ font-size: 12px;
+ color: var(--danger);
+}
+/* Label column (the same width in every block) and value column; a label stays on the first line when chips wrap. */
+.ce-block-body {
+ display: grid;
+ grid-template-columns: minmax(64px, max-content) minmax(0, 1fr);
+ align-items: start;
+ gap: 8px 12px;
+}
+.ce-rule-label {
+ font-size: 12px;
+ line-height: 32px;
+ white-space: nowrap;
color: var(--ink-muted);
}
-/* The rules sit under the people, apart from them. */
-.ce-people + .ce-rules {
- margin-top: 16px;
+.ce-rule-assign {
+ justify-self: start;
+ min-width: 180px;
+}
+.ce-new {
+ justify-self: start;
+ margin-top: -2px;
+ font-size: 12.5px;
+ color: var(--ink-muted);
+}
+.ce-none {
+ margin: 10px 0 0;
+ font-size: 12.5px;
+ color: var(--ink-muted);
+}
+@media (max-width: 560px) {
+ /* Phone: label and remove on the first line, the topic field at full width under them. */
+ .ce-block-head {
+ flex-wrap: wrap;
+ row-gap: 6px;
+ }
+ label.ce-block-title {
+ flex: 1;
+ }
+ .ce-rule-when {
+ order: 1;
+ flex-basis: 100%;
+ }
+ .ce-block-body {
+ grid-template-columns: minmax(0, 1fr);
+ }
+ .ce-block-body > span:empty {
+ display: none;
+ }
+ .ce-rule-label {
+ line-height: 18px;
+ }
}
/* Member chips with a remove button, and the picker to add one. */
@@ -22,6 +102,7 @@
flex-wrap: wrap;
align-items: center;
gap: 6px;
+ min-height: 32px;
}
.ce-chip {
display: inline-flex;
@@ -41,10 +122,6 @@
.ce-chip:has(.ce-chip-x) {
padding-right: 2px;
}
-.ce-chip-email {
- color: var(--ink-muted);
- font-size: 11.5px;
-}
.ce-chip-x {
display: inline-grid;
place-items: center;
@@ -73,91 +150,6 @@
overflow-wrap: normal;
}
-/* The rules: a bordered list, one block per rule. */
-.ce-rules {
- display: grid;
- margin: 0;
- padding: 0;
- list-style: none;
- border: 1px solid var(--line);
- border-radius: var(--radius-md);
-}
-.ce-rule {
- display: grid;
- gap: 8px;
- padding: 10px;
-}
-.ce-rule + .ce-rule {
- border-top: 1px solid var(--line);
-}
-.ce-rule-head {
- display: flex;
- align-items: center;
- gap: 10px;
-}
-.ce-rule-n {
- flex: none;
- width: 20px;
- height: 20px;
- border-radius: var(--radius-full);
- background: var(--surface-hover);
- color: var(--ink-muted);
- font-size: 12px;
- line-height: 20px;
- text-align: center;
-}
-.ce-rule-head > .ce-rule-label {
- flex: none;
-}
-.ce-rule-when {
- flex: 1;
- min-width: 0;
-}
-.ce-rule-error {
- margin: 0 0 0 30px;
- font-size: 12px;
- color: var(--danger);
-}
-/* Label column and value column, lined up after the number. */
-.ce-rule-body {
- display: grid;
- grid-template-columns: max-content minmax(0, 1fr);
- align-items: center;
- gap: 8px 12px;
- margin-left: 30px;
-}
-.ce-rule-label {
- font-size: 12px;
- color: var(--ink-muted);
-}
-.ce-rule-assign {
- justify-self: start;
- min-width: 180px;
-}
-/* A rule is never wider than its list: the field's own width must not set the grid column. */
-.ce-rules,
-.ce-rule {
- grid-template-columns: minmax(0, 1fr);
-}
-@media (max-width: 560px) {
- /* Phone: number, label and remove on the first line, the topic field at full width under them. */
- .ce-rule-head {
- flex-wrap: wrap;
- row-gap: 6px;
- }
- .ce-rule-head > .ce-rule-label {
- flex: 1;
- }
- .ce-rule-when {
- order: 1;
- flex-basis: 100%;
- }
- .ce-rule-body {
- grid-template-columns: minmax(0, 1fr);
- margin-left: 0;
- }
-}
-
/* Call view, side panel. */
.ce-sent {
gap: 6px;
diff --git a/apps/web/src/team/MemberEdit.tsx b/apps/web/src/team/MemberEdit.tsx
index fe1ec4b9..1834de4e 100644
--- a/apps/web/src/team/MemberEdit.tsx
+++ b/apps/web/src/team/MemberEdit.tsx
@@ -181,7 +181,6 @@ function MemberEditForm({
<NotificationSwitches
them
settings={data.notifications}
- canAssign={data.canAssign}
pushOn={data.notifications.push.devices.length > 0}
pushSummaryOffOnly
onChange={change => void changeNotifications(change)}
diff --git a/packages/actions/src/email-routing.ts b/packages/actions/src/email-routing.ts
index 77364c30..b4d6f131 100644
--- a/packages/actions/src/email-routing.ts
+++ b/packages/actions/src/email-routing.ts
@@ -68,10 +68,11 @@ export const emailRoutingGet = defineAction({
})
/**
- * One member's row in Email notifications: whether they get the email about every call. `email` only for a member
- * without a name, whose row shows it instead (every member reads the team's addresses anyway, team.list).
+ * One member in Email notifications: whether they get the email about every call, and the one when a teammate assigns
+ * them a call (`assigned`). `email` only for a member without a name, whose chip shows it instead (every member reads
+ * the team's addresses anyway, team.list).
*/
-export type CallEmailsMember = { userId: string; everyCall: boolean; email?: string }
+export type CallEmailsMember = { userId: string; everyCall: boolean; assigned: boolean; email?: string }
/** `data` of callEmails.get. */
export type CallEmailsData = {
diff --git a/packages/i18n/i18n.lock.json b/packages/i18n/i18n.lock.json
index 1562eed0..3f603c19 100644
--- a/packages/i18n/i18n.lock.json
+++ b/packages/i18n/i18n.lock.json
@@ -690,26 +690,6 @@
"out": "024d47abf2a0b4d5273888b70674c95152ed04d3ab1763e665a4b693d732fd84",
"src": "6fa3cbf451b2a1d54159d42c3ea5ab8725b0c8620d831f8c1602676b38ab00e6"
},
- "account.notify.assignedMe": {
- "by": "ai",
- "out": "c9abd250be437643bd0ba5b16f31c3f67451b1834dc8b597e739cba962b535e4",
- "src": "db09166bbcbf658bec991b97dce1383cf2df7efcc84fcf0943f0f4104a0fcf3c"
- },
- "account.notify.assignedMeDescription": {
- "by": "ai",
- "out": "350e28cc7bea6d1a64f8f58a13a3ca0f44272ab49c6303ae03554bc6a6502c2a",
- "src": "c0d11d112a1fc57f7526ed0809e5e8c686313a102480229d191fc66977a710e7"
- },
- "account.notify.assignedThem": {
- "by": "ai",
- "out": "e60c8415d82297ea3a05251aeca479b096011f88e11e677dd44ff1aa9a6cfbb0",
- "src": "b70ac4cdd4afcebd2db81835183a70295bddc523f4bf1a6073707e453b4b549e"
- },
- "account.notify.assignedThemDescription": {
- "by": "ai",
- "out": "21c57ec08308cda9f20014ddc5bc14c624acc079f485bf0d79f72d459dbc6505",
- "src": "ad413dd4ae606268235e4aec117b56f72aa3e3bd79eb5cc4d87579aeb117e24c"
- },
"account.notify.blocked": {
"by": "ai",
"out": "4b516ca868671d5505e28dee088ce13f7b79c30921a3b217db12458f91c9fa49",
@@ -26895,11 +26875,6 @@
"out": "dccb561084eca431a8e4c17388d15d64f4329b88936336be198d11dd9f6d36f2",
"src": "f6c16bced8c14169311aa5e239dfc6e6628e9d5d644c723328573e731a744b98"
},
- "settings.assistant.emails.descriptionNoRules": {
- "by": "ai",
- "out": "70ae2b1adb21dc49ccef012150a13eeae96edd13a7970e81df5a8c2524ea021b",
- "src": "0fc0d7313f992b5d7ac46fce6f7f30fae13003f5ad659aaae9c772fd24368d9c"
- },
"settings.assistant.emails.help": {
"by": "ai",
"out": "2725720e2e9f013714ceda40a7acd8e6f8cd3943f11c169908cd0448de788128",
@@ -26915,56 +26890,11 @@
"out": "f2ec7e0466a9065a8cc57c66e05c99508bf79732e062c46e15328982e0e45a01",
"src": "245c108762e2060a8b0e11979d754a116f7f9e5bdc7cde3c0fa2cc7593201253"
},
- "settings.assistant.emails.member.everyCall": {
- "by": "ai",
- "out": "f83ae0a0e5790b42ab73ba5131ae1775e128fb0ebd4b7b3e0722c7344458b7e7",
- "src": "af215988aeb66cf15cbeec8d61c19645df654bae51bca4dafc208537e027755f"
- },
- "settings.assistant.emails.member.none": {
- "by": "ai",
- "out": "d815b68f83c6f389d9f098d9e27595338268e69b4ef4a8a51849c237aa4e4a07",
- "src": "8b5e004d839da04fb701a75a893b086fb579cda02f46a533d3d9d666872cd3e2"
- },
- "settings.assistant.emails.member.notYours": {
- "by": "ai",
- "out": "612858756408004feca8c6d7df7005ef51bf91f709eea4a798f9b633a77f774a",
- "src": "8e5992057172e5bb70cd7f9b152a0fa2209bb21b1761fe4d37436ff696cbb7d9"
- },
- "settings.assistant.emails.member.onlyRules": {
- "by": "ai",
- "out": "f90f46c6f1cbb1742f3248dc9a051f39fb7c7c9532149196043af0d57dfb21b7",
- "src": "0eb3b4d4ac5f4999b2de52b59b1d67a011e303576147f8013714ded5235ddd05"
- },
- "settings.assistant.emails.member.ownerOnly": {
- "by": "ai",
- "out": "582a057f513fd186bb0077e8df2413d576da53ffda31379e7e0e144a25d1f3bf",
- "src": "8774a1cdb73e71694248f61dd624ac42634f5202a6429f0fe059e8f31b3db00b"
- },
"settings.assistant.emails.member.you": {
"by": "ai",
"out": "51e2c9a7707db94018bfebc1e192e46093eb21cfeb2a4064b9aaf8fed7678355",
"src": "f252b85f1209d8e350e6f82d05a934ca9774e9e443888f6dcedc012cb189e722"
},
- "settings.assistant.emails.newTeammates.everyCall": {
- "by": "ai",
- "out": "d8d30da051640bdf721fd540aeea02c56d18886cba59b4cc774fcc4f1b541113",
- "src": "1cd572b85fc975a693e15b2f3c38614b7f8116df9da84abf31948d9cddaaedc5"
- },
- "settings.assistant.emails.newTeammates.none": {
- "by": "ai",
- "out": "d73e3c6b045e36631b229f9cc55c1f0ad9f2ed84b71211296208f6d5b7d028eb",
- "src": "83b61edf63478894823c5ac25b9c35d1aba8c6e370093c56c5f5e6ee4163c0c4"
- },
- "settings.assistant.emails.newTeammates.onlyRules": {
- "by": "ai",
- "out": "49cda84f99d3f8d503731115a7a34391e153d66c2dcda9b6cf23912ee6664592",
- "src": "c009254fd9f7c6171b1180b16947cec1a58689f97df44ed61dd8006df9528a85"
- },
- "settings.assistant.emails.newTeammates.title": {
- "by": "ai",
- "out": "c72397bdfe0e1c88c445e4b3aadaf30c4de592f14724d4f670b76340f34afc01",
- "src": "41e7860f2a224e6d3fe3e202bd2f990922c94c9a15c6e323c5c2575047593fde"
- },
"settings.assistant.emails.readOnly": {
"by": "ai",
"out": "a9e98f834567dc808dd3b251e0a2476f4589d4d2b35d90a2756ee1572ab74610",
@@ -41932,26 +41862,6 @@
"out": "272378aa56d86aa8888d7f290e0de3e3338340c35ee98f9bf658f0b40a9d552f",
"src": "6fa3cbf451b2a1d54159d42c3ea5ab8725b0c8620d831f8c1602676b38ab00e6"
},
- "account.notify.assignedMe": {
- "by": "ai",
- "out": "bacd0bbb578017b8423b65e30851d6a608816935e52f6a5a4bc85096138c6612",
- "src": "db09166bbcbf658bec991b97dce1383cf2df7efcc84fcf0943f0f4104a0fcf3c"
- },
- "account.notify.assignedMeDescription": {
- "by": "ai",
- "out": "a41cb16fcd732d5fb54043a92d917f3b64c4d56e9f7dfdcecc122a428d3758e9",
- "src": "c0d11d112a1fc57f7526ed0809e5e8c686313a102480229d191fc66977a710e7"
- },
- "account.notify.assignedThem": {
- "by": "ai",
- "out": "a1575d182c9e87fd5dd9a05faa3c36b1b7c0d54b81533267a731755b8a07f0d3",
- "src": "b70ac4cdd4afcebd2db81835183a70295bddc523f4bf1a6073707e453b4b549e"
- },
- "account.notify.assignedThemDescription": {
- "by": "ai",
- "out": "d7a7f62746febfac42aef76f923aad4e6466d91a5bbc8410176181e3b712d82d",
- "src": "ad413dd4ae606268235e4aec117b56f72aa3e3bd79eb5cc4d87579aeb117e24c"
- },
"account.notify.blocked": {
"by": "ai",
"out": "3db690be25934d6d5f431b4b3ed49afbdd74e94c297680edca47c900edebb80f",
@@ -68137,11 +68047,6 @@
"out": "125f56fa111702d8d120c35afee0b21b0b40a66ee0551c8fe301ae8222221a01",
"src": "f6c16bced8c14169311aa5e239dfc6e6628e9d5d644c723328573e731a744b98"
},
- "settings.assistant.emails.descriptionNoRules": {
- "by": "ai",
- "out": "0f627ebbd0e5d2717c79bbd4e7857cd5cd85322987b1fb0ab3eae13704a3a0ab",
- "src": "0fc0d7313f992b5d7ac46fce6f7f30fae13003f5ad659aaae9c772fd24368d9c"
- },
"settings.assistant.emails.help": {
"by": "ai",
"out": "7f3e06eeaf796907d649eb6f5e595daee19f1ebe56e54c8d7a64e0a844007abf",
@@ -68157,56 +68062,11 @@
"out": "849586973f6af47f06957852d2fbfcc4d502e44395448c15951a93c9648fe760",
"src": "245c108762e2060a8b0e11979d754a116f7f9e5bdc7cde3c0fa2cc7593201253"
},
- "settings.assistant.emails.member.everyCall": {
- "by": "ai",
- "out": "0bf774eb3efffb02ab9335de843d51cd98ad6b9b9a9f4b4b88ff38dbe067cfb9",
- "src": "af215988aeb66cf15cbeec8d61c19645df654bae51bca4dafc208537e027755f"
- },
- "settings.assistant.emails.member.none": {
- "by": "ai",
- "out": "831e58d479c0fb1c6cb79b46aa6100b6307754c0d3f38c1f9ff7e83bf249d509",
- "src": "8b5e004d839da04fb701a75a893b086fb579cda02f46a533d3d9d666872cd3e2"
- },
- "settings.assistant.emails.member.notYours": {
- "by": "ai",
- "out": "daa4faad3050397d42b8f8eebfb40dfbbbf3882f1e102752f56fc235f7af22f3",
- "src": "8e5992057172e5bb70cd7f9b152a0fa2209bb21b1761fe4d37436ff696cbb7d9"
- },
- "settings.assistant.emails.member.onlyRules": {
- "by": "ai",
- "out": "b82de07062f2ec96c93d2fd59929aa113005f516339d042abd162763d641b045",
- "src": "0eb3b4d4ac5f4999b2de52b59b1d67a011e303576147f8013714ded5235ddd05"
- },
- "settings.assistant.emails.member.ownerOnly": {
- "by": "ai",
- "out": "0b07460cfb9098b912b6e081c05a2c00a8eddae7c4cb844e3d9e807b2fdb6aaa",
- "src": "8774a1cdb73e71694248f61dd624ac42634f5202a6429f0fe059e8f31b3db00b"
- },
"settings.assistant.emails.member.you": {
"by": "ai",
"out": "2c43255a5e6bc7c4edbc3c61cc242c82b6dbb4009b5232c9279fd22377f877fe",
"src": "f252b85f1209d8e350e6f82d05a934ca9774e9e443888f6dcedc012cb189e722"
},
- "settings.assistant.emails.newTeammates.everyCall": {
- "by": "ai",
- "out": "e41bbd0b4e2341c8592813780bcb6f996c6dd2ff4b1ad1df698d36b4b0c0d080",
- "src": "1cd572b85fc975a693e15b2f3c38614b7f8116df9da84abf31948d9cddaaedc5"
- },
- "settings.assistant.emails.newTeammates.none": {
- "by": "ai",
- "out": "9602874996795935a33f7519299f2a58f4a6634a6859ae4ca9896f03beb7ac23",
- "src": "83b61edf63478894823c5ac25b9c35d1aba8c6e370093c56c5f5e6ee4163c0c4"
- },
- "settings.assistant.emails.newTeammates.onlyRules": {
- "by": "ai",
- "out": "f168daef7c47cbf3a25402634483b25eaaea9f14fba8f67722d6924fd7f516cf",
- "src": "c009254fd9f7c6171b1180b16947cec1a58689f97df44ed61dd8006df9528a85"
- },
- "settings.assistant.emails.newTeammates.title": {
- "by": "ai",
- "out": "302cf63985131e3fc47a24a9529e1493171d58a66b4bc809d22e25fa6ba1c633",
- "src": "41e7860f2a224e6d3fe3e202bd2f990922c94c9a15c6e323c5c2575047593fde"
- },
"settings.assistant.emails.readOnly": {
"by": "ai",
"out": "e75234bec9afa4954d26d922a27390d1a7a85977c75581bed0fb30bfe77c084b",
@@ -83164,26 +83024,6 @@
"out": "6fa3cbf451b2a1d54159d42c3ea5ab8725b0c8620d831f8c1602676b38ab00e6",
"src": "6fa3cbf451b2a1d54159d42c3ea5ab8725b0c8620d831f8c1602676b38ab00e6"
},
- "account.notify.assignedMe": {
- "by": "ai",
- "out": "ffd111fc65676cfc3e560ed751b984682d44ae000c739a2943c365f4b46a73dc",
- "src": "db09166bbcbf658bec991b97dce1383cf2df7efcc84fcf0943f0f4104a0fcf3c"
- },
- "account.notify.assignedMeDescription": {
- "by": "ai",
- "out": "479ea33f42ddaa091ac6912b1db80cb50cde5e6b9d31caa0fa18be1084ebd5d7",
- "src": "c0d11d112a1fc57f7526ed0809e5e8c686313a102480229d191fc66977a710e7"
- },
- "account.notify.assignedThem": {
- "by": "ai",
- "out": "ebe66be2ad93b7c42932904995f5ec698a17a2c102dac701765fd1f53d99a7f2",
- "src": "b70ac4cdd4afcebd2db81835183a70295bddc523f4bf1a6073707e453b4b549e"
- },
- "account.notify.assignedThemDescription": {
- "by": "ai",
- "out": "f85c8725297b1ad7adc6e312e773aac12bb286d13da43bd0f6bb02cf6576bb65",
- "src": "ad413dd4ae606268235e4aec117b56f72aa3e3bd79eb5cc4d87579aeb117e24c"
- },
"account.notify.blocked": {
"by": "ai",
"out": "82c574616e8527b513fff38436908b0da387fc2ca5aa12725106373c1572b18c",
@@ -109369,11 +109209,6 @@
"out": "39e5e8162e2ea76bb9220ed97450262df7ac3c389cd5e2b9662c2a7e201a7571",
"src": "f6c16bced8c14169311aa5e239dfc6e6628e9d5d644c723328573e731a744b98"
},
- "settings.assistant.emails.descriptionNoRules": {
- "by": "ai",
- "out": "9e6e111b1dcaca0b537c20d0dd6752637d624f2970b0fc449300e967780e28f4",
- "src": "0fc0d7313f992b5d7ac46fce6f7f30fae13003f5ad659aaae9c772fd24368d9c"
- },
"settings.assistant.emails.help": {
"by": "ai",
"out": "146e293e451880e4acdc781e817e7d607316d36496f1615e349a02ed34e4dfe4",
@@ -109389,56 +109224,11 @@
"out": "bd5af1bc6332831b579ba9133d6b6bfe66d33621f13868a05118b5c1ab925ed3",
"src": "245c108762e2060a8b0e11979d754a116f7f9e5bdc7cde3c0fa2cc7593201253"
},
- "settings.assistant.emails.member.everyCall": {
- "by": "ai",
- "out": "098976878055a27ed54d013bb45a08d3b19bdc73f8dab25104f31536316fe401",
- "src": "af215988aeb66cf15cbeec8d61c19645df654bae51bca4dafc208537e027755f"
- },
- "settings.assistant.emails.member.none": {
- "by": "ai",
- "out": "968bf4dd08e7d406a43948e25faaf662303b072fbc80386f2c62f3c7b3176462",
- "src": "8b5e004d839da04fb701a75a893b086fb579cda02f46a533d3d9d666872cd3e2"
- },
- "settings.assistant.emails.member.notYours": {
- "by": "ai",
- "out": "e8ae111eb67bb1b87b89a9d8a6da6a952cd16aa54c6299f993f0f5dfba08a0e5",
- "src": "8e5992057172e5bb70cd7f9b152a0fa2209bb21b1761fe4d37436ff696cbb7d9"
- },
- "settings.assistant.emails.member.onlyRules": {
- "by": "ai",
- "out": "7d284ad56466a39612b0e45aca67c9e73c98547a8280d992c30846e8c80695ea",
- "src": "0eb3b4d4ac5f4999b2de52b59b1d67a011e303576147f8013714ded5235ddd05"
- },
- "settings.assistant.emails.member.ownerOnly": {
- "by": "ai",
- "out": "cbfcb20578a8ea6d6a856708e19a5dab6c6c4332aa85f1340a99c3dae36287c3",
- "src": "8774a1cdb73e71694248f61dd624ac42634f5202a6429f0fe059e8f31b3db00b"
- },
"settings.assistant.emails.member.you": {
"by": "ai",
"out": "2f2956387976028f0cfc34ba13e9c52182f3e38709f7617a5ee57385145ca5af",
"src": "f252b85f1209d8e350e6f82d05a934ca9774e9e443888f6dcedc012cb189e722"
},
- "settings.assistant.emails.newTeammates.everyCall": {
- "by": "ai",
- "out": "1d6d9671bf50607399f5d910f6647fc82a1441c0ed7d28db2c2a1d48ece24349",
- "src": "1cd572b85fc975a693e15b2f3c38614b7f8116df9da84abf31948d9cddaaedc5"
- },
- "settings.assistant.emails.newTeammates.none": {
- "by": "ai",
- "out": "2d37db8c3d916c2a5da62b975fc4624b84370788240167cedb5c98304e43ec81",
- "src": "83b61edf63478894823c5ac25b9c35d1aba8c6e370093c56c5f5e6ee4163c0c4"
- },
- "settings.assistant.emails.newTeammates.onlyRules": {
- "by": "ai",
- "out": "7187f0eaea70c138b068ecf1e2c5f903bac0f0706b79fb2f2a8e50aedb47ff27",
- "src": "c009254fd9f7c6171b1180b16947cec1a58689f97df44ed61dd8006df9528a85"
- },
- "settings.assistant.emails.newTeammates.title": {
- "by": "ai",
- "out": "b5279fcd87e36d80ad8402a594ecf331869bd50fea208f82963d30f573df3112",
- "src": "41e7860f2a224e6d3fe3e202bd2f990922c94c9a15c6e323c5c2575047593fde"
- },
"settings.assistant.emails.readOnly": {
"by": "ai",
"out": "8b9896ad1baf3c1a7a8dfcbb4f289bab7fb32ad52e5996c9433008a8790261f4",
@@ -124396,26 +124186,6 @@
"out": "fbb0bd6e70e2c8466a99176d78ce1a70b015edc5cd9eb80ef89832634adb59cc",
"src": "6fa3cbf451b2a1d54159d42c3ea5ab8725b0c8620d831f8c1602676b38ab00e6"
},
- "account.notify.assignedMe": {
- "by": "ai",
- "out": "02df3001888237e850895e117f599de1ae4ec78c18e5dac6e64d2e8564911646",
- "src": "db09166bbcbf658bec991b97dce1383cf2df7efcc84fcf0943f0f4104a0fcf3c"
- },
- "account.notify.assignedMeDescription": {
- "by": "ai",
- "out": "77fe5eb9c531424971314911b2d321ba6bb4d649a983cc73e311de141919262a",
- "src": "c0d11d112a1fc57f7526ed0809e5e8c686313a102480229d191fc66977a710e7"
- },
- "account.notify.assignedThem": {
- "by": "ai",
- "out": "d8f6ba6711882b73d24b039565b2741833312f6c6a869222aaf3196b47629a30",
- "src": "b70ac4cdd4afcebd2db81835183a70295bddc523f4bf1a6073707e453b4b549e"
- },
- "account.notify.assignedThemDescription": {
- "by": "ai",
- "out": "4a0738c9b45e5a73d3628c936c9f79bc553dbb2ed606caeb47b4135b3ccb4fcb",
- "src": "ad413dd4ae606268235e4aec117b56f72aa3e3bd79eb5cc4d87579aeb117e24c"
- },
"account.notify.blocked": {
"by": "ai",
"out": "6e2eba43043c6858e3501132c23b7a3f82f247a86269107dde06c3b799d74a18",
@@ -150601,11 +150371,6 @@
"out": "bd7e2d0168d9281ae90350918b5969d1bc601b751ba9909996b40c1aa54d0155",
"src": "f6c16bced8c14169311aa5e239dfc6e6628e9d5d644c723328573e731a744b98"
},
- "settings.assistant.emails.descriptionNoRules": {
- "by": "ai",
- "out": "a701487cc857e51d22ac37c4fc3e7fbdd7b4f25bcfee699872850c890d3da83a",
- "src": "0fc0d7313f992b5d7ac46fce6f7f30fae13003f5ad659aaae9c772fd24368d9c"
- },
"settings.assistant.emails.help": {
"by": "ai",
"out": "fb1aad80f454559d34c914d93401ccf62d89dea3ab35fee68841b334057a56b9",
@@ -150621,56 +150386,11 @@
"out": "ed4584cbfce6df0b4d9b2e94283cb85c32d82952db507cdf179160b41625bf88",
"src": "245c108762e2060a8b0e11979d754a116f7f9e5bdc7cde3c0fa2cc7593201253"
},
- "settings.assistant.emails.member.everyCall": {
- "by": "ai",
- "out": "3e9a6a3d50a40af9e5c912c58b99a7f230b27313f754f30cd39e7dd3467282ad",
- "src": "af215988aeb66cf15cbeec8d61c19645df654bae51bca4dafc208537e027755f"
- },
- "settings.assistant.emails.member.none": {
- "by": "ai",
- "out": "3a0ce5a05cc4fa4b1441d8e76333b5f82b931c18de04364bd292c9f9d23e2dee",
- "src": "8b5e004d839da04fb701a75a893b086fb579cda02f46a533d3d9d666872cd3e2"
- },
- "settings.assistant.emails.member.notYours": {
- "by": "ai",
- "out": "e71f807c7cbe175933c85054ea6548a03d8955c9a7176a4335f3e1a50f6ea14c",
- "src": "8e5992057172e5bb70cd7f9b152a0fa2209bb21b1761fe4d37436ff696cbb7d9"
- },
- "settings.assistant.emails.member.onlyRules": {
- "by": "ai",
- "out": "e9d7842645a075512eb293e9c0c6ccbd6a409b0719a7615447e3168f89cebe0d",
- "src": "0eb3b4d4ac5f4999b2de52b59b1d67a011e303576147f8013714ded5235ddd05"
- },
- "settings.assistant.emails.member.ownerOnly": {
- "by": "ai",
- "out": "dcb30181c318c091a661274f4f813af5c3634cd353ff61cb4bdcf4de0eddf1c5",
- "src": "8774a1cdb73e71694248f61dd624ac42634f5202a6429f0fe059e8f31b3db00b"
- },
"settings.assistant.emails.member.you": {
"by": "ai",
"out": "340e8e699b84219f233e2f8b61b347a06bb7117209f7fe64481090d532d36e13",
"src": "f252b85f1209d8e350e6f82d05a934ca9774e9e443888f6dcedc012cb189e722"
},
- "settings.assistant.emails.newTeammates.everyCall": {
- "by": "ai",
- "out": "25ae1e7ab1ace82dd2c4349974978272c6f74b70d4742a8854650832902e85e4",
- "src": "1cd572b85fc975a693e15b2f3c38614b7f8116df9da84abf31948d9cddaaedc5"
- },
- "settings.assistant.emails.newTeammates.none": {
- "by": "ai",
- "out": "0bd6d184c209426dc6f84313ee3fa4f5c47f46271d04ef6455188d9200aaf4a4",
- "src": "83b61edf63478894823c5ac25b9c35d1aba8c6e370093c56c5f5e6ee4163c0c4"
- },
- "settings.assistant.emails.newTeammates.onlyRules": {
- "by": "ai",
- "out": "5a43021410b2be9ba122cb4df352b1567ce381fbab4e01616f64c6db95e3bc4e",
- "src": "c009254fd9f7c6171b1180b16947cec1a58689f97df44ed61dd8006df9528a85"
- },
- "settings.assistant.emails.newTeammates.title": {
- "by": "ai",
- "out": "0bc9ff97eea00bcb28017ba7703e01a98365043e91e721026fb80a05ac909f77",
- "src": "41e7860f2a224e6d3fe3e202bd2f990922c94c9a15c6e323c5c2575047593fde"
- },
"settings.assistant.emails.readOnly": {
"by": "ai",
"out": "130436704bacb04c694ce11a9f446921d625e03e6a8b06fe74a573d1f915b205",
@@ -165628,26 +165348,6 @@
"out": "549a96da6ff6f41d05ad5a5a1298331aabafc38ab7ddf31abc812d371a1f1286",
"src": "6fa3cbf451b2a1d54159d42c3ea5ab8725b0c8620d831f8c1602676b38ab00e6"
},
- "account.notify.assignedMe": {
- "by": "ai",
- "out": "0cb06bf2af2dc2f104bbf7d2b250cd3cef7e51466d72d60c10e8c424e93d6e4f",
- "src": "db09166bbcbf658bec991b97dce1383cf2df7efcc84fcf0943f0f4104a0fcf3c"
- },
- "account.notify.assignedMeDescription": {
- "by": "ai",
- "out": "2eedf61c92cc7a2841713cb872381b70a87aa7a69a3e414e6325f1f7aa0d7422",
- "src": "c0d11d112a1fc57f7526ed0809e5e8c686313a102480229d191fc66977a710e7"
- },
- "account.notify.assignedThem": {
- "by": "ai",
- "out": "abdb5ae59aa2f8d13ad6c68029f4a204ca1b2f1f8ca51992b9bc17953631c885",
- "src": "b70ac4cdd4afcebd2db81835183a70295bddc523f4bf1a6073707e453b4b549e"
- },
- "account.notify.assignedThemDescription": {
- "by": "ai",
- "out": "b353a2ee6ca138f00f226d76fea1e3a6e0bd60bde64ee65ad7d2ec152a58f852",
- "src": "ad413dd4ae606268235e4aec117b56f72aa3e3bd79eb5cc4d87579aeb117e24c"
- },
"account.notify.blocked": {
"by": "ai",
"out": "55420e88fd0debd356867dab31eb9661e9cc70312ba6e4deb236cc2f928e2e55",
@@ -191833,11 +191533,6 @@
"out": "a3258cbdba85932fcc50c4e0f99d2f4f003f6428d7108a1bda5914a37fae7985",
"src": "f6c16bced8c14169311aa5e239dfc6e6628e9d5d644c723328573e731a744b98"
},
- "settings.assistant.emails.descriptionNoRules": {
- "by": "ai",
- "out": "8d4fdf96eab5e82088e22d9d7df3a960045f63d72e69eb52a284ba541e5da713",
- "src": "0fc0d7313f992b5d7ac46fce6f7f30fae13003f5ad659aaae9c772fd24368d9c"
- },
"settings.assistant.emails.help": {
"by": "ai",
"out": "1bcaecaa1d5a789d51698791ca39088bc0ccc68a76447be9b565dc003f27d100",
@@ -191853,56 +191548,11 @@
"out": "12fd53d219f40b4a456d282cdae3578c3c14709a18e595577f327c764b01efa0",
"src": "245c108762e2060a8b0e11979d754a116f7f9e5bdc7cde3c0fa2cc7593201253"
},
- "settings.assistant.emails.member.everyCall": {
- "by": "ai",
- "out": "fe28134aa12adf137e6e03634d671485eb4bb99da515d43dbaaf89e8d47549c1",
- "src": "af215988aeb66cf15cbeec8d61c19645df654bae51bca4dafc208537e027755f"
- },
- "settings.assistant.emails.member.none": {
- "by": "ai",
- "out": "7c88d915361b466d7ee4f6601cec72ccd739e4acc8c4c95d707208b2d4b284f6",
- "src": "8b5e004d839da04fb701a75a893b086fb579cda02f46a533d3d9d666872cd3e2"
- },
- "settings.assistant.emails.member.notYours": {
- "by": "ai",
- "out": "dfc0552b4c6fd90ad63bce4121f5d0a2331513116f03e72dc7b819250cc2ebad",
- "src": "8e5992057172e5bb70cd7f9b152a0fa2209bb21b1761fe4d37436ff696cbb7d9"
- },
- "settings.assistant.emails.member.onlyRules": {
- "by": "ai",
- "out": "89402203c90a80ec5a44535a6479bef035ca63348f307a65b833b83962dfc400",
- "src": "0eb3b4d4ac5f4999b2de52b59b1d67a011e303576147f8013714ded5235ddd05"
- },
- "settings.assistant.emails.member.ownerOnly": {
- "by": "ai",
- "out": "03ba1167e568068839ceff041c12f4998fe13d870f490723482f00ddb191d8cd",
- "src": "8774a1cdb73e71694248f61dd624ac42634f5202a6429f0fe059e8f31b3db00b"
- },
"settings.assistant.emails.member.you": {
"by": "ai",
"out": "aa97bc65143eb76e2b2296412a939c1d76d6b5ed26d42f5977aacf33cdb3f785",
"src": "f252b85f1209d8e350e6f82d05a934ca9774e9e443888f6dcedc012cb189e722"
},
- "settings.assistant.emails.newTeammates.everyCall": {
- "by": "ai",
- "out": "b1cb20ef7f34f842ec8bb757fe50ca8bc1665d5d459ad0f3c3f6af8c796038c8",
- "src": "1cd572b85fc975a693e15b2f3c38614b7f8116df9da84abf31948d9cddaaedc5"
- },
- "settings.assistant.emails.newTeammates.none": {
- "by": "ai",
- "out": "caf2911b0e6c5d71d5acea227fbdcc6e66bd56815c5a7a2cfe4f634fe0ccdb5c",
- "src": "83b61edf63478894823c5ac25b9c35d1aba8c6e370093c56c5f5e6ee4163c0c4"
- },
- "settings.assistant.emails.newTeammates.onlyRules": {
- "by": "ai",
- "out": "61feb45c9898693c0c122f54aebcde639e5f0c69fb69be614c4b7572ecae9baf",
- "src": "c009254fd9f7c6171b1180b16947cec1a58689f97df44ed61dd8006df9528a85"
- },
- "settings.assistant.emails.newTeammates.title": {
- "by": "ai",
- "out": "57f8d09749e818220a71fd20411e00e2b702ae0be2e0320bbfa8c28c1f76f1ef",
- "src": "41e7860f2a224e6d3fe3e202bd2f990922c94c9a15c6e323c5c2575047593fde"
- },
"settings.assistant.emails.readOnly": {
"by": "ai",
"out": "01891f533cbde0f7141aea747d45269db166625d01efbf94b1a62b108fb4b630",
diff --git a/packages/i18n/locales/de/account.json b/packages/i18n/locales/de/account.json
index ece27904..0b6b95d2 100644
--- a/packages/i18n/locales/de/account.json
+++ b/packages/i18n/locales/de/account.json
@@ -137,10 +137,6 @@
"nav.security.label": "Anmeldung & Sicherheit",
"nav.sessions.description": "Wo du angemeldet bist",
"nav.sessions.label": "Sitzungen",
- "notify.assignedMe": "Mir eine E-Mail schicken, wenn mir ein Anruf zugewiesen wird",
- "notify.assignedMeDescription": "Wenn dir ein Teammitglied einen Anruf zuweist. Nie für Anrufe, die du selbst übernimmst.",
- "notify.assignedThem": "E-Mail, wenn ein Anruf zugewiesen wird",
- "notify.assignedThemDescription": "Wenn ein Teammitglied der Person einen Anruf zuweist. Nie für Anrufe, die sie selbst übernimmt.",
"notify.blocked": "Vom Browser blockiert. Erlaube Benachrichtigungen für diese Seite und versuch es dann noch einmal.",
"notify.card.assigned": "eine E-Mail, wenn dir ein Anruf zugewiesen wird",
"notify.card.deviceOpen": "Benachrichtigungen auf diesem Gerät, solange {brand} geöffnet ist",
diff --git a/packages/i18n/locales/de/settings.json b/packages/i18n/locales/de/settings.json
index d77e4d8e..261306b2 100644
--- a/packages/i18n/locales/de/settings.json
+++ b/packages/i18n/locales/de/settings.json
@@ -55,20 +55,10 @@
"assistant.draft.transferPresetName": "Inhaber",
"assistant.emails.add": "Person hinzufügen",
"assistant.emails.description": "Jede Person bekommt eine E-Mail zu jedem Anruf. Füge eine Regel für Anrufe hinzu, die nur manche brauchen.",
- "assistant.emails.descriptionNoRules": "Jede eingeschaltete Person bekommt eine E-Mail zu jedem Anruf.",
"assistant.emails.help": "Alle, die eingeschaltet sind, bekommen die E-Mail zu jedem Anruf. Eine Regel fügt Personen für die Anrufe hinzu, um die es in ihr geht: Nach jedem Anruf erkennt {name}, welche Regeln passen. Alle aus diesen Regeln bekommen die E-Mail ebenfalls, und solange der Anruf noch niemandem zugewiesen ist, wird er der ersten Person unter „Zuweisen an“ zugewiesen. Die Schalter gelten für die Anrufe aller Assistenten, die Regeln für die von {name}.",
"assistant.emails.helpNoRules": "Alle, die eingeschaltet sind, bekommen die E-Mail zu jedem Anruf, bei jedem Assistenten. Regeln für Anrufe, die nur manche brauchen, gibt es, sobald ein Sprachmodell eingerichtet ist.",
"assistant.emails.load": "Dein Team",
- "assistant.emails.member.everyCall": "E-Mail zu jedem Anruf",
- "assistant.emails.member.none": "Keine Anruf-E-Mails",
- "assistant.emails.member.notYours": "Nur Admins ändern das",
- "assistant.emails.member.onlyRules": "Nur Anrufe aus Regeln",
- "assistant.emails.member.ownerOnly": "Nur ein Inhaber ändert die Anruf-E-Mails eines Inhabers",
"assistant.emails.member.you": "{name} · Du",
- "assistant.emails.newTeammates.everyCall": "Bekommen jede Anruf-E-Mail, bis sie es ändern",
- "assistant.emails.newTeammates.none": "Keine Anruf-E-Mails, bis sie es ändern",
- "assistant.emails.newTeammates.onlyRules": "Nur Anrufe aus Regeln, bis sie es ändern",
- "assistant.emails.newTeammates.title": "Neue Teammitglieder",
"assistant.emails.readOnly": "Hier schaltest du deine eigenen Anruf-E-Mails. Nur Admins ändern die der anderen und die Regeln.",
"assistant.emails.remove": "{member} entfernen",
"assistant.emails.rule.add": "Regel hinzufügen",
diff --git a/packages/i18n/locales/en/account.json b/packages/i18n/locales/en/account.json
index ba318faa..66d8e8a7 100644
--- a/packages/i18n/locales/en/account.json
+++ b/packages/i18n/locales/en/account.json
@@ -137,10 +137,6 @@
"nav.security.label": "Sign-in & security",
"nav.sessions.description": "Where you are signed in",
"nav.sessions.label": "Sessions",
- "notify.assignedMe": "Email me when a call is assigned to me",
- "notify.assignedMeDescription": "When a teammate assigns you a call. Never for calls you take yourself.",
- "notify.assignedThem": "Email when a call is assigned to them",
- "notify.assignedThemDescription": "When a teammate assigns them a call. Never for calls they take themselves.",
"notify.blocked": "Blocked by the browser. Allow notifications for this site, then try again.",
"notify.card.assigned": "an email when a call is assigned to you",
"notify.card.deviceOpen": "notifications on this device while {brand} is open",
diff --git a/packages/i18n/locales/en/call.json b/packages/i18n/locales/en/call.json
index 2f7976ac..10aafd11 100644
--- a/packages/i18n/locales/en/call.json
+++ b/packages/i18n/locales/en/call.json
@@ -83,11 +83,11 @@
"emailed.about": "about {topics}",
"emailed.assignedTo": "assigned to {member}",
"emailed.change": "Change email notifications",
- "emailed.fallback.llm_failed": "The language model did not answer, so it went to everyone who gets every call and everyone in a rule.",
+ "emailed.fallback.llm_failed": "The language model did not answer, so it went to everyone who gets every call and everyone under a topic.",
"emailed.fallback.no_llm": "No language model is set up, so it went to everyone with call emails on.",
- "emailed.fallback.nothing_fit": "No rule fit this call, so it went to everyone with call emails on.",
+ "emailed.fallback.nothing_fit": "No topic fit this call, so it went to everyone with call emails on.",
"emailed.fallback.other": "It went to everyone who gets every call.",
- "emailed.nobody": "Nobody got an email: nobody gets every call and no rule fit.",
+ "emailed.nobody": "Nobody got an email: nobody gets every call and no topic fit.",
"emailed.title": "Emailed after the call",
"emailed.to": "Emailed {names}",
"emailed.why": "Why these people",
diff --git a/packages/i18n/locales/en/email.json b/packages/i18n/locales/en/email.json
index 916eca74..24ba7cc9 100644
--- a/packages/i18n/locales/en/email.json
+++ b/packages/i18n/locales/en/email.json
@@ -365,7 +365,7 @@
"call.open": "Open the call",
"call.preheader": "{assistant} answered a call from {from}.",
"call.reason": "You get one email per call to {workspace}.",
- "call.reasonRule": "You get emails for some calls to {workspace}, because a call email rule names you.",
+ "call.reasonRule": "You get emails for some calls to {workspace}, because you are under a topic in its email notifications.",
"call.recording": "The recording and the transcript are in {brand}.",
"call.recordingOnly": "The recording is in {brand}.",
"call.subject": "{topic} · {from}",
diff --git a/packages/i18n/locales/en/settings.json b/packages/i18n/locales/en/settings.json
index 6e66b586..fee3fbd0 100644
--- a/packages/i18n/locales/en/settings.json
+++ b/packages/i18n/locales/en/settings.json
@@ -54,36 +54,30 @@
"assistant.draft.transferPresetCondition": "The caller asks to speak to a person",
"assistant.draft.transferPresetName": "Owner",
"assistant.emails.add": "Add person",
- "assistant.emails.description": "Each person gets an email for every call. Add a rule for calls only some people need.",
- "assistant.emails.descriptionNoRules": "Each person switched on gets an email for every call.",
- "assistant.emails.help": "Everyone switched on gets the email about every call. A rule adds people for the calls it is about: after each call {name} says which rules fit, everyone in those rules gets the email too, and the call is assigned to the first assignee among them while nobody has it. The switches count for the calls of every assistant, the rules for {name}'s.",
- "assistant.emails.helpNoRules": "Everyone switched on gets the email about every call, for every assistant. Rules for calls only some people need come once a language model is set up.",
+ "assistant.emails.assigned": "Calls assigned to them",
+ "assistant.emails.description": "Who gets the email after a call.",
+ "assistant.emails.everyCall": "Every call",
+ "assistant.emails.help": "Everyone under Every call gets the email about every call, for every assistant. Under a topic, people get the email only when {name} says the call is about it, and the call is assigned to the person picked there while nobody has it. Everyone under Calls assigned to them gets an email when a teammate assigns them a call, never for calls they take themselves.",
+ "assistant.emails.helpNoRules": "Everyone under Every call gets the email about every call, for every assistant. Everyone under Calls assigned to them gets an email when a teammate assigns them a call. Topics for calls only some people need come once a language model is set up.",
"assistant.emails.load": "Your team",
- "assistant.emails.member.everyCall": "Email for every call",
- "assistant.emails.member.none": "No call emails",
- "assistant.emails.member.notYours": "Only admins change this",
- "assistant.emails.member.onlyRules": "Only calls from rules",
- "assistant.emails.member.ownerOnly": "Only an owner changes an owner's call emails",
"assistant.emails.member.you": "{name} · You",
- "assistant.emails.newTeammates.everyCall": "Get every call email until they change it",
- "assistant.emails.newTeammates.none": "No call emails until they change it",
- "assistant.emails.newTeammates.onlyRules": "Only calls from rules until they change it",
- "assistant.emails.newTeammates.title": "New teammates",
- "assistant.emails.readOnly": "You switch your own call emails here. Only admins change the others and the rules.",
+ "assistant.emails.newTeammates": "New teammates too",
+ "assistant.emails.none": "No call emails: {names}",
+ "assistant.emails.readOnly": "You add or remove yourself here. Only admins change the others and the topics.",
"assistant.emails.remove": "Remove {member}",
- "assistant.emails.rule.add": "Add rule",
- "assistant.emails.rule.addTip": "Add a rule for one kind of call",
+ "assistant.emails.rule.add": "Add topic",
+ "assistant.emails.rule.addTip": "Add calls about a topic that only some people need",
"assistant.emails.rule.assign": "Assign to",
- "assistant.emails.rule.assignName": "Assign calls of rule {n, number} to",
- "assistant.emails.rule.full": "At most {max, number} rules",
+ "assistant.emails.rule.assignName": "Assign calls of topic {n, number} to",
+ "assistant.emails.rule.full": "At most {max, number} topics",
"assistant.emails.rule.nobody": "Nobody",
- "assistant.emails.rule.remove": "Delete rule",
- "assistant.emails.rule.removeName": "Delete rule {n, number}",
- "assistant.emails.rule.removed": "Rule {n, number} deleted.",
- "assistant.emails.rule.to": "Send to",
- "assistant.emails.rule.when": "When the call is about",
+ "assistant.emails.rule.remove": "Delete topic",
+ "assistant.emails.rule.removeName": "Delete topic {n, number}",
+ "assistant.emails.rule.removed": "Topic {n, number} deleted.",
+ "assistant.emails.rule.to": "Email",
+ "assistant.emails.rule.when": "Calls about",
"assistant.emails.rule.whenMissing": "Say what the calls are about.",
- "assistant.emails.rule.whenName": "Rule {n, number}: when the call is about",
+ "assistant.emails.rule.whenName": "Topic {n, number}: calls about",
"assistant.emails.rule.whenPlaceholder": "e.g. water heaters, boilers or no hot water",
"assistant.emails.title": "Email notifications",
"assistant.empty": "No assistant yet",
diff --git a/packages/i18n/locales/es/account.json b/packages/i18n/locales/es/account.json
index 7888bca9..ce35eb71 100644
--- a/packages/i18n/locales/es/account.json
+++ b/packages/i18n/locales/es/account.json
@@ -137,10 +137,6 @@
"nav.security.label": "Inicio de sesión y seguridad",
"nav.sessions.description": "Dónde tienes la sesión iniciada",
"nav.sessions.label": "Sesiones",
- "notify.assignedMe": "Enviarme un correo cuando se me asigne una llamada",
- "notify.assignedMeDescription": "Cuando un compañero te asigna una llamada. Nunca por llamadas que tomas tú.",
- "notify.assignedThem": "Enviar un correo cuando se le asigne una llamada",
- "notify.assignedThemDescription": "Cuando un compañero le asigna una llamada. Nunca por llamadas que toma esa persona.",
"notify.blocked": "Bloqueadas por el navegador. Permite las notificaciones para este sitio e inténtalo de nuevo.",
"notify.card.assigned": "un correo cuando se te asigna una llamada",
"notify.card.deviceOpen": "notificaciones en este dispositivo mientras {brand} está abierto",
diff --git a/packages/i18n/locales/es/settings.json b/packages/i18n/locales/es/settings.json
index 84a68482..10f4e4b5 100644
--- a/packages/i18n/locales/es/settings.json
+++ b/packages/i18n/locales/es/settings.json
@@ -55,20 +55,10 @@
"assistant.draft.transferPresetName": "Propietario",
"assistant.emails.add": "Agregar persona",
"assistant.emails.description": "Cada persona recibe un correo por cada llamada. Agrega una regla para las llamadas que solo necesitan algunas personas.",
- "assistant.emails.descriptionNoRules": "Cada persona activada recibe un correo por cada llamada.",
"assistant.emails.help": "Todas las personas activadas reciben el correo de cada llamada. Una regla agrega personas para las llamadas de las que trata: después de cada llamada, {name} indica qué reglas encajan, todas las personas de esas reglas también reciben el correo, y la llamada se asigna a la primera persona asignable entre ellas, mientras nadie la tenga. Los interruptores valen para las llamadas de todos los asistentes; las reglas, para las de {name}.",
"assistant.emails.helpNoRules": "Todas las personas activadas reciben el correo de cada llamada, de todos los asistentes. Las reglas para las llamadas que solo necesitan algunas personas llegan cuando haya un modelo de lenguaje configurado.",
"assistant.emails.load": "Tu equipo",
- "assistant.emails.member.everyCall": "Correo por cada llamada",
- "assistant.emails.member.none": "Sin correos de llamadas",
- "assistant.emails.member.notYours": "Solo los administradores cambian esto",
- "assistant.emails.member.onlyRules": "Solo llamadas de reglas",
- "assistant.emails.member.ownerOnly": "Solo un propietario cambia los correos de llamadas de un propietario",
"assistant.emails.member.you": "{name} · Tú",
- "assistant.emails.newTeammates.everyCall": "Reciben el correo de cada llamada hasta que lo cambien",
- "assistant.emails.newTeammates.none": "Sin correos de llamadas hasta que lo cambien",
- "assistant.emails.newTeammates.onlyRules": "Solo llamadas de reglas hasta que lo cambien",
- "assistant.emails.newTeammates.title": "Nuevos compañeros",
"assistant.emails.readOnly": "Aquí activas o desactivas tus propios correos de llamadas. Solo los administradores cambian los de los demás y las reglas.",
"assistant.emails.remove": "Quitar a {member}",
"assistant.emails.rule.add": "Agregar regla",
diff --git a/packages/i18n/locales/fr/account.json b/packages/i18n/locales/fr/account.json
index 049cd014..cf529ea4 100644
--- a/packages/i18n/locales/fr/account.json
+++ b/packages/i18n/locales/fr/account.json
@@ -137,10 +137,6 @@
"nav.security.label": "Connexion et sécurité",
"nav.sessions.description": "Là où vous êtes connecté",
"nav.sessions.label": "Sessions",
- "notify.assignedMe": "M'envoyer un e-mail quand un appel m'est attribué",
- "notify.assignedMeDescription": "Quand un collègue vous attribue un appel. Jamais pour les appels que vous prenez vous-même.",
- "notify.assignedThem": "Envoyer un e-mail quand un appel lui est attribué",
- "notify.assignedThemDescription": "Quand un collègue lui attribue un appel. Jamais pour les appels qu'il prend lui-même.",
"notify.blocked": "Bloquées par le navigateur. Autorisez les notifications pour ce site, puis réessayez.",
"notify.card.assigned": "un e-mail quand un appel vous est attribué",
"notify.card.deviceOpen": "des notifications sur cet appareil quand {brand} est ouvert",
diff --git a/packages/i18n/locales/fr/settings.json b/packages/i18n/locales/fr/settings.json
index aa91fee9..b79b5660 100644
--- a/packages/i18n/locales/fr/settings.json
+++ b/packages/i18n/locales/fr/settings.json
@@ -55,20 +55,10 @@
"assistant.draft.transferPresetName": "Propriétaire",
"assistant.emails.add": "Ajouter une personne",
"assistant.emails.description": "Chaque personne reçoit un e-mail pour chaque appel. Ajoutez une règle pour les appels qui ne concernent que certaines personnes.",
- "assistant.emails.descriptionNoRules": "Chaque personne activée reçoit un e-mail pour chaque appel.",
"assistant.emails.help": "Toutes les personnes activées reçoivent l'e-mail de chaque appel. Une règle ajoute des personnes pour les appels qu'elle concerne : après chaque appel, {name} indique les règles qui correspondent, toutes les personnes de ces règles reçoivent aussi l'e-mail, et l'appel est attribué à la première personne attribuable parmi elles, tant que personne ne l'a. Les interrupteurs valent pour les appels de tous les assistants, les règles pour ceux de {name}.",
"assistant.emails.helpNoRules": "Toutes les personnes activées reçoivent l'e-mail de chaque appel, pour tous les assistants. Les règles pour les appels qui ne concernent que certaines personnes arrivent dès qu'un modèle de langage est configuré.",
"assistant.emails.load": "Votre équipe",
- "assistant.emails.member.everyCall": "E-mail pour chaque appel",
- "assistant.emails.member.none": "Aucun e-mail d'appel",
- "assistant.emails.member.notYours": "Seuls les administrateurs modifient ce réglage",
- "assistant.emails.member.onlyRules": "Seulement les appels des règles",
- "assistant.emails.member.ownerOnly": "Seul un propriétaire modifie les e-mails d'appel d'un propriétaire",
"assistant.emails.member.you": "{name} · Vous",
- "assistant.emails.newTeammates.everyCall": "Reçoivent tous les e-mails d'appel tant qu'ils ne le modifient pas",
- "assistant.emails.newTeammates.none": "Aucun e-mail d'appel tant qu'ils ne le modifient pas",
- "assistant.emails.newTeammates.onlyRules": "Seulement les appels des règles tant qu'ils ne le modifient pas",
- "assistant.emails.newTeammates.title": "Nouveaux collègues",
"assistant.emails.readOnly": "Vous activez ici vos propres e-mails d'appel. Seuls les administrateurs modifient ceux des autres et les règles.",
"assistant.emails.remove": "Retirer {member}",
"assistant.emails.rule.add": "Ajouter une règle",
diff --git a/packages/i18n/locales/ja/account.json b/packages/i18n/locales/ja/account.json
index 586b7036..36b38e39 100644
--- a/packages/i18n/locales/ja/account.json
+++ b/packages/i18n/locales/ja/account.json
@@ -137,10 +137,6 @@
"nav.security.label": "サインインとセキュリティ",
"nav.sessions.description": "サインイン中の場所",
"nav.sessions.label": "セッション",
- "notify.assignedMe": "通話が自分に割り当てられたらメールで通知",
- "notify.assignedMeDescription": "チームメンバーが通話を割り当てたとき。自分で引き受けた通話では通知しません。",
- "notify.assignedThem": "通話が割り当てられたらメールで通知",
- "notify.assignedThemDescription": "チームメンバーが通話を割り当てたとき。本人が引き受けた通話では通知しません。",
"notify.blocked": "ブラウザでブロックされています。このサイトの通知を許可してから、もう一度お試しください。",
"notify.card.assigned": "通話が自分に割り当てられたときのメール",
"notify.card.deviceOpen": "{brand}を開いている間のこのデバイスへの通知",
diff --git a/packages/i18n/locales/ja/settings.json b/packages/i18n/locales/ja/settings.json
index ea08075d..eb177fe3 100644
--- a/packages/i18n/locales/ja/settings.json
+++ b/packages/i18n/locales/ja/settings.json
@@ -55,20 +55,10 @@
"assistant.draft.transferPresetName": "オーナー",
"assistant.emails.add": "メンバーを追加",
"assistant.emails.description": "各メンバーに、すべての通話についてメールが届きます。一部のメンバーだけに必要な通話には、ルールを追加してください。",
- "assistant.emails.descriptionNoRules": "オンにしたメンバーに、すべての通話についてメールが届きます。",
"assistant.emails.help": "オンにしたメンバー全員に、すべての通話についてメールが届きます。ルールを使うと、その内容の通話についてメンバーを追加できます。各通話の後、{name}が当てはまるルールを判断し、そのルールに含まれる全員にもメールが届きます。通話がまだ誰にも割り当てられていなければ、その中で最初の割り当て先に割り当てられます。スイッチはすべてのアシスタントの通話に、ルールは{name}の通話に適用されます。",
"assistant.emails.helpNoRules": "オンにしたメンバー全員に、すべてのアシスタントのすべての通話についてメールが届きます。一部のメンバーだけに必要な通話のルールは、言語モデルを設定すると使えるようになります。",
"assistant.emails.load": "チーム",
- "assistant.emails.member.everyCall": "すべての通話でメール",
- "assistant.emails.member.none": "通話メールなし",
- "assistant.emails.member.notYours": "変更できるのは管理者だけです",
- "assistant.emails.member.onlyRules": "ルールの通話のみ",
- "assistant.emails.member.ownerOnly": "オーナーの通話メールを変更できるのはオーナーだけです",
"assistant.emails.member.you": "{name} · あなた",
- "assistant.emails.newTeammates.everyCall": "本人が変更するまで、すべての通話メールが届きます",
- "assistant.emails.newTeammates.none": "本人が変更するまで、通話メールは届きません",
- "assistant.emails.newTeammates.onlyRules": "本人が変更するまで、ルールの通話のみ届きます",
- "assistant.emails.newTeammates.title": "新しいチームメンバー",
"assistant.emails.readOnly": "ここでは自分の通話メールを切り替えられます。他のメンバーとルールを変更できるのは管理者だけです。",
"assistant.emails.remove": "{member}を削除",
"assistant.emails.rule.add": "ルールを追加",
diff --git a/packages/i18n/locales/pt-BR/account.json b/packages/i18n/locales/pt-BR/account.json
index 8ea54fa5..d2229f26 100644
--- a/packages/i18n/locales/pt-BR/account.json
+++ b/packages/i18n/locales/pt-BR/account.json
@@ -137,10 +137,6 @@
"nav.security.label": "Login e segurança",
"nav.sessions.description": "Onde você está conectado",
"nav.sessions.label": "Sessões",
- "notify.assignedMe": "Enviar e-mail quando uma chamada for atribuída a mim",
- "notify.assignedMeDescription": "Quando um colega atribui uma chamada a você. Nunca para chamadas que você mesmo assume.",
- "notify.assignedThem": "Enviar e-mail quando uma chamada for atribuída a essa pessoa",
- "notify.assignedThemDescription": "Quando um colega atribui uma chamada a essa pessoa. Nunca para chamadas que ela mesma assume.",
"notify.blocked": "Bloqueadas pelo navegador. Permita notificações para este site e tente novamente.",
"notify.card.assigned": "um e-mail quando uma chamada for atribuída a você",
"notify.card.deviceOpen": "notificações neste dispositivo enquanto o {brand} estiver aberto",
diff --git a/packages/i18n/locales/pt-BR/settings.json b/packages/i18n/locales/pt-BR/settings.json
index 10b16b7d..c30ba989 100644
--- a/packages/i18n/locales/pt-BR/settings.json
+++ b/packages/i18n/locales/pt-BR/settings.json
@@ -55,20 +55,10 @@
"assistant.draft.transferPresetName": "Proprietário",
"assistant.emails.add": "Adicionar pessoa",
"assistant.emails.description": "Cada pessoa recebe um e-mail a cada chamada. Adicione uma regra para chamadas de que só algumas pessoas precisam.",
- "assistant.emails.descriptionNoRules": "Cada pessoa ativada recebe um e-mail a cada chamada.",
"assistant.emails.help": "Todos os ativados recebem o e-mail de cada chamada. Uma regra adiciona pessoas para as chamadas de que ela trata: depois de cada chamada, {name} diz quais regras se aplicam, todos nessas regras também recebem o e-mail, e a chamada é atribuída à primeira pessoa responsável entre eles, enquanto ninguém a tiver. As chaves valem para as chamadas de todos os assistentes; as regras, para as de {name}.",
"assistant.emails.helpNoRules": "Todos os ativados recebem o e-mail de cada chamada, de todos os assistentes. As regras para chamadas de que só algumas pessoas precisam chegam quando um modelo de linguagem estiver configurado.",
"assistant.emails.load": "Sua equipe",
- "assistant.emails.member.everyCall": "E-mail a cada chamada",
- "assistant.emails.member.none": "Sem e-mails de chamadas",
- "assistant.emails.member.notYours": "Só administradores alteram isto",
- "assistant.emails.member.onlyRules": "Só chamadas das regras",
- "assistant.emails.member.ownerOnly": "Só um proprietário altera os e-mails de chamadas de um proprietário",
"assistant.emails.member.you": "{name} · Você",
- "assistant.emails.newTeammates.everyCall": "Recebem todos os e-mails de chamadas até mudarem",
- "assistant.emails.newTeammates.none": "Sem e-mails de chamadas até mudarem",
- "assistant.emails.newTeammates.onlyRules": "Só chamadas das regras até mudarem",
- "assistant.emails.newTeammates.title": "Novos colegas",
"assistant.emails.readOnly": "Aqui você ativa ou desativa seus próprios e-mails de chamadas. Só administradores alteram os dos outros e as regras.",
"assistant.emails.remove": "Remover {member}",
"assistant.emails.rule.add": "Adicionar regra",