Monorepo for Tangled โ€” https://tangled.org

appview/pages: swap all star buttons for same repository #834

merged
opened by boltless.me targeting master from sl/uzmtowmlwkvz

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 git@boltless.me

0
by boltless.me 0 comments
expand 1 commit
appview/pages: swap all star buttons for same repository
1
by boltless.me 1 comment
expand 1 commit
appview/pages: swap all star buttons for same repository

This is clever, nice! Stack looks good.

pull request successfully merged
sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:xasnlahkri4ewmbuzly2rlc5/sh.tangled.repo.pull/3m6ed3hgopj22