Skip to content

Conversation

@thetaPC
Copy link
Contributor

@thetaPC thetaPC commented Oct 1, 2024

Issue number: internal


What is the current behavior?

Ionic theme: Searchbar does not match design.

What is the new behavior?

  • Updated styles
  • Added snapshots

Does this introduce a breaking change?

  • Yes
  • No

Other information

Preview

@vercel
Copy link

vercel bot commented Oct 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ionic-framework ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 4, 2024 10:29pm

await expect(searchbar).toHaveScreenshot(screenshot(`searchbar-color`));
});

test('should render disabled searchbar', async ({ page }) => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moved this to the states test folder.

@thetaPC thetaPC marked this pull request as ready for review October 1, 2024 22:37
@thetaPC thetaPC requested a review from a team as a code owner October 1, 2024 22:37
@thetaPC thetaPC requested a review from BenOsodrac October 1, 2024 22:37
Copy link
Member

Choose a reason for hiding this comment

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

Actually do we need this file since we are already using tokens?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added this file because I wanted the padding logic separate so it would be easier to read. Plus, if one of them changes like gap then the dev wouldn't have to worry about updating padding start or end. Thoughts?

Copy link
Member

@brandyscarney brandyscarney Oct 4, 2024

Choose a reason for hiding this comment

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

I don’t feel strongly about this, but I believe we wanted to avoid creating var files for the Ionic theme since we already have tokens. @BenOsodrac do you have any thoughts on this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I ended up removing the file and added comments: 739abe1

@thetaPC thetaPC merged commit ab61c12 into next Oct 4, 2024
46 checks passed
@thetaPC thetaPC deleted the ROU-11197 branch October 4, 2024 23:43
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.

4 participants