forgejo/web_src
Beowulf 30389f3f8a fix: process dynamically added content via htmx (#10572)
When new content is added via JS and htmx is not used for this change,
htmx need to be informed that DOM changes happened and that it needs to
reprocess the DOM (or at least the changed parts).

When a diff is really large, it is hidden by default. The user can press
a button to load the diff, which then will be added via JS.
The diff contains buttons to expand it, which are using htmx behind the
scenes. Therefore a reprocessing via htmx needs to be triggered after
adding the large diff.

Fixes #10570

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10572
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Beowulf <beowulf@beocode.eu>
Co-committed-by: Beowulf <beowulf@beocode.eu>
(cherry picked from commit 82624a2a8c)
2025-12-29 19:55:17 +00:00
..
css fix(ui/buttons): implement .disabled class (#10410) 2025-12-16 14:18:08 +01:00
fomantic Lock file maintenance (forgejo) (#10365) 2025-12-09 14:34:25 +01:00
js fix: process dynamically added content via htmx (#10572) 2025-12-29 19:55:17 +00:00
svg Add support for migrating from Pagure (#8513) 2025-08-11 16:56:26 +02:00