feat(tour): add onboarding tours for various admin pages
- 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.
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
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',
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user