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:
@@ -1,5 +1,6 @@
|
||||
import SettingsLayout from '../components/layout/SettingsLayout';
|
||||
import DiscountTab from '../components/DiscountTab';
|
||||
import TourButton from '../components/ui/TourButton';
|
||||
|
||||
/** مدیریت تخفیفها — بخش تنظیمات برای تعریف قوانین تخفیف عمومی (owner-scoped). */
|
||||
export default function DiscountsPage() {
|
||||
@@ -9,8 +10,11 @@ export default function DiscountsPage() {
|
||||
style={{ background: 'var(--surface)', minWidth: 0 }}
|
||||
className="px-4 py-4 md:px-6 md:py-6 rounded-[var(--r-lg)]"
|
||||
>
|
||||
<h1 className="section-title" style={{ marginBottom: 16 }}>مدیریت تخفیفها</h1>
|
||||
<DiscountTab />
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: 4, marginBottom: 16 }} data-tour="page-title">
|
||||
<h1 className="section-title">مدیریت تخفیفها</h1>
|
||||
<TourButton tourId="discounts" ready />
|
||||
</div>
|
||||
<div data-tour="discounts-rules"><DiscountTab /></div>
|
||||
</div>
|
||||
</SettingsLayout>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user