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:
hamed
2026-08-10 10:10:20 +03:30
parent 20c8eaaad9
commit ecdefa3c24
73 changed files with 1008 additions and 76 deletions
+5 -3
View File
@@ -63,9 +63,11 @@ export default function DataTable<T extends object>({
<div>
{/* Toolbar row */}
{(onSearchChange !== undefined || headerExtra) && (
<div className="toolbar">
// لنگرهای data-tour اینجا تعریف می‌شوند تا هر صفحه‌ای که DataTable دارد
// بدون تغییر کد خودش، در تور راهنما قابل اشاره باشد.
<div className="toolbar" data-tour="page-toolbar">
{onSearchChange !== undefined && (
<div className="field" style={{ flex: '0 0 auto', minWidth: 240 }}>
<div className="field" data-tour="page-search" style={{ flex: '0 0 auto', minWidth: 240 }}>
<MagnifyingGlassIcon style={{ width: 16, height: 16, flexShrink: 0 }} />
<input
type="text"
@@ -79,7 +81,7 @@ export default function DataTable<T extends object>({
</div>
)}
<div className="table-wrap">
<div className="table-wrap" data-tour="page-table">
<table className="t">
<thead>
<tr>