Skip to content

Commit

Permalink
Document where all the dashboard message handlers are.
Browse files Browse the repository at this point in the history
  • Loading branch information
sammacbeth committed Feb 14, 2025
1 parent 22ecc30 commit 511ba7c
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion shared/js/background/components/dashboard-messaging.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,31 @@ import { isFireButtonEnabled } from './fire-button';
/**
* Message handlers for communication from the dashboard to the extension background.
*
* Note, additional message handlers for toggle reports is in the separate ToggleReports component.
* Note, handlers are split over multiple components, and some are not yet encapsulated in a component.
*
* Implemented in this component:
* - getBreakageFormOptions
* - getPrivacyDashboardData
* - submitBrokenSiteReport
*
* FireButton component:
* - doBurn
* - getBurnOptions
* - setBurnDefaultOption
*
* EmailAutofill component:
* - refreshAlias
*
* ToggleReports component:
* - getToggleReportOptions
* - rejectToggleReport
* - sendToggleReport
* - seeWhatIsSent
*
* Static message handlers:
* - openOptions
* - search
* - setLists
*/
export default class DashboardMessaging {
/**
Expand Down

0 comments on commit 511ba7c

Please sign in to comment.