feat(manager): help tips on the settings and fields people tend to misread
Owner 2026-11-23 (plan 6F.1b): 26 new tips in English and Greek: Operation (own shifts, hidden takings, card payments, closing tables, the serve step, courses, quick notes), Sign-in (waiter and device modes, usernames, one session, idle sign-out), venue language and time zone, the fiscal device, locking, the server's address, the product editor (unit, available, quick add, VAT group, cost), a device's sign-in, a person's role, the cash counted at a shift's end. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -15,7 +15,7 @@ import { MonitorSmartphone, Plus } from 'lucide-react'
|
||||
import { DeviceSupport } from './DeviceSupport'
|
||||
import { errorMessage, parseError } from '@xenia/api'
|
||||
import { useTranslation, useFormat } from '@xenia/i18n'
|
||||
import { Button, Dialog, EmptyState, Field, Input, Page, Select, Spinner } from '@xenia/ui'
|
||||
import { Button, Dialog, EmptyState, Field, InfoTip, Input, Page, Select, Spinner } from '@xenia/ui'
|
||||
import client from '../../api/client'
|
||||
import DeviceConfigFields from './DeviceConfigFields'
|
||||
import { configInitial, deviceStatus, deviceUsage, hasRoom, linkTargets, normalizeCode } from './devicesLogic'
|
||||
@@ -258,7 +258,7 @@ function PairDialog({ apps, usage, devices, appName, limitLabel, initialApp, onC
|
||||
<Input value={name} onChange={e => setName(e.target.value)} placeholder={t('devices.form.namePlaceholder')} maxLength={60} />
|
||||
</Field>
|
||||
{modes && (
|
||||
<Field label={t('devices.form.signIn')}>
|
||||
<Field label={t('devices.form.signIn')} info={<InfoTip>{t('devices.form.signInTip')}</InfoTip>}>
|
||||
<Select value={mode} onChange={e => setMode(e.target.value)} options={modes} />
|
||||
</Field>
|
||||
)}
|
||||
@@ -304,7 +304,7 @@ function EditDialog({ device, apps, devices, onClose, onSave }) {
|
||||
<Input value={name} onChange={e => setName(e.target.value)} maxLength={60} />
|
||||
</Field>
|
||||
{modes && (
|
||||
<Field label={t('devices.form.signIn')}>
|
||||
<Field label={t('devices.form.signIn')} info={<InfoTip>{t('devices.form.signInTip')}</InfoTip>}>
|
||||
<Select value={mode} onChange={e => setMode(e.target.value)} options={modes} />
|
||||
</Field>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user