Skip to content

Conversation

hawk9821
Copy link
Contributor

@hawk9821 hawk9821 commented Sep 23, 2025

Purpose of this pull request

  1. Introduced the onUnmounted hook in the task details page to ensure that all timers are cleared when the component is uninstalled, avoiding memory leaks.
  2. Added a Finish Time column to the list of completed tasks to make it easier for users to view the task end time.
  3. Adjusts the sorting method of completed tasks. Sorts the returned results of the completed tasks API in reverse order of completion time, so that the most recently completed tasks are displayed at the top.
  • On the job details page, for tasks in the completed state, a request is sent every 5 seconds, and a timer should not be added here.
image
  • The timer is not cleaned up after exiting the details page.
image
  • The last completed job is placed at the bottom
image
  • After modification
image image

Does this PR introduce any user-facing change?

How was this patch tested?

Check list

@Hisoka-X
Copy link
Member

Hi @hawk9821 . Could you add some show case?

@corgy-w corgy-w merged commit 8e0258b into apache:dev Sep 24, 2025
5 checks passed
@hawk9821 hawk9821 deleted the fix_ui branch September 25, 2025 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants