-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply latest token ds-auro-icon-size and update size to fix clipping issue on x icon #345 #346
Conversation
…pping issue on x icon #345
Reviewer's Guide by SourceryThis PR addresses a clipping issue with the 'x' icon by implementing the latest design token 'ds-auro-icon-size' and adjusting icon sizes. The changes primarily involve updating SCSS styles and removing redundant icon customizations in the JavaScript component. Class diagram for AuroInput component changesclassDiagram
class AuroInput {
- customSize
+ category: String
+ name: String
+ customColor: Boolean
+ hidden: Boolean
}
note for AuroInput "Removed customSize attribute from icon elements"
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @rmenner - I've reviewed your changes - here's some feedback:
Overall Comments:
- The removal of buttonVersion.js and iconVersion.js files needs explanation. If version tracking is being moved elsewhere, please document the new approach. If this was unintentional, please restore these files.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good, but there is an issue with the alignment with the type icon and text. Please look at the attached pictures below to recognize the difference. This may or may not have been caused by the changes in this PR, but needs to be fixed regardless before release.
Misalignment:
![Screen Shot 2024-10-30 at 1 26 49 PM](https://private-user-images.githubusercontent.com/55807669/381722576-d6031ee5-5667-41a3-9181-2be2e8ba903c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNTA2NDYsIm5iZiI6MTczOTA1MDM0NiwicGF0aCI6Ii81NTgwNzY2OS8zODE3MjI1NzYtZDYwMzFlZTUtNTY2Ny00MWEzLTkxODEtMmJlMmU4YmE5MDNjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDIxMzIyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU3MTUyOTY5MWE5MmFmMDQ1Mjg3MjlkNzNiZDY1ODQyYmQ4YzA2YmYwOGM2YmZlMzhmYjI0NzUxNGYyZGVhOTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.KjPIcp4dzIhRG4ab83dSKOQZHHcWhGh6WnesTN5AkxY)
Correct alignment:
![Screen Shot 2024-10-30 at 1 26 58 PM](https://private-user-images.githubusercontent.com/55807669/381722582-2a02cf9f-bcab-4e36-be17-e60793ab43f3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNTA2NDYsIm5iZiI6MTczOTA1MDM0NiwicGF0aCI6Ii81NTgwNzY2OS8zODE3MjI1ODItMmEwMmNmOWYtYmNhYi00ZTM2LWJlMTctZTYwNzkzYWI0M2YzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDIxMzIyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWViMmM5MTIzMmVlMGUxZTA5NDU4OWRkMGQwNDBmYWJiY2FhYWZiZGYyZDY0MjM5ZDNkNTE4NWZlMWY1N2Q1Y2EmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.0l4rt32AsVjvN5crFBZCKc3GlNpJjBVNRJuDAkUvEF0)
## [4.1.1](v4.1.0...v4.1.1) (2024-10-31) ### Performance Improvements * revert auro-library version ([819f7bd](819f7bd))
…pping issue on x icon #345
|
cb65cff
to
af04605
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Three issues:
-
Conflicting
package-lock.json
file -
Error icon does not have enough padding from border on bordered inputs
Refer to this figma for correct layout:
https://www.figma.com/design/VpUz89Ov6ImBpY5YvzYbZW/Auro-toolkit?node-id=0-1918&node-type=canvas&m=dev
@sourcery-ai review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @rmenner - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue with PR when trying to merge. Either needs to be rebased or new PR needs to be created.
Closed and reopened as new PR #358 Had issues merging this PR |
Alaska Airlines Pull Request
Type of change:
Please delete options that are not relevant.
Checklist:
By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team
Summary by Sourcery
Fix clipping issue on the 'x' icon by updating the icon size and apply the latest token 'ds-auro-icon-size' for consistent icon sizing.
Bug Fixes:
Enhancements: