Changeset - 44c0a9db3247
[Not reviewed]
1 3 0
Ben Sturmfels (bsturmfels) - 1 month ago 2024-05-09 12:15:33
ben@sturm.com.au
Remove remaining jQuery

This avoids every page on the site parsing 250KB of JavaScript.

supporter-page.js isn't the most elegant code, but at least it's a little more
modular now and no longer user jQuery.
1 file changed:
TODO.md
3
3
Changeset was too big and was cut off... Show full diff anyway
0 comments (0 inline, 0 general)
TODO.md
Show inline comments
 
# To-do
 

	
 
* ensure appropriate caching headers are used
 
* remove jQuery
 
* consider removing `events` and `worldmap` modules
 
* ask Denver about why so many license files
 
* serve a 400 in Apache for a hostname we don't explicitly support
 
* use `<detail>` elements for supporter page hidden sections, rather than
 
  complex jQuery - or consider Alpine.js
 
* replace `internalNavigate` with inline flexbox layout
 
* add tests for main pages returning 200
 
* move `sponsors.py` and `sponsors.html` into `supporters` app
...
 
@@ -14,6 +11,9 @@
 

	
 
# Done
 

	
 
* use `<detail>` elements for supporter page hidden sections, rather than
 
  complex jQuery
 
* remove jQuery
 
* split the template/content files out from `conservancy/static` into their own
 
  `content` directory (avoid mixing static and non-static content)
 
* remove `ForceCanonicalHostnameMiddleware` by ensuring canonical redirect and

Changeset was too big and was cut off... Show full diff anyway

0 comments (0 inline, 0 general)