- Integrated TourButton component into SettingsMenuPage, SkillsPage, SmsWalletPage, StaffPage, StaffSessionDetailPage, StaffTreatmentSessionsPage, SubscriptionPage, TagsSettingsPage, TreatmentCasesPage to enhance user onboarding experience. - Created new tour definitions for appointments, clinics, staff management, financial management, and patient management, ensuring comprehensive guidance for users navigating the admin panel. - Updated documentation to reflect the addition of tours and their implementation details.
39 lines
1.2 KiB
TypeScript
39 lines
1.2 KiB
TypeScript
import type { TourDefinition } from '../types';
|
|
|
|
export const patientsTour: TourDefinition = {
|
|
id: 'patients',
|
|
version: 1,
|
|
steps: [
|
|
{
|
|
anchor: 'page-title',
|
|
title: 'پروندهها',
|
|
body: 'فهرست کامل پروندههای بیماران این محیط، با امکان جستجو و فیلتر.',
|
|
side: 'bottom',
|
|
},
|
|
{
|
|
anchor: 'patients-search',
|
|
title: 'جستجو',
|
|
body: 'کد ملی، شمارهٔ پرونده یا نام مراجعهکننده را بنویسید.',
|
|
side: 'bottom',
|
|
},
|
|
{
|
|
anchor: 'patients-filters',
|
|
title: 'فیلترها',
|
|
body: 'جنسیت، بیمه، بازهٔ پذیرش، بدهی و برچسب. عدد روی دکمه یعنی چند فیلتر فعال است.',
|
|
side: 'bottom',
|
|
},
|
|
{
|
|
anchor: 'patients-new',
|
|
title: 'تشکیل پرونده',
|
|
body: 'پروندهٔ جدید برای بیماری که هنوز ثبت نشده است.',
|
|
side: 'bottom',
|
|
},
|
|
{
|
|
anchor: 'page-pagination',
|
|
title: 'صفحهبندی',
|
|
body: 'نمای کارتی ۱۶ و نمای جدولی ۱۲ پرونده در هر صفحه نشان میدهد.',
|
|
side: 'top',
|
|
},
|
|
],
|
|
};
|