-
Notifications
You must be signed in to change notification settings - Fork 3
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
ariaPressed name changed to prevent conflict with html attribute #235 #238
base: main
Are you sure you want to change the base?
Conversation
Reviewer's Guide by SourceryThis PR renames the Class diagram for ComponentBase and AuroHyperlink changesclassDiagram
class ComponentBase {
- ariapressed: String
- tabIsActive: String
- runtimeUtils: AuroLibraryRuntimeUtils
}
class AuroHyperlink {
- ariapressed: String
+ ariaPressedState(ariapressed): String
}
ComponentBase <|-- AuroHyperlink
note for ComponentBase "ariapressed property renamed from ariaPressed"
Class diagram for initHyperlink functionsclassDiagram
class Api {
+ initHyperlinkApiExamples(initCount)
}
class Index {
+ initHyperlinkIndexExamples(initCount)
}
note for Api "initHyperlinkApiExamples moved to JS file"
note for Index "initHyperlinkIndexExamples moved to JS file"
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 initialization functions are now called immediately in the JS files rather than waiting for DOM ready. This could cause timing issues if the DOM isn't loaded yet. Consider keeping the init calls in the HTML or adding a DOMContentLoaded check.
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.
@@ -33,17 +33,17 @@ export default class ComponentBase extends LitElement { | |||
/** | |||
* @private | |||
*/ | |||
this.ariaPressed = 'false'; | |||
this.ariapressed = 'false'; |
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.
ariaPressedState(ariaPressed)
function should reflect this change
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.
Maybe the one used in that function should be renamed. It is not related to the class property this.ariapressed
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.
.
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
Rename 'ariaPressed' to 'ariapressed' to prevent conflict with the HTML attribute and enhance demo HTML files by removing duplicate stylesheet links and deferring module script loading.
Bug Fixes:
Enhancements: