[ ] Advisory opinions legal search page has "More keyword options" appear beneath most text input filter fields. It should only appear for the "keywords" search text field.
[x] This variable is being inserted into all pages using the base.html template as an encoded arrayvar calcAdminFineJsPath = '['/static/js/runtime-ed513b83a661323e0b82.js', '/static/js/calc-admin-fines-a577acc4aa1681d9f973.js']';
[x] Wagtail cannot insert image using Wagtail's image block tool. We get this error:
<!DOCTYPE "... is not valid JSON
at JSON.parse (<anonymous>)
at o.loadResponseText [as success] (modal-workflow.js?v=7ccfc7a9:1:1778)
at c (jquery-3.6.0.min.js?v=7ccfc7a9:2:28280)
at Object.fireWith [as resolveWith] (jquery-3.6.0.min.js?v=7ccfc7a9:2:29028)
at S (jquery-3.6.0.min.js?v=7ccfc7a9:2:79900)
at XMLHttpRequest.<anonymous> (jquery-3.6.0.min.js?v=7ccfc7a9:2:82368)
[x] Glossary terms are appearing twice on all pages
Summary
What we're after: Identify any webpack 5 bugs and apply a fix before the deploy on 7/30/2024.
Bugs
[x] "More keyword options" modal is not working for legal search pages
[x] Legal search pages are printing encoded arrays for scripts
<script src="['/static/js/8680-ee0571399a399f2a6fe3.js', '/static/js/592-70a2f2a926346d01c2ee.js', '/static/js/legal-41fe74835a06e13c206f.js']"></script>
<script src="['/static/js/8680-ee0571399a399f2a6fe3.js', '/static/js/592-70a2f2a926346d01c2ee.js', '/static/js/legal-41fe74835a06e13c206f.js']"></script>
<script src="['/static/js/8680-ee0571399a399f2a6fe3.js', '/static/js/592-70a2f2a926346d01c2ee.js', '/static/js/legal-41fe74835a06e13c206f.js']"></script>
<script src="['/static/js/8680-ee0571399a399f2a6fe3.js', '/static/js/592-70a2f2a926346d01c2ee.js', '/static/js/legal-41fe74835a06e13c206f.js']"></script>
<script src="['/static/js/8680-ee0571399a399f2a6fe3.js', '/static/js/592-70a2f2a926346d01c2ee.js', '/static/js/legal-41fe74835a06e13c206f.js']"></script>
<script src="['/static/js/8680-ee0571399a399f2a6fe3.js', '/static/js/592-70a2f2a926346d01c2ee.js', '/static/js/legal-41fe74835a06e13c206f.js']"></script>
<script src="[['/static/js/8680-ee0571399a399f2a6fe3.js', '/static/js/592-70a2f2a926346d01c2ee.js', '/static/js/legal-41fe74835a06e13c206f.js']](https://stage.fec.gov/data/legal/search/statutes/['/static/js/8680-ee0571399a399f2a6fe3.js',%20'/static/js/592-70a2f2a926346d01c2ee.js',%20'/static/js/legal-41fe74835a06e13c206f.js'])"></script>
[ ] Advisory opinions legal search page has "More keyword options" appear beneath most text input filter fields. It should only appear for the "keywords" search text field.
[x] This variable is being inserted into all pages using the base.html template as an encoded array
var calcAdminFineJsPath = '['/static/js/runtime-ed513b83a661323e0b82.js', '/static/js/calc-admin-fines-a577acc4aa1681d9f973.js']';
[x] "Find your committee analyst" section is not expanding and form accordion is not collapsible. https://stage.fec.gov/help-candidates-and-committees/question-rad/
[x] "About latest updates" and "Get latest updates by email" Accordions are not expanding on Latest updates page: https://stage.fec.gov/updates/.
[x] Filter
tags
section are being added twice on the calendar page. https://stage.fec.gov/calendar/[x]
fc-toolbar
andfc-view-container
is insert itself twice on the calendar page. https://stage.fec.gov/calendar/[x] Wagtail cannot insert image using Wagtail's image block tool. We get this error:
[x] Glossary terms are appearing twice on all pages
[x] Campaign finance statistics pages: http://127.0.0.1:8000/campaign-finance-data/congressional-candidate-data-summary-tables/ . You have to click the back/forward button twice now but on production you only have to click once.
[x] Edit filter panel won't collapse for legal searches
[x] SS, Glossary, and # custom wagtail editor tools are not working. They will crash the editor.
Completion criteria