diff --git a/Study/Pre/Browser_Tab_Manager_Deep_Dive.pptx b/Study/Pre/Browser_Tab_Manager_Deep_Dive.pptx new file mode 100644 index 0000000..ab30413 Binary files /dev/null and b/Study/Pre/Browser_Tab_Manager_Deep_Dive.pptx differ diff --git a/Study/Pre/Browser_Tab_Manager_Documentation.docx b/Study/Pre/Browser_Tab_Manager_Documentation.docx new file mode 100644 index 0000000..e39a4d4 Binary files /dev/null and b/Study/Pre/Browser_Tab_Manager_Documentation.docx differ diff --git a/Study/Pre/Quick_Reference_Guide.docx b/Study/Pre/Quick_Reference_Guide.docx new file mode 100644 index 0000000..c04e091 Binary files /dev/null and b/Study/Pre/Quick_Reference_Guide.docx differ diff --git a/Study/Pre/files.zip b/Study/Pre/files.zip new file mode 100644 index 0000000..61005d9 Binary files /dev/null and b/Study/Pre/files.zip differ diff --git a/Study/Pre/presentation_preview.jpg b/Study/Pre/presentation_preview.jpg new file mode 100644 index 0000000..a7f9a91 Binary files /dev/null and b/Study/Pre/presentation_preview.jpg differ diff --git a/lib/services/extension_service.dart b/lib/services/extension_service.dart index ca56f41..31a45bb 100644 --- a/lib/services/extension_service.dart +++ b/lib/services/extension_service.dart @@ -69,22 +69,17 @@ class ExtensionService { } } -// This service handles real-time communication with the browser extension for live tab tracking. +// Handles communication, browser extension for live tab tracking. // -// It uses callback functions that get triggered when the extension sends updates. +// Callback triggered when extension updates. // -// The setupListener method listens for messages from the browser extension through window.postMessage. +// SetupListener listens for messages from browser extension through window.postMessage. // -// When messages arrive, it filters them to only process ones from our specific extension. +// Messages arrive, filters only process ones from specific extension. // -// The _handleExtensionMessage method processes different types of messages like tab updates and tracking status changes. +// _handleExtensionMessage processes different types of messages, tab updates, tracking status changes. // -// It converts raw tab data from the extension into our TabData objects. +// SendMessage method sends commands back to the extension with a source identifier. // -// The sendMessage method sends commands back to the extension with a source identifier. -// -// Methods like startTracking, stopTracking, and getStatus provide a clean interface to control the extension. -// -// This enables our app to show live updates as users open and close tabs in their browser. -// -// The callback pattern allows the UI to react immediately when extension data arrives. \ No newline at end of file +// startTracking, stopTracking, getStatus interface to control extension +// callback allows UI to react immediately when data arrives. \ No newline at end of file