diff --git a/app/templates/monthly_overview/fragments/list.html b/app/templates/monthly_overview/fragments/list.html index 9c82e44..8cbc9c3 100644 --- a/app/templates/monthly_overview/fragments/list.html +++ b/app/templates/monthly_overview/fragments/list.html @@ -11,20 +11,28 @@ end end"> {% for x in transactions_by_date %} -
+
-
+
{% for transaction in x.list %} -
+ hx-trigger="load, updated from:window" hx-include="#filter, #order">
diff --git a/app/templates/transactions/fragments/list_all.html b/app/templates/transactions/fragments/list_all.html index aca3aa4..0e09819 100644 --- a/app/templates/transactions/fragments/list_all.html +++ b/app/templates/transactions/fragments/list_all.html @@ -12,19 +12,28 @@ end end"> {% for x in transactions_by_date %} -
+
-
+
{% for transaction in x.list %} diff --git a/frontend/package-lock.json b/frontend/package-lock.json index d04ea26..345d243 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -10,7 +10,6 @@ "license": "MIT", "dependencies": { "@alpinejs/mask": "^3.14.1", - "@alpinejs/morph": "^3.14.3", "@babel/core": "^7.16.7", "@babel/eslint-parser": "^7.16.5", "@babel/plugin-proposal-class-properties": "^7.16.7", @@ -32,7 +31,6 @@ "daisyui": "^4.12.13", "eslint": "^8.7.0", "eslint-webpack-plugin": "^3.1.1", - "htmx-ext-alpine-morph": "^2.0.0", "htmx.org": "^2.0.1", "hyperscript.org": "^0.9.12", "jquery": "^3.7.1", @@ -74,11 +72,6 @@ "resolved": "https://registry.npmjs.org/@alpinejs/mask/-/mask-3.14.1.tgz", "integrity": "sha512-xW5uyn9lFMpvdzA4RfSE3lj+HjA7BjtEk+QJXU7jB5Wxpe0Jk5qFOrCydTDl+bFkRwOk/fMe2PG7IWeWEnn4BA==" }, - "node_modules/@alpinejs/morph": { - "version": "3.14.3", - "resolved": "https://registry.npmjs.org/@alpinejs/morph/-/morph-3.14.3.tgz", - "integrity": "sha512-qzazcvQZeVJAjxxHD41PdNoBOxVaPjA7TYyYkqNSYtlIdpVBPvxcCBV/41xD5EMYmR82wwfVqJOeJJgU6/M3Bg==" - }, "node_modules/@ampproject/remapping": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", @@ -5132,11 +5125,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/htmx-ext-alpine-morph": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/htmx-ext-alpine-morph/-/htmx-ext-alpine-morph-2.0.0.tgz", - "integrity": "sha512-eG2ki+VxnkQj+XF3125CCYbreI8uHRnYo3q7WbAVICXpwFQICGxoPJhSLLsoAWhjzpKln4shHmysXGNrYqOzDg==" - }, "node_modules/htmx.org": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/htmx.org/-/htmx.org-2.0.2.tgz", diff --git a/frontend/package.json b/frontend/package.json index 4594dc0..f530de9 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -23,7 +23,6 @@ }, "dependencies": { "@alpinejs/mask": "^3.14.1", - "@alpinejs/morph": "^3.14.3", "@babel/core": "^7.16.7", "@babel/eslint-parser": "^7.16.5", "@babel/plugin-proposal-class-properties": "^7.16.7", @@ -45,7 +44,6 @@ "daisyui": "^4.12.13", "eslint": "^8.7.0", "eslint-webpack-plugin": "^3.1.1", - "htmx-ext-alpine-morph": "^2.0.0", "htmx.org": "^2.0.1", "hyperscript.org": "^0.9.12", "jquery": "^3.7.1", diff --git a/frontend/src/application/htmx.js b/frontend/src/application/htmx.js index 2ec7693..08fc56d 100644 --- a/frontend/src/application/htmx.js +++ b/frontend/src/application/htmx.js @@ -1,14 +1,11 @@ import _hyperscript from 'hyperscript.org/dist/_hyperscript.min'; import './_htmx.js'; -import 'htmx-ext-alpine-morph/alpine-morph'; import Alpine from "alpinejs"; import mask from '@alpinejs/mask'; -import morph from '@alpinejs/morph'; window.Alpine = Alpine; Alpine.plugin(mask); -Alpine.plugin(morph); Alpine.start(); _hyperscript.browserInit();