Opened 2 years ago

Closed 14 months ago

#8 closed enhancement (wontfix)

Implement HTMX in the Admin

Reported by: Mike Dewhirst Owned by:
Priority: medium Version: 2.x
Keywords: htmx save Cc:

Description

In theory HTMX can save data to the database without needing to click Save. This would completely change the program flow and users would need to come to terms with the change. Therefore this isn't a minor change. Hence version 2.x.

Change History (4)

comment:1 by Mike Dewhirst, 2 years ago

Type: defectenhancement

comment:2 by Mike Dewhirst, 16 months ago

As an experiment, we have implemented some htmx on the home page.

If you are logged-in, the chemicals search button is now htmx driven. It detects your login detail and executes a query for your chemicals. Refreshing the page makes the results disappear. Clicking it again brings them back.

comment:3 by Mike Dewhirst, 14 months ago

I think we will wait for the Django team to use htmx (and hopefully TailwindCSS) in the Admin. There doesn't seem much point pre-inventing that wheel!

We will certainly use it further at every opportunity because it rocks!

comment:4 by Mike Dewhirst, 14 months ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.