Remove jquery, selectize and bootstrap js from conference frontend
authorMagnus Hagander <magnus@hagander.net>
Mon, 29 Jan 2024 08:50:55 +0000 (09:50 +0100)
committerMagnus Hagander <magnus@hagander.net>
Mon, 29 Jan 2024 08:50:55 +0000 (09:50 +0100)
commitd921161847d71503f55fe25068521f1ee6fa3522
tree81dade5a4d6fdbd0ff81e126d1e470d740e42c5f
parentcddc17db208a0c0562f1784ac80d44597769946c
Remove jquery, selectize and bootstrap js from conference frontend

This was used for the call for papers form handling of multiple
speakers at this point, and caused issues with skins that didn't realize
this and thus didn't include them.

Replace it with a native js version, which instead of doing autocomplete
just adds a button for "Add speaker" to add secondary speakers. This
shows a browser popup asking for the email address of an existing
profile.

In practice I think this actually makes it more clear to the user what's
going on than the previous autocomplete version, just not as pretty.

It was also used for tags, which being a much shorter list, could just
be replaced with a set of checkboxes. Tags was also something most
conferences didn't use, and it only showed up if explicitly enabled on
the conference (non-default).
postgresqleu/confreg/forms.py
postgresqleu/confreg/templatetags/dictutil.py
postgresqleu/confreg/views.py
postgresqleu/urls.py
postgresqleu/util/templates/forms/widgets/speaker_select.html [new file with mode: 0644]
postgresqleu/util/widgets.py
template.jinja/base.html
template.jinja/confreg/callforpapersform.html