public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pdm-devel] [PATCH datacenter-manager/proxmox-yew-comp v3 0/6] manual refresh button for remote task cache
@ 2025-12-29 15:29 Lukas Wagner
  2025-12-29 15:29 ` [pdm-devel] [PATCH proxmox-yew-comp v3 1/2] task list: add support for starting refresh tasks Lukas Wagner
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Lukas Wagner @ 2025-12-29 15:29 UTC (permalink / raw)
  To: pdm-devel

This adds the 
  POST /remotes/tasks/refresh[?remotes=...]

endpoint for manually triggering task collection from a single or all remotes.

The task viewer component is changed so that the refresh button can be wired
up to trigger this new endpoint.

Changes since v2:
  - Incorporate review feedback from Shannon:
    - Import cosmetics
    - Support refresh multiple remotes at once (renaming the 'remote' parameter to
      'remotes')
    - Improve docs for the API handler

Changes since v1: 
  - Drop the patch which adds the task descriptions of the new
  refresh-task - this one is now included in another patch series
  - Fix a bug where the view would not automatically display new tasks
  after the refresh task finished


proxmox-yew-comp:

Lukas Wagner (2):
  task list: add support for starting refresh tasks
  loadable component: don't trigger reload when starting a task

 src/loadable_component.rs |  1 -
 src/tasks.rs              | 21 ++++++++++++++++++++-
 2 files changed, 20 insertions(+), 2 deletions(-)


proxmox-datacenter-manager:

Lukas Wagner (4):
  remote tasks: move implementation to server crate
  remote tasks: implement `refresh_task_cache` for manual task fetching
  api: add /remotes/tasks/refresh
  ui: remote task view: set refresh_task_url property for task viewer

 server/src/api/remote_tasks.rs                | 100 +++-
 .../tasks/remote_tasks.rs                     | 539 +----------------
 server/src/remote_tasks/mod.rs                |   1 +
 server/src/remote_tasks/refresh_task.rs       | 544 ++++++++++++++++++
 ui/src/remotes/tasks.rs                       |  14 +-
 5 files changed, 661 insertions(+), 537 deletions(-)
 create mode 100644 server/src/remote_tasks/refresh_task.rs


Summary over all repositories:
  7 files changed, 681 insertions(+), 539 deletions(-)

-- 
Generated by murpp 0.9.0


_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-12-29 15:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-29 15:29 [pdm-devel] [PATCH datacenter-manager/proxmox-yew-comp v3 0/6] manual refresh button for remote task cache Lukas Wagner
2025-12-29 15:29 ` [pdm-devel] [PATCH proxmox-yew-comp v3 1/2] task list: add support for starting refresh tasks Lukas Wagner
2025-12-29 15:30 ` [pdm-devel] [PATCH proxmox-yew-comp v3 2/2] loadable component: don't trigger reload when starting a task Lukas Wagner
2025-12-29 15:30 ` [pdm-devel] [PATCH datacenter-manager v3 1/4] remote tasks: move implementation to server crate Lukas Wagner
2025-12-29 15:30 ` [pdm-devel] [PATCH datacenter-manager v3 2/4] remote tasks: implement `refresh_task_cache` for manual task fetching Lukas Wagner
2025-12-29 15:30 ` [pdm-devel] [PATCH datacenter-manager v3 3/4] api: add /remotes/tasks/refresh Lukas Wagner
2025-12-29 15:30 ` [pdm-devel] [PATCH datacenter-manager v3 4/4] ui: remote task view: set refresh_task_url property for task viewer Lukas Wagner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal