Skip to content

Commit e3ef932

Browse files
chore(many): add tech debt tickets and remove unnecessary todos (#26266)
1 parent 5a701b5 commit e3ef932

File tree

40 files changed

+17
-168
lines changed

40 files changed

+17
-168
lines changed

angular/src/directives/control-value-accessors/value-accessor.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,8 @@ export class ValueAccessor implements ControlValueAccessor, AfterViewInit, OnDes
8383
}
8484

8585
/**
86-
* TODO Remove this in favor of https://github.com/angular/angular/issues/10887
87-
* whenever it is implemented. Currently, Ionic's form status classes
88-
* do not react to changes when developers manually call
89-
* Angular form control methods such as markAsTouched.
90-
* This results in Ionic's form status classes being out
91-
* of sync with the ng form status classes.
92-
* This patches the methods to manually sync
93-
* the classes until this feature is implemented in Angular.
86+
* TODO FW-2787: Remove this in favor of https://github.com/angular/angular/issues/10887
87+
* whenever it is implemented.
9488
*/
9589
const formControl = ngControl.control as any;
9690
if (formControl) {

angular/src/directives/navigation/stack-utils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ export const toSegments = (path: string): string[] => {
7474

7575
export const destroyView = (view: RouteView | undefined): void => {
7676
if (view) {
77-
// TODO lifecycle event
7877
view.ref.destroy();
7978
view.unlistenEvents();
8079
}

angular/src/util/overlay.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ export class OverlayBaseController<Opts, Overlay> implements ControllerShape<Opt
1111
* Creates a new overlay
1212
*/
1313
create(opts?: Opts): Promise<Overlay> {
14-
// TODO: next major release opts is not optional
1514
return this.ctrl.create((opts || {}) as any);
1615
}
1716

angular/test/base/cypress/support/commands.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Cypress.Commands.add('ionPageDoesNotExist', (selector) => {
7373
});
7474

7575
Cypress.Commands.add('ionTabClick', (tabText) => {
76-
// TODO: Figure out how to get rid of wait. It's a workaround for flakiness in CI.
76+
// TODO FW-2790: Figure out how to get rid of wait. It's a workaround for flakiness in CI.
7777
cy.wait(250);
7878
cy.contains('ion-tab-button', tabText).click({ force: true });
7979
});

core/src/components/accordion/test/a11y/accordion.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { test } from '@utils/test/playwright';
44
test.describe('accordion: a11y', () => {
55
test('accordions should be keyboard navigable', async ({ page, skip, browserName }) => {
66
// TODO(FW-1764): remove skip once issue is resolved
7-
skip.browser('firefox', 'https://github.com/ionic-team/ionic-framework/issues/25529');
7+
skip.browser('firefox', 'https://github.com/ionic-team/ionic-framework/issues/25070');
88

99
await page.goto(`/src/components/accordion/test/a11y`);
1010
const tabKey = browserName === 'webkit' ? 'Alt+Tab' : 'Tab';

core/src/components/checkbox/checkbox.ios.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
// iOS Checkbox: Disabled
2626
// -----------------------------------------
2727

28-
// TODO: .item-ios.item-checkbox-disabled ion-label
2928
:host(.checkbox-disabled) {
3029
opacity: $checkbox-ios-disabled-opacity;
3130
}

core/src/components/checkbox/checkbox.md.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
// Material Design Checkbox: Disabled
4545
// --------------------------------------------------------
4646

47-
// TODO .item-md.item-checkbox-disabled ion-label
4847
:host(.checkbox-disabled) {
4948
opacity: $checkbox-md-disabled-opacity;
5049
}

core/src/components/content/content.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
color: current-color(contrast);
5555
}
5656

57-
// TODO we should remove outer-content in favor of a color
5857
:host(.outer-content) {
5958
--background: #{$background-color-step-50};
6059
}

core/src/components/content/content.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,6 @@ export class Content implements ComponentInterface {
280280
if (easedT < 1) {
281281
// do not use DomController here
282282
// must use nativeRaf in order to fire in the next frame
283-
// TODO: remove as any
284283
requestAnimationFrame(step);
285284
} else {
286285
resolve();

core/src/components/datetime/datetime.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,7 @@ export class Datetime implements ComponentInterface {
10381038
this.initializeListeners();
10391039

10401040
/**
1041-
* TODO: Datetime needs a frame to ensure that it
1041+
* TODO FW-2793: Datetime needs a frame to ensure that it
10421042
* can properly scroll contents into view. As a result
10431043
* we hide the scrollable content until after that frame
10441044
* so users do not see the content quickly shifting. The downside

0 commit comments

Comments
 (0)