konveyor / tackle2-ui

Tackle (2nd generation) UI component.
Apache License 2.0
8 stars 43 forks source link

:sparkles: Add Tasks tab to the Applications table application details drawer #2123

Open EstyBiton opened 1 month ago

EstyBiton commented 1 month ago

Enhancing the application details drawer by adding a "Tasks" tab, displaying a table of tasks associated with the application, implementing filtering, sorting, and pagination functionalities, and including columns for Task ID, Task Kind, Status, and Priority.

Fixes: #1937

screenshot of result: Screenshot from 2024-10-30 11-36-28

codecov[bot] commented 4 weeks ago

Codecov Report

Attention: Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.

Project coverage is 41.95%. Comparing base (b654645) to head (cdd77a7). Report is 244 commits behind head on main.

Files with missing lines Patch % Lines
client/src/app/pages/tasks/useTaskActions.tsx 0.00% 6 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2123 +/- ## ========================================== + Coverage 39.20% 41.95% +2.75% ========================================== Files 146 175 +29 Lines 4857 5635 +778 Branches 1164 1397 +233 ========================================== + Hits 1904 2364 +460 - Misses 2939 3150 +211 - Partials 14 121 +107 ``` | [Flag](https://app.codecov.io/gh/konveyor/tackle2-ui/pull/2123/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=konveyor) | Coverage Δ | | |---|---|---| | [client](https://app.codecov.io/gh/konveyor/tackle2-ui/pull/2123/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=konveyor) | `41.95% <0.00%> (+2.75%)` | :arrow_up: | | [server](https://app.codecov.io/gh/konveyor/tackle2-ui/pull/2123/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=konveyor) | `?` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=konveyor#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features:

EstyBiton commented 3 weeks ago

@sjd78 Thank you for your review! I’ve made the following updates based on your feedback:

  1. Removed priority field and unnecessary widths.
  2. Updated rendering: The table now renders like the task manager page, featuring a status icon with a link to view task details.
  3. Changed to compact table: I added the variant="compact" prop to enhance the appearance of the table. screenshot: Screenshot from 2024-11-03 09-17-33