forgejo/templates/repo/issue/view_content
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
..
sidebar [UI] Convert milestone to HTMX 2024-07-17 14:52:00 +02:00
add_reaction.tmpl
attachments.tmpl Provide a way to translate data units 2024-03-30 21:10:47 +05:00
comments.tmpl Clarify author label in tooltip 2024-06-25 18:30:06 +05:00
comments_authorlink.tmpl
comments_delete_time.tmpl Replace some gt- classes with tw- (#29570) 2024-03-11 23:36:57 +07:00
context_menu.tmpl
conversation.tmpl ui: improve button gap consistency in repos (#4365) 2024-07-07 03:21:58 +00:00
pull.tmpl Allow including Reviewed-on/Reviewed-by lines for custom merge messages (#31211) 2024-06-09 16:04:57 +02:00
pull_merge_instruction.tmpl Fix AGit checkout instruction 2024-07-13 18:13:43 +02:00
reactions.tmpl
reference_issue_dialog.tmpl Fix dropdown text ellipsis (#30628) 2024-04-22 21:02:29 +02:00
show_role.tmpl Clarify author label in tooltip 2024-06-25 18:30:06 +05:00
sidebar.tmpl Unify allow edits logic 2024-04-27 02:22:05 +02:00
update_branch_by_merge.tmpl Replace 10 more gt- classes with tw- (#29945) 2024-03-26 19:04:27 +01:00