src/utils/hibp.ts (17 lines): - line 31: // TODO: fix hardcode - line 40: // TODO: Add unit test when changing this code: - line 53: // TODO: Add unit test when changing this code: - line 76: // @ts-ignore TODO: Explicitly parse into a number - line 101: // TODO: Add unit test when changing this code: - line 137: // TODO: Add unit test when changing this code: - line 166: // TODO: Add unit test when changing this code: - line 219: // TODO: Add unit test when changing this code: - line 260: // TODO: we can do some filtering here for the most commonly used fields - line 261: // TODO: change field names to camel case - line 291: // TODO: Add unit test when changing this code: - line 317: // TODO: Add unit test when changing this code: - line 340: // TODO: Add unit test when changing this code: - line 379: // @ts-ignore TODO: Turn dates into a number - line 402: // @ts-ignore TODO: Turn dates into a number - line 420: // TODO: Add unit test when changing this code: - line 448: // TODO: Add unit test when changing this code: src/app/components/client/ExposuresFilter.tsx (11 lines): - line 131: // TODO: Add unit test when changing this code: - line 140: // TODO: Add unit test when changing this code: - line 155: // TODO: Add unit test when changing this code: - line 164: // TODO: Add unit test when changing this code: - line 180: // TODO: Add unit test when changing this code: - line 202: // TODO: Add unit test when changing this code: - line 231: // TODO: Add unit test when changing this code: - line 267: // TODO: Add unit test when changing this code: - line 384: // TODO: Add unit test when changing this code: - line 406: // TODO: Add unit test when changing this code: - line 436: // TODO: Add unit test when changing this code: src/db/tables/subscriber_email_preferences.ts (10 lines): - line 17: // TODO: modify the CRUD utils after MNTOR-3557 - line 32: // TODO: modify after MNTOR-3557 - pref currently lives in two tables - line 72: // TODO: modify after MNTOR-3557 - pref currently lives in two tables - line 154: // TODO: modify after MNTOR-3557 - pref currently lives in two tables - line 191: // TODO: modify after MNTOR-3557 - pref currently lives in two tables, we have to join the tables - line 236: // TODO: modify after MNTOR-3557 - pref currently lives in two tables, we have to join the tables - line 266: // TODO: Remove this comment - line 279: // TODO: remove after MNTOR-4343 - line 324: // TODO: Remove this comment - line 349: // TODO: modify after MNTOR-3557 - pref currently lives in two tables, we have to join the tables src/utils/error.ts (6 lines): - line 20: // TODO: Add unit test when changing this code: - line 35: // TODO: Add unit test when changing this code: - line 48: // TODO: Add unit test when changing this code: - line 61: // TODO: Add unit test when changing this code: - line 73: // TODO: Add unit test when changing this code: - line 86: // TODO: Add unit test when changing this code: src/app/components/client/toolbar/AppPicker.tsx (5 lines): - line 88: // TODO: Add unit test when changing this code: - line 106: // TODO: Add unit test when changing this code: - line 277: // TODO: Add unit test when changing this code: - line 304: // TODO: Figure out correct type: - line 309: // TODO: Add unit test when changing this code: src/app/components/client/exposure_card/SubscriberBreachCard.tsx (5 lines): - line 92: // TODO: Add unit test when changing this code: - line 162: // TODO: Add unit test when changing this code: - line 233: // TODO: Add unit test when changing this code: - line 240: // TODO: Add unit test when changing this code: - line 251: // TODO: Add unit test when changing this code: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/leaked-passwords/leakedPasswordsData.tsx (4 lines): - line 118: // TODO: Write unit tests MNTOR-2560 - line 212: // TODO: Find a way to go to the actual breach site - line 262: // TODO: Find a way to go to the actual breach site - line 272: // TODO: Enable after the parameter has been added to metrics.yaml. src/db/migrations/20230703010356_add-onerep-profiles-table.js (4 lines): - line 16: // @ts-ignore TODO: The type Knex.CreateTableBuilder is missing `varchar`: - line 20: // @ts-ignore TODO: The type Knex.CreateTableBuilder is missing `varchar`: - line 24: // @ts-ignore TODO: The type Knex.CreateTableBuilder is missing `varchar`: - line 28: // @ts-ignore TODO: The type Knex.CreateTableBuilder is missing `varchar`: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/leaked-passwords/LeakedPasswordsLayout.tsx (4 lines): - line 70: // TODO: Write unit tests MNTOR-2560 - line 183: // TODO: MNTOR-2563: Capture client error with @next/sentry - line 225: // TODO: Enable after the parameter has been added to metrics.yaml. - line 242: // TODO: Enable after the parameter has been added to metrics.yaml. src/app/(proper_react)/(redesign)/(authenticated)/user/welcome/FindExposures.tsx (4 lines): - line 44: // TODO: Add unit test when changing this code: - line 90: // TODO: Add unit test when changing this code: - line 130: // TODO: Add unit test when changing this code: - line 160: // TODO: Add unit test when changing this code: src/app/functions/server/glean.ts (3 lines): - line 28: // FIXME https://mozilla-hub.atlassian.net/browse/MNTOR-2401 - enable for stage and production - line 52: // @ts-ignore TODO generate Glean types like we do for client. - line 75: app_display_version: "0.1", // TODO get current version. src/utils/fxa.ts (3 lines): - line 30: // TODO: Add unit test when changing this code: - line 71: // TODO: Add unit test when changing this code: - line 456: // TODO: Add unit test when changing this code: src/app/(proper_react)/(redesign)/(authenticated)/user/welcome/EnterInfo.tsx (3 lines): - line 223: // TODO: Add unit test when changing this code: - line 368: // TODO: Figure out how to intercept the fetch request in a test: - line 403: // TODO: Add unit test when changing this code: src/app/components/client/Chart.tsx (3 lines): - line 129: // TODO: Add unit test when changing this code: - line 329: // TODO: Add unit test when changing this code: - line 362: // TODO: Add unit test when changing this code: src/app/functions/server/getRelevantGuidedSteps.ts (3 lines): - line 148: // TODO: MNTOR-3886 - Remove EnableRemovalUnderMaintenanceStep feature flag - line 224: // TODO: MNTOR-3886 - Remove EnableRemovalUnderMaintenanceStep feature flag - line 268: // TODO: MNTOR-3886 - Remove EnableRemovalUnderMaintenanceStep feature flag src/scripts/build/nimbusTypes.js (3 lines): - line 219: // TODO: Add descriptions as TSDoc comment? - line 222: // TODO: Add description as TSDoc comment? - line 228: // TODO: Add values as TSDoc comment? src/app/components/server/StatusPill.tsx (2 lines): - line 56: // TODO: MNTOR-3886 - Remove EnableRemovalUnderMaintenanceStep feature flag - line 122: // TODO: MNTOR-3886 - Remove EnableRemovalUnderMaintenanceStep feature flag src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/HighRiskBreachLayout.tsx (2 lines): - line 87: // TODO: Write unit tests MNTOR-2560 - line 142: // TODO: MNTOR-2563: Capture client error with @next/sentry src/app/functions/universal/user.ts (2 lines): - line 23: // TODO: Add unit test when changing this code: - line 31: // TODO: Add unit test when changing this code: src/app/functions/universal/guidedExperienceBreaches.ts (2 lines): - line 64: // TODO: Add tests when passwords component has been made - MNTOR-1712 - line 76: // TODO: Add tests when security recs work is merged in src/app/components/client/exposure_card/ExposureCardDataClass.tsx (2 lines): - line 28: // TODO: MNTOR-2617 Add unit test when changing this code: - line 50: // TODO: MNTOR-2617 Add unit test when changing this code: src/app/components/client/ExposuresFilterExplainer.tsx (2 lines): - line 38: // TODO: Add unit test when changing this code: - line 129: // TODO: Add unit test when changing this code: src/app/functions/server/dashboard.ts (2 lines): - line 210: // TODO: MNTOR-3886 - Remove EnableRemovalUnderMaintenanceStep feature flag - line 280: // TODO: Modify after MNTOR-1947: Refactor user breaches object src/db/knexfile.js (2 lines): - line 26: // @ts-ignore TODO: Check if this typing error is correct, or if the types are wrong? - line 49: // @ts-ignore TODO: Check if this typing error is correct, or if the types are wrong? src/db/migrations/20240423150332_add_suffix_and_middle_name_to_onerep_profile_table.js (2 lines): - line 11: // @ts-ignore TODO: The type Knex.CreateTableBuilder is missing `varchar`: - line 15: // @ts-ignore TODO: The type Knex.CreateTableBuilder is missing `varchar`: src/app/functions/server/getUserBreaches.ts (2 lines): - line 19: //TODO: deprecate with MNTOR-2021 - line 33: //TODO: deprecate with MNTOR-2021 src/app/components/client/exposure_card/ScanResultCard.tsx (2 lines): - line 124: // TODO: MNTOR-3886 - Remove EnableRemovalUnderMaintenanceStep feature flag - line 264: // TODO: MNTOR-3886 - Remove EnableRemovalUnderMaintenanceStep feature flag src/app/(proper_react)/(redesign)/(authenticated)/admin/qa-customs/onerepConfig.tsx (2 lines): - line 32: // TODO: MNTOR-4153 use onerep_profile_id instead - line 74: // TODO: MNTOR-4153 use onerep_profile_id instead src/app/(proper_react)/(redesign)/(authenticated)/user/welcome/View.tsx (2 lines): - line 74: // TODO: Add unit test when changing this code: - line 182: // TODO: Add unit test when changing this code: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/security-recommendations/SecurityRecommendationsLayout.tsx (2 lines): - line 87: // TODO: Write unit tests MNTOR-2560 - line 141: // TODO: MNTOR-2563: Capture client error with @next/sentry src/app/components/client/ListBox.tsx (2 lines): - line 21: // TODO: Add unit test when changing this code: - line 52: // TODO: Add unit test when changing this code: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/highRiskBreachData.tsx (2 lines): - line 209: // TODO: Expose email list & count here https://mozilla-hub.atlassian.net/browse/MNTOR-2112 - line 374: // TODO: Expose email list & count here https://mozilla-hub.atlassian.net/browse/MNTOR-2112 src/app/components/client/LocationAutocompleteInput.tsx (1 line): - line 14: // TODO: Add unit test when changing this code: src/db/tables/qa_customs.ts (1 line): - line 149: // TODO: MNTOR-4153 use onerep_profile_id instead src/db/tables/subscribers.ts (1 line): - line 474: // @ts-ignore TODO MNTOR-3890 Move away from this approach and simplify query. src/scripts/cronjobs/emailBreachAlerts.tsx (1 line): - line 244: // TODO: Add unit test when changing this code: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/FraudAlertModal.tsx (1 line): - line 144: // TODO: Test dialog closing src/db/tables/emailAddresses.ts (1 line): - line 141: // TODO: refactor into an upsert? https://jaketrent.com/post/upsert-knexjs/ src/apiMocks/mockData.ts (1 line): - line 145: // TODO: MNTOR-2033 Update this random breach function with new data breach object, and deprecate all BreachMockItems src/utils/breaches.ts (1 line): - line 137: // TODO: remove after migration MNTOR-978 src/db/tables/onerep_profiles.ts (1 line): - line 40: // TODO: MNTOR-2157 Validate input: src/app/functions/l10n/cronjobs.ts (1 line): - line 35: // TODO: Make this optional in `createGetL10nBundles`, which would then make src/app/components/client/FixNavigation.tsx (1 line): - line 88: // TODO: MNTOR-3886 - Remove EnableRemovalUnderMaintenanceStep feature flag src/app/components/client/Popover.tsx (1 line): - line 21: // TODO: Add unit test when changing this code: src/db/migrations/20230921132056_add_status_column.js (1 line): - line 13: // @ts-ignore TODO: Fix type error. src/app/functions/server/getExperimentationId.ts (1 line): - line 44: // TODO: could we use client ID for this? There's no supported way to get it from GleanJS. src/app/api/v1/user/welcome-scan/create/route.ts (1 line): - line 140: // TODO MNTOR-2686 - refactor onerep.ts and centralize logging. src/app/api/v1/onerep-events/route.ts (1 line): - line 36: // @ts-ignore FIXME Type error: Type 'ReadableStream' must have a '[Symbol.asyncIterator]()' method that returns an async iterator. eslint.config.js (1 line): - line 25: // TODO: This line can be removed and the default header config can be used src/app/components/client/BackButton.tsx (1 line): - line 29: // TODO: GA event src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/page.tsx (1 line): - line 42: {/* TODO: MNTOR-1700 Add routing logic here, currently default to no high risk breach data */} src/db/tables/subscriber_churns.ts (1 line): - line 92: // TODO: Or sent more than a year ago? src/app/functions/server/logging.ts (1 line): - line 21: // FIXME https://mozilla-hub.atlassian.net/browse/MNTOR-2401 - enable for stage and production src/app/(proper_react)/(redesign)/PageLink.tsx (1 line): - line 26: // TODO: Add unit test when changing this code: src/scripts/build/uploadAutoCompleteLocations.js (1 line): - line 326: // @ts-ignore FIXME: `featureClass` does not exist in `location`. src/app/functions/universal/scanResult.ts (1 line): - line 5: // TODO: Move pure functions that operate on scan results to this file src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/CancelFlow.tsx (1 line): - line 104: // TODO: Instead of calling this on the first render, src/scripts/cronjobs/onerepStatsAlert.ts (1 line): - line 57: // TODO use the shared version when this is converted to Typescript. src/scripts/loadtest/hibp.js (1 line): - line 69: // @ts-ignore TODO: Add `PostHibpNotificationResponseBody` type to `src/app/api/v1/hibp/notify/route`, and use it. src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/ResolutionContainer.tsx (1 line): - line 46: // TODO: Check with design if toolbar should be on this page src/app/functions/universal/breach.ts (1 line): - line 7: // TODO: Move pure functions that operate on breaches to this file src/app/components/client/ProgressCard.tsx (1 line): - line 161: // TODO: Add unit test when changing this code: src/utils/formatDate.ts (1 line): - line 5: // TODO: Add unit test when changing this code: