Commit Graph

11 Commits

Author SHA1 Message Date
Sam Atkins 9bb4570126 Re-use existing Task Manager rows if possible instead of recreating them
Most of the time, we'll already have a TaskManagerRow for the given
process, so we can just update its properties.

Iterating the results from #iter_tasks means we also insert the rows in
the correct order, regardless of their previous order.
2024-05-10 17:41:13 +01:00
Sam Atkins cf605c8a38 refactor: Convert Task Manager to use Components
This currently behaves the same as it did before: It still recreates the
table contents every half a second. It should also look identical,
though it's possible I missed some small differences.

The component structure is:

TaskManagerTable
- Table
  - TaskManagerRow
  - TaskManagerRow
  - TaskManagerRow
  - ...

TaskManagerRow is implemented so that we can later move to modifying
them in place as the process tree changes, instead of having to replace
them all.

Otherwise, most of the code is just moved around, and not changed much.
2024-05-10 17:41:01 +01:00
Nariman Jelveh ce411ed728 Perform more advanced input and string sanitization and validation for performance and security 2024-04-23 22:46:33 -07:00
KernelDeimos 66fecf88ef Fix funny context menu on task manager 2024-04-15 15:58:07 -04:00
KernelDeimos 5730dc642a Add process ending and i18n 2024-04-15 03:37:04 -04:00
KernelDeimos 61f1caa122 Add type column 2024-04-14 23:58:14 -04:00
KernelDeimos 6e7fd2ca95 Add polling 2024-04-14 23:52:53 -04:00
KernelDeimos 79bfcf226b Integrate ProcessService with task manager 2024-04-14 23:52:53 -04:00
KernelDeimos 9d9e091a7a Add process management 2024-04-14 23:52:53 -04:00
KernelDeimos be1bb6bc06 Improve task manager style 2024-04-14 23:52:53 -04:00
KernelDeimos d39bb412f3 Begin work on task manager 2024-04-14 23:52:53 -04:00