From 71c38568689382783654bd67563754edcc7ebe66 Mon Sep 17 00:00:00 2001 From: Seongmin Lee Date: Fri, 21 Nov 2025 22:59:39 +0900 Subject: [PATCH] appview/pages: swap all star buttons for same repository Change-Id: uzzuxxrltovwstpomolyyvqytkuomsql 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 changed, 2 insertions(+) diff --git a/appview/pages/templates/fragments/starBtn.html b/appview/pages/templates/fragments/starBtn.html index 6ddf9a6a..3eca8942 100644 --- a/appview/pages/templates/fragments/starBtn.html +++ b/appview/pages/templates/fragments/starBtn.html @@ -2,6 +2,7 @@