appview/pages: embed `hx-swap-oob` to star button
`hx-swap-oob` on breaks on `hx-boost` swaps (star button vainishing repo
tab changes), so that was why I made `starBtn-oob` fragment. But
`hx-swap-oob="outerHTML:..."` doesn't strip the wrapper element, adding
`div` wrappers to star button on every star/unstar interactions.
To fix this, dynamically put `hx-swap-oob` attribute to star button
itself by using `.HxSwapOob` param.
Signed-off-by: Seongmin Lee <git@boltless.me>
authored by
tangled.org
7d106c3f
310badf6