-
Notifications
You must be signed in to change notification settings - Fork 0
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
merging new components into main #60
Conversation
Reviewer's Guide by SourceryThis pull request integrates new components (auro-menu and auro-checkbox) and enhances the auro-input component with new date input types. The implementation includes refactoring the component registration method, updating dependencies, and improving test coverage. Class diagram for auro-input enhancementsclassDiagram
class BaseInput {
+String[] dateTypes
+String[] autoFormattingTypes
+void handleClickClear()
+void setCustomValidityForType()
+void render()
}
class AuroInput {
+void register(String name)
+boolean isDateType()
+void render()
}
BaseInput <|-- AuroInput
note for AuroInput "Added new date input types: 'month', 'year', 'fullYear'"
note for BaseInput "Refactored to handle new date input types with validation and formatting"
Class diagram for new components auro-menu and auro-checkboxclassDiagram
class AuroMenu {
+String value
+Object optionSelected
+String matchWord
+boolean disabled
+boolean noCheckmark
+void makeSelection()
+void resetOptionsStates()
+void selectNextItem(String moveDirection)
}
class AuroCheckbox {
+boolean checked
+boolean disabled
+boolean error
+String id
+String name
+String value
+void handleChange(Event event)
+void handleInput(Event event)
}
note for AuroMenu "New component for menu options with selection and event handling"
note for AuroCheckbox "New component for checkbox with state management"
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 @sun-mota - I've reviewed your changes - here's some feedback:
Overall Comments:
- Consider consolidating duplicate build scripts across components to reduce maintenance overhead and ensure consistency.
- The lowered test coverage thresholds (70% from 80%) should be temporary - please create a follow-up ticket to restore higher coverage requirements once component integration is complete.
Here's what I looked at during the review
- 🟡 General issues: 9 issues found
- 🟢 Security: all looks good
- 🟡 Testing: 3 issues found
- 🟡 Complexity: 5 issues found
- 🟢 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.
- `AuroForm.register` is to easily register the element without extra importing - `import '@aurodesignsystem/auro-form'` will still register this element to `<auro-form>` - `import { AuroForm } from '../src/auro-form'` wont register this element until `AuroForm.register` gets called
72f3f21
to
fead88b
Compare
🎉 This PR is included in version 1.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Alaska Airlines Pull Request
Merging PRs below at once
form
with new component registration logic & update input to latest version #21A separate PR to come later for below
Summary by Sourcery
Integrate new components auro-menu and auro-checkbox into the project, along with new date input types for auro-input. Update build scripts and dependencies, and enhance documentation and test coverage for these additions.
New Features:
Enhancements:
Build:
Documentation:
Tests:
Summary by Sourcery
Integrate new components auro-menu and auro-checkbox into the project, along with new date input types for auro-input. Update build scripts and dependencies, and enhance documentation and test coverage for these additions.
New Features:
Enhancements:
Build:
Documentation:
Tests: