From 7358ec6edfa4d17b8b8f543d99e83a4705901148 Mon Sep 17 00:00:00 2001 From: Seongmin Lee Date: Fri, 21 Nov 2025 13:59:39 +0000 Subject: [PATCH] appview/pages: swap all star buttons for same repository On timeline, if there is multiple cards for same repository including a star button, when user star/unstar the repository, only first `#starBtn` is swapped with new button. This can be fixed by adding `data-star-subject-at` attr to identify all star buttons related to same repository and use `hx-swap-oob` to replace all of them. Signed-off-by: Seongmin Lee --- appview/pages/templates/fragments/starBtn.html | 2 ++ 1 file(s) changed, 2 insertion(s)(+), 0 deletion(s)(-) diff --git a/appview/pages/templates/fragments/starBtn.html b/appview/pages/templates/fragments/starBtn.html --- a/appview/pages/templates/fragments/starBtn.html +++ b/appview/pages/templates/fragments/starBtn.html @@ -2,6 +2,7 @@