-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
fix: Apphook widget detection (#8263) #8264
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
Conversation
* fix: Apphook widget detection * Fix: Add related
Reviewer's GuideThis PR refactors the apphook widget script to use ES6 declarations, corrects the data-element selector for loading configuration payloads, and ensures the add-configuration action prevents default navigation. Class diagram for refactored apphook widget scriptclassDiagram
class apphookData {
+Object apphooks_configuration
+any apphooks_configuration_value
+Object apphooks_configuration_url
}
class ApphookWidget {
+setupNamespaces()
}
apphookData <.. ApphookWidget : uses
File-Level Changes
Possibly linked issues
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.
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.
LGTM
Port forward of #8263
Description
Related resources
Checklist
main
Summary by Sourcery
Update the apphook widget JavaScript to correctly detect configuration data by querying the wrapper div, add event prevention for the config-add button, and modernize variable declarations
Bug Fixes:
Enhancements: