Skip to content

Conversation

liamdebeasi
Copy link
Contributor

@liamdebeasi liamdebeasi commented Feb 12, 2024

This PR removes the tests for the legacy radio syntax. A separate PR will be used to remove the implementation for the legacy syntax.

@github-actions github-actions bot added the package: core @ionic/core package label Feb 12, 2024
@liamdebeasi liamdebeasi marked this pull request as ready for review February 12, 2024 20:05
Comment on lines 88 to 94
<ion-item>
<ion-radio aria-label="Radio" disabled slot="start"></ion-radio>
<ion-input aria-label="Input" placeholder="Disabled Radio w/ Input"></ion-input>
<ion-input aria-label="Input" placeholder="Input"></ion-input>
</ion-item>

<ion-item>
<ion-radio aria-label="Radio" disabled slot="end"></ion-radio>
<ion-input aria-label="Input" placeholder="Disabled Radio w/ Input"></ion-input>
<ion-input aria-label="Input" placeholder="Input"></ion-input>
</ion-item>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These two items are now exactly the same. This category is checking multiple different inputs in the same item, one of which is disabled and the other isn't, which is lost now that the radios are removed. If we don't think that check is still useful, we should remove the items entirely.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Brandy is removing the input usage in #29017

<ion-item>
<ion-radio disabled slot="start" legacy="true"></ion-radio>
<ion-input placeholder="Disabled Radio w/ Input" legacy="true"></ion-input>
<ion-input placeholder="Input" legacy="true"></ion-input>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comments here as in item/test/disabled above.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as #29016 (comment)

@liamdebeasi liamdebeasi removed the request for review from sean-perkins February 13, 2024 17:01
@liamdebeasi liamdebeasi merged commit 352ddfe into FW-3125 Feb 13, 2024
@liamdebeasi liamdebeasi deleted the 3125-tests branch February 13, 2024 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants