Skip to content

No more jquery 1#135

Open
tmccombs wants to merge 4 commits into
masterfrom
no-more-jquery-1
Open

No more jquery 1#135
tmccombs wants to merge 4 commits into
masterfrom
no-more-jquery-1

Conversation

@tmccombs
Copy link
Copy Markdown
Contributor

This removes jQuery as a dependency of the piezo admin. It also does some other yaks I shaved along the way:

  • Upgrades to latest version of bootstrap css (because the version we were using depended on jquery)
  • Switched from using the bootstrap icon font to using inline svgs, since we only use a handful of icons.
  • Used css animations instead of jquery animations
  • Fixed autocomplete, which has been broken for a while, I think we removed a jquery plugin it depended on. It now uses native browser completion.

The bootstrap upgrade changed the appearance a little bit, but the functionality should be the same.

tmccombs added 4 commits May 26, 2026 17:22
Stop using jquery in our own html pages.

This uses css animation instead of jquery transitions, and uses vanilla js instead of jquery for
finding elements.
Use raw js instead. Also refactor the html a little bit to make it
easier to manipulate components.
At some point the autocomplete functionality broke. This restores it.

It also removes some more jquery code, and uses the built-in browser completion.
This upgrades bootstrap and removes the rest of the jquery code, and finally removes
the vendored jquery dependency itself.

This has some minor changes to the appearance of the interface, but the functionality should be the
same.
@tmccombs
Copy link
Copy Markdown
Contributor Author

You may want to review commit-by-commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant