Skip to content

Conversation

liamdebeasi
Copy link
Contributor

@liamdebeasi liamdebeasi commented Oct 16, 2023

Issue number: N/A


What is the current behavior?

This project has several unused Sass variables still in the code base. The team would like to remove these.

What is the new behavior?

  • Removed unused Sass variables

Does this introduce a breaking change?

  • Yes
  • No

Other information

The original scope of this ticket was for checkbox only, but many other components had unused sass variables, so I decided to tackle everything all at once.

Since these variables are not used anywhere:

  1. The build should pass
  2. There should be no screenshot diffs

@github-actions github-actions bot added the package: core @ionic/core package label Oct 16, 2023
@liamdebeasi liamdebeasi marked this pull request as ready for review October 16, 2023 21:22
Copy link
Member

@brandyscarney brandyscarney left a comment

Choose a reason for hiding this comment

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

This looks good. The build passes and I can't see any issues with removing these. Should we update the linter here to check for unused variables:

"lint.sass": "stylelint \"src/**/*.scss\"",

Alternatively, we could make that part of the updates with the Sass guidelines in FW-5394.

@liamdebeasi
Copy link
Contributor Author

I can look into adding a linter in a separate PR! I might also snag that for a hack day

@liamdebeasi liamdebeasi added this pull request to the merge queue Oct 19, 2023
Merged via the queue into main with commit c801e2a Oct 19, 2023
@liamdebeasi liamdebeasi deleted the FW-5258 branch October 19, 2023 16:55
sean-perkins pushed a commit that referenced this pull request Oct 27, 2023
Issue number: N/A

---------

<!-- Please do not submit updates to dependencies unless it fixes an
issue. -->

<!-- Please try to limit your pull request to one type (bugfix, feature,
etc). Submit multiple pull requests if needed. -->

## What is the current behavior?
<!-- Please describe the current behavior that you are modifying. -->

This project has several unused Sass variables still in the code base.
The team would like to remove these.

## What is the new behavior?
<!-- Please describe the behavior or changes that are being added by
this PR. -->

- Removed unused Sass variables


## Does this introduce a breaking change?

- [ ] Yes
- [x] No

<!-- If this introduces a breaking change, please describe the impact
and migration path for existing applications below. -->


## Other information

<!-- Any other information that is important to this PR such as
screenshots of how the component looks before and after the change. -->

The original scope of this ticket was for checkbox only, but many other
components had unused sass variables, so I decided to tackle everything
all at once.

Since these variables are not used anywhere:

1. The build should pass
2. There should be no screenshot diffs
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