Add staff privacy & security feature and routes
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user