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:
@@ -10,6 +10,7 @@ import PaymentStep from '../components/session/PaymentStep';
|
||||
import DetailsStep from '../components/session/DetailsStep';
|
||||
import { CloseModalD } from '../components/icons/FilesServiceIcons';
|
||||
import { Breadcrumb } from '../components/PatientCaseBanner';
|
||||
import TourButton from '../components/ui/TourButton';
|
||||
|
||||
/**
|
||||
* تکمیل پرداخت مراجعه — پورت صفحهی tauri /files/create-service در حالت payment:
|
||||
@@ -56,11 +57,14 @@ export default function SessionPaymentPage() {
|
||||
|
||||
return (
|
||||
<div className="fade-in" style={{ width: '100%' }}>
|
||||
<Breadcrumb name={patientName} backTo={`/admin/patients/${recordUuid}`} />
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: 4 }} data-tour="page-title">
|
||||
<Breadcrumb name={patientName} backTo={`/admin/patients/${recordUuid}`} />
|
||||
<TourButton tourId="session-payment" ready />
|
||||
</div>
|
||||
|
||||
{/* card — tauri width 748 centered */}
|
||||
<div style={{ width: '100%', display: 'flex', justifyContent: 'center' }}>
|
||||
<div className="bg-[var(--surface)]" style={{ width: 748, maxWidth: '100%', padding: 24 }}>
|
||||
<div className="bg-[var(--surface)]" data-tour="session-card" style={{ width: 748, maxWidth: '100%', padding: 24 }}>
|
||||
<div style={{ display: 'flex', justifyContent: 'flex-end', marginBottom: 8 }}>
|
||||
<button
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user