Add staff privacy & security feature and routes

This commit is contained in:
Achintha Isuru
2026-02-18 13:40:49 -05:00
parent f5a23c3aaa
commit 96849baf46
24 changed files with 1010 additions and 5 deletions

View File

@@ -284,13 +284,24 @@ extension StaffNavigator on IModularNavigator {
pushNamed(StaffPaths.faqs);
}
/// Pushes the privacy and security settings page.
// ==========================================================================
// PRIVACY & SECURITY
// ==========================================================================
/// Navigates to the privacy and security settings page.
///
/// Manage privacy preferences and security settings.
void toPrivacy() {
pushNamed(StaffPaths.privacy);
/// Manage privacy preferences including:
/// * Location sharing settings
/// * View terms of service
/// * View privacy policy
void toPrivacySecurity() {
pushNamed(StaffPaths.privacySecurity);
}
// ==========================================================================
// MESSAGING & COMMUNICATION
// ==========================================================================
/// Pushes the messages page (placeholder).
///
/// Access internal messaging system.

View File

@@ -205,8 +205,19 @@ class StaffPaths {
/// FAQs - frequently asked questions.
static const String faqs = '/faqs';
// ==========================================================================
// PRIVACY & SECURITY
// ==========================================================================
/// Privacy and security settings.
static const String privacy = '/privacy';
///
/// Manage privacy preferences, location sharing, terms of service,
/// and privacy policy.
static const String privacySecurity = '/worker-main/privacy-security/';
// ==========================================================================
// MESSAGING & COMMUNICATION (Placeholders)
// ==========================================================================
/// Messages - internal messaging system (placeholder).
static const String messages = '/messages';