src/material/icon/icon-registry.ts (5 lines): - line 223: // TODO: add an ngDevMode check - line 452: // TODO: add an ngDevMode check - line 569: // TODO: add an ngDevMode check - line 631: // TODO: add an ngDevMode check - line 638: // TODO: add an ngDevMode check src/material/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.ts (4 lines): - line 345: recorder.insertRight(node.getStart(), `/* TODO: remove */ {}`); - line 605: * create a migration failure (and add a TODO if possible). - line 662: // In that case, we just add an empty object literal with TODO and print a failure. - line 665: recorder.insertRight(objectLiteralExpr.getStart(), `/* TODO: remove */ {}`); src/material/core/theming/_theming.scss (4 lines): - line 149: // TODO: Remove legacy API and rename `$primary` below to `$config`. Currently it cannot be renamed - line 189: // TODO: Remove legacy API and rename below `$primary` to `$config`. Currently it cannot be renamed - line 243: // TODO: Remove when legacy theming API is removed. - line 372: // TODO: Remove this compatibility logic when the legacy theming API is removed. tools/tslint-rules/noExposedTodoRule.ts (3 lines): - line 6: 'A TODO may only appear in inline (//) style comments. ' + - line 7: 'This is meant to prevent a TODO from being accidentally included in any public API docs.'; - line 23: const isTodoComment = text.substring(commentRange.pos, commentRange.end).includes('TODO:'); tools/defaults.bzl (3 lines): - line 400: # TODO: Consider adding the legacy patches when testing Saucelabs/Browserstack with Bazel. - line 454: # TODO: Rename once devmode and prodmode have been combined. - line 486: # TODO: Rename once devmode and prodmode have been combined. src/material-experimental/mdc-tabs/tab-header.html (2 lines): - line 1: - line 30: src/material/input/input.ts (2 lines): - line 277: // TODO: Remove this once the legacy appearance has been removed. We only need - line 399: // TODO: can be removed once we get rid of the `legacy` style for the form field, because it's src/cdk-experimental/scrolling/auto-size-virtual-scroll.ts (2 lines): - line 395: // TODO: maybe move to base class, can probably share with fixed size strategy. - line 417: // TODO: maybe move to base class, can probably share with fixed size strategy. src/cdk/overlay/position/flexible-connected-position-strategy.ts (2 lines): - line 26: // TODO: refactor clipping detection into a separate thing (part of scrolling module) - line 27: // TODO: doesn't handle both flexible width and height when it has to scroll along both axis. src/material-experimental/mdc-list/interactive-list-base.ts (2 lines): - line 143: // TODO: https://github.com/material-components/material-components-web/issues/6375 - line 156: // TODO: replace with class once material-components-web/pull/6256 is available. src/cdk-experimental/combobox/combobox-panel.ts (2 lines): - line 36: // TODO: instead of using a focus function, potentially use cdk/a11y focus trapping - line 38: // TODO: Use an injected document here src/cdk-experimental/popover-edit/edit-event-dispatcher.ts (2 lines): - line 68: // TODO: Use WeakSet once IE11 support is dropped. - line 318: // TODO: use Map.prototype.entries once we're off IE11. src/dev-app/menubar/mat-menubar-demo.ts (2 lines): - line 17: // TODO: Remove the fake when mat-menu is re-built with CdkMenu directives - line 38: // TODO: Remove the fake when mat-menu-item is re-built with CdkMenu directives src/material-experimental/mdc-list/list.scss (2 lines): - line 69: // TODO: Consider removing once MDC supports the explicit tertiary line list variant. - line 78: // TODO: Move this to the the MDC list once it drops IE11 support. src/material-experimental/mdc-tabs/tab-nav-bar/tab-nav-bar.html (2 lines): - line 1: - line 21: src/cdk/tree/tree.ts (2 lines): - line 335: // TODO: move to host after View Engine deprecation - line 406: // TODO: role should eventually just be set in the component host src/material-experimental/mdc-chips/chip-listbox.ts (2 lines): - line 70: // TODO: replace this binding with use of AriaDescriber - line 103: // TODO: MDC uses `grid` here src/material-experimental/mdc-list/selection-list.ts (2 lines): - line 362: // TODO: replace with class using inheritance once material-components-web/pull/6256 is available. - line 394: // TODO: Remove this once material-components-web#6367 is improved/fixed. src/cdk-experimental/menu/menu-item.ts (2 lines): - line 33: // TODO refactor this to be configurable allowing for custom elements to be removed - line 175: // TODO cloning the tree may be expensive; implement a better method src/material-experimental/mdc-chips/chip-input.ts (1 line): - line 58: // TODO: eventually we should remove `mat-input-element` from here since it comes from the src/cdk/scrolling/virtual-scroll-viewport.ts (1 line): - line 406: // TODO: Cleanup later when add logic for handling content resize src/cdk/testing/testbed/fake-events/event-objects.ts (1 line): - line 92: // TODO: Switch to the constructor API when it is available for Firefox and Safari. src/material-experimental/mdc-list/list-base.ts (1 line): - line 148: // TODO: Determine if we intend to continue doing this for the MDC-based list. src/cdk/testing/testbed/fake-events/element-focus.ts (1 line): - line 28: // TODO: Check if this element focus patching is still needed for local testing, src/material/menu/testing/menu-harness.ts (1 line): - line 35: // TODO: potentially extend MatButtonHarness src/material-experimental/mdc-progress-spinner/progress-spinner.ts (1 line): - line 91: // TODO: switch to class when MDC removes object spread in foundation src/cdk-experimental/column-resize/selectors.ts (1 line): - line 9: // TODO: Figure out how to remove `mat-` classes from the CDK part of the src/cdk/testing/selenium-webdriver/selenium-web-driver-harness-environment.ts (1 line): - line 119: // TODO: figure out how we can do this for the webdriver environment. src/dev-app/mdc-sidenav/mdc-sidenav-demo.html (1 line): - line 1: src/material/radio/_radio-theme.scss (1 line): - line 46: // TODO: consider making the selectors into descendants (`.mat-primary .mat-radio-button`). src/cdk-experimental/menu/context-menu.ts (1 line): - line 256: // TODO: this should be configurable through the injected context menu options src/material-experimental/mdc-table/table.scss (1 line): - line 19: // TODO: Add a mixin to MDC to set the layout instead of including this override, src/material-experimental/mdc-progress-spinner/progress-spinner.html (1 line): - line 27: src/cdk/overlay/position/global-position-strategy.ts (1 line): - line 189: // TODO: reconsider this if we add `start` and `end` methods. src/material/schematics/ng-update/migrations/misc-ripples-v7/ripple-speed-factor-migration.ts (1 line): - line 27: const removeNote = `TODO: Cleanup duration calculation.`; src/material/toolbar/toolbar.ts (1 line): - line 66: // TODO: make the document a required param when doing breaking changes. src/material/dialog/dialog.ts (1 line): - line 102: // TODO (jelbourn): tighten the typing right-hand side of this expression. src/cdk-experimental/column-resize/overlay-handle.ts (1 line): - line 32: // TODO: Take another look at using cdk drag drop. IIRC I ran into a couple src/material/chips/chip-list.ts (1 line): - line 503: // TODO: ARIA says this should focus the first `selected` chip if any are selected. src/dev-app/datepicker/datepicker-demo.html (1 line): - line 165: src/cdk/schematics/ng-update/devkit-migration-rule.ts (1 line): - line 101: // TODO: rework this to collect global stylesheets from the workspace config. COMP-280. src/cdk-experimental/column-resize/resizable.ts (1 line): - line 290: // TODO: Apply correct aria role (probably slider) after a11y spec questions resolved. src/cdk/a11y/focus-trap/configurable-focus-trap-factory.ts (1 line): - line 32: // TODO split up the strategies into different modules, similar to DateAdapter. src/material/core/ripple/ripple-renderer.ts (1 line): - line 26: // TODO: import these values from `@material/ripple` eventually. src/material-experimental/popover-edit/_popover-edit-theme.scss (1 line): - line 20: // TODO: these structural styles don't belong in the `color` part of a theme. src/cdk/schematics/utils/build-component.ts (1 line): - line 210: // TODO: Cast is necessary as we can't use the Style enum which has been introduced src/material/core/density/private/_all-density.scss (1 line): - line 21: // TODO: COMP-309: Do not use individual mixins. Instead, use the all-theme mixin and only src/material-experimental/column-resize/_column-resize-theme.scss (1 line): - line 15: // TODO: these styles don't really belong in the `color` part of the theme. src/cdk-experimental/menu/menu-item-trigger.ts (1 line): - line 299: // TODO: use a common positioning config from (possibly) cdk/overlay src/material-experimental/mdc-chips/chip-set.ts (1 line): - line 68: // TODO: replace this binding with use of AriaDescriber src/material/checkbox/checkbox.ts (1 line): - line 247: // TODO: Delete next major revision. src/cdk-experimental/listbox/listbox.ts (1 line): - line 182: // TODO: make this a configurable function that can removed any desired type of node.