diff --git a/Clocker/Panel/ParentPanelController.swift b/Clocker/Panel/ParentPanelController.swift index bbb847d..535180c 100644 --- a/Clocker/Panel/ParentPanelController.swift +++ b/Clocker/Panel/ParentPanelController.swift @@ -1151,4 +1151,8 @@ extension ParentPanelController: AppFeedbackWindowControllerDelegate { func appFeedbackWindowWillClose() { feedbackWindow = nil } + + func appFeedbackWindoEntryPoint() -> String { + return "parent_panel_controller" + } } diff --git a/Clocker/Preferences/About/AboutViewController.swift b/Clocker/Preferences/About/AboutViewController.swift index bd2e01f..afc91fb 100644 --- a/Clocker/Preferences/About/AboutViewController.swift +++ b/Clocker/Preferences/About/AboutViewController.swift @@ -157,4 +157,8 @@ extension AboutViewController: AppFeedbackWindowControllerDelegate { func appFeedbackWindowWillClose() { feedbackWindow = nil } + + func appFeedbackWindoEntryPoint() -> String { + return "about_view_controller" + } } diff --git a/Clocker/Preferences/App Feedback/AppFeedbackWindowController.swift b/Clocker/Preferences/App Feedback/AppFeedbackWindowController.swift index 88ddc8b..88e1640 100644 --- a/Clocker/Preferences/App Feedback/AppFeedbackWindowController.swift +++ b/Clocker/Preferences/App Feedback/AppFeedbackWindowController.swift @@ -7,6 +7,7 @@ import FirebaseDatabase protocol AppFeedbackWindowControllerDelegate: AnyObject { func appFeedbackWindowWillClose() + func appFeedbackWindoEntryPoint() -> String } extension NSNib.Name { @@ -31,6 +32,7 @@ enum AppFeedbackConstants { static let CLAppFeedbackDateProperty = "date" static let CLAppFeedbackUserPreferences = "Prefs" static let CLCaliforniaTimezoneIdentifier = "America/Los_Angeles" + static let CLFeedbackEntryPoint = "entry_point" } class AppFeedbackWindowController: NSWindowController { @@ -208,6 +210,7 @@ class AppFeedbackWindowController: NSWindowController { AppFeedbackConstants.CLClockerVersion: versionInfo, AppFeedbackConstants.CLAppFeedbackDateProperty: todaysDate(), AppFeedbackConstants.CLAppFeedbackUserPreferences: generateUserPreferences(), + AppFeedbackConstants.CLFeedbackEntryPoint: appFeedbackWindowDelegate?.appFeedbackWindoEntryPoint() ?? "Error" ] }