-
-
Notifications
You must be signed in to change notification settings - Fork 224
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
Removed javascript_libraries template tag #36119
Conversation
@@ -131,6 +131,104 @@ | |||
|
|||
{% if not use_js_bundler %} | |||
{% javascript_libraries use_bootstrap5=use_bootstrap5 underscore=True jquery_ui=request.use_jquery_ui ko=True hq=True analytics=True %} |
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.
What do you think of adding a comment to this block to the effect of
{# Everything in this `if not use_js_bundler`-block below this line can be removed once all of app manager, including form builder, is on webpack. #}
It doesn't seem obvious, and seems like it could be easily forgotten.
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.
I will not forget 🙂 I've got a note to get rid of use_js_bundler
altogether. But adding a comment sounds fine - 0969128
I'm temporarily reverting #36073, so marking this "don't merge" until that's re-reverted. |
Technical Summary
#36108 removed the last usage of this tag.
This does move a long chunk of code to
hqwebapp/base.html
, but it can be removed once all of app manager, including form builder, is on webpack.Safety Assurance
Safety story
Removal of dead code.
Automated test coverage
no
QA Plan
no
Rollback instructions
Labels & Review