forgejo/web_src
Gusted d731dc793b
[UI] Convert milestone to HTMX
- Currently if you want to update the milestone of an issue or pull
request, your whole page will be reloaded to reflect the newly set
milestone. This is quite unecessary, as only the milestone text is
updated and a new timeline event is added.
- This patch converts the milestone section in the issue/pull request
sidebar to use HTMX, so it becomes a progressive element and avoids
reloading the whole page to update the milestone.
- The update of the milestone section itself is quite straightforward
and nothing special is happening. To support adding new timeline events,
a new element `#insert-timeline` is conviently placed after the last
timeline event, which can be used with
[`hx-swap-oob`](https://htmx.org/attributes/hx-swap-oob/) to position
new timeline events before that element.
- Adds E2E test.
2024-07-17 14:52:00 +02:00
..
css ui: use alt bg color for labels in hovered menu items (#4458) 2024-07-12 11:12:51 +00:00
fomantic Lock file maintenance 2024-07-15 00:07:24 +00:00
js [UI] Convert milestone to HTMX 2024-07-17 14:52:00 +02:00
svg Customizable "Open with" applications for repository clone (#29320) 2024-03-23 11:58:54 +01:00