1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 13:39:19 -05:00
forgejo/templates/repo/issue/view_content/sidebar
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
..
actions.tmpl Split references and actions 2024-04-27 02:22:05 +02:00
assignees.tmpl Split assignees 2024-04-27 02:22:04 +02:00
branch_selector_field.tmpl Fix long branch name overflows (https://github.com/go-gitea/gitea/pull/30345) 2024-05-24 22:11:37 +05:00
dependencies.tmpl Split issue dependencies 2024-04-27 02:22:05 +02:00
due_deadline.tmpl Split deadline / due date 2024-04-27 02:22:05 +02:00
milestones.tmpl [UI] Convert milestone to HTMX 2024-07-17 14:52:00 +02:00
participants.tmpl Split participants 2024-04-27 02:22:04 +02:00
projects.tmpl Split milestones and projects 2024-04-27 02:22:04 +02:00
pull_maintainer_edits.tmpl Unify allow edits logic 2024-04-27 02:22:05 +02:00
pull_review.tmpl Split PR-only templates 2024-04-27 02:22:04 +02:00
pull_reviewers.tmpl Split PR-only templates 2024-04-27 02:22:04 +02:00
pull_wip.tmpl Split PR-only templates 2024-04-27 02:22:04 +02:00
reference.tmpl Split references and actions 2024-04-27 02:22:05 +02:00
timetracking.tmpl Split timetracking 2024-04-27 02:22:04 +02:00
watch.tmpl Move watching sub-template to sidebar folder 2024-04-28 12:56:28 +02:00
watching.tmpl Disable issue subscribe button for guest users (#4095) 2024-06-11 05:54:35 +00:00