From 613536522967c7485ebfe986cbc358babb561cc9 Mon Sep 17 00:00:00 2001 From: FluxCD Date: Mon, 13 Apr 2026 14:47:29 +0000 Subject: [PATCH 1/3] chore: update prop image to git.mcintire.me/graham/prop:main-1776091390-6274d03 [skip ci] --- k8s/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index ad986536..641a89fe 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -41,7 +41,7 @@ spec: type: RuntimeDefault containers: - name: prop - image: git.mcintire.me/graham/prop:main-1776089716-abd3512 # {"$imagepolicy": "flux-system:prop"} + image: git.mcintire.me/graham/prop:main-1776091390-6274d03 # {"$imagepolicy": "flux-system:prop"} imagePullPolicy: IfNotPresent env: - name: POD_IP From 679790d9909007c68527814888edbcd845535f2b Mon Sep 17 00:00:00 2001 From: FluxCD Date: Mon, 13 Apr 2026 14:48:29 +0000 Subject: [PATCH 2/3] chore: update prop image to git.mcintire.me/graham/prop:main-1776091677-ece721e [skip ci] --- k8s/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index 641a89fe..9a2b1f26 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -41,7 +41,7 @@ spec: type: RuntimeDefault containers: - name: prop - image: git.mcintire.me/graham/prop:main-1776091390-6274d03 # {"$imagepolicy": "flux-system:prop"} + image: git.mcintire.me/graham/prop:main-1776091677-ece721e # {"$imagepolicy": "flux-system:prop"} imagePullPolicy: IfNotPresent env: - name: POD_IP From 8571c172063063ea4a3f4daa7628f90fef702ca6 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Mon, 13 Apr 2026 10:02:19 -0500 Subject: [PATCH 3/3] Show windowed page list in live_table footer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously rendered only the current page button. Now renders 1…(current-2)..(current+1) using just has_next_page, collapsing with an ellipsis past page 4. --- lib/microwaveprop_web/live_table_footer.ex | 48 +++++++++++++++++-- .../live_table_footer_test.exs | 35 ++++++++++++++ 2 files changed, 78 insertions(+), 5 deletions(-) create mode 100644 test/microwaveprop_web/live_table_footer_test.exs diff --git a/lib/microwaveprop_web/live_table_footer.ex b/lib/microwaveprop_web/live_table_footer.ex index 288ab632..7f517aa2 100644 --- a/lib/microwaveprop_web/live_table_footer.ex +++ b/lib/microwaveprop_web/live_table_footer.ex @@ -7,12 +7,15 @@ defmodule MicrowavepropWeb.LiveTableFooter do table_options = assigns.table_options paginate? = get_in(options, ["pagination", "paginate?"]) mode = get_in(table_options, [:pagination, :mode]) + page = parse_page(get_in(options, ["pagination", "page"])) + has_next? = get_in(options, ["pagination", :has_next_page]) || false assigns = assigns |> assign(:show_pagination?, paginate? && mode != :infinite_scroll) - |> assign(:page, parse_page(get_in(options, ["pagination", "page"]))) - |> assign(:has_next_page?, get_in(options, ["pagination", :has_next_page]) || false) + |> assign(:page, page) + |> assign(:has_next_page?, has_next?) + |> assign(:page_items, page_items(page, has_next?)) ~H"""