taipy icon indicating copy to clipboard operation
taipy copied to clipboard

New JobViewer visual element

Open jrobinAV opened this issue 2 years ago • 11 comments

Objective

This issue aims to create a new visual element named job. The motivation is to have a specific visual element to display information related to a specific Job.

Requirements

The control should have content very similar to the detail panel of a job entry in the job_selector visual element. The same code should be shared by the two visual elements as much as possible.

The job control should accept a Job as the main value.

The job visual element should always display the following fields. A property should control whether the field is displayed or not.

  • The job id - always displayed
  • The creation date - always displayed
  • The status - always displayed
  • The submit id - NOT displayed by default
  • The task simple label - displayed by default
  • The submit_entity label - displayed by default
  • The execution duration - displayed by default
  • The pending duration - NOT displayed by default
  • The blocked duration - NOT displayed by default
  • The submission duration (finished_at - creation_date ) - displayed by default
  • The stack trace - displayed by default

The job visual element should provide actions to:

  • Cancel the job - displayed by default - active only if the status is pending or submitted or blocked
  • Delete the job - displayed by default - active only if the job is finished

Expected output

  • The implementation of the new control/visual element
  • A default style and UX consistent with Taipy styling, in particular, the detail panel of the job_selector
  • Unit tests
  • Any suggestions to improve the UX, the content of the visual element, or its technical implementation are welcome.

jrobinAV avatar Oct 09 '23 06:10 jrobinAV

is this a duplicate of #1251 ? @jrobinAV

FredLL-Avaiga avatar Sep 02 '24 13:09 FredLL-Avaiga

Not really. I changed the description so it is more clear that this one is about a dedicated job viewer control, while the other is about a detail panel on the job selector.

jrobinAV avatar Sep 03 '24 06:09 jrobinAV

Requirement document is not accessible. @jrobinAV

Prathamesh010 avatar Oct 03 '24 16:10 Prathamesh010

@Prathamesh010 Sorry, the document is private. Instead, I copy pasted the part that concerns the issue in the description directly.

I would be pleased to provide more input if you have any questions. For technical considerations, @FredLL-Avaiga and @FabienLelaquais are the right persons who can help.

jrobinAV avatar Oct 05 '24 08:10 jrobinAV

Hi, can you please assign this issue to me, would love to work on this! @jrobinAV

Nupoor10 avatar Oct 07 '24 10:10 Nupoor10

New Quest! image New Quest!

A new Quest has been launched in @Avaiga’s repo. Merge a PR that solves this issue to loot the Quest and earn your reward.


Some loot has been stashed in this issue to reward the solver!

🗡 Comment @quest-bot embark to check-in for this Quest and start solving the issue. Other solvers will be notified!

⚔️ When you submit a PR, comment @quest-bot loot #412 to link your PR to this Quest.

Questions? Check out the docs.

quest-bot[bot] avatar Oct 07 '24 11:10 quest-bot[bot]

Here you go @Nupoor10 !

FlorianJacta avatar Oct 09 '24 08:10 FlorianJacta

@quest-bot embark

Rishi-0007 avatar Oct 13 '24 12:10 Rishi-0007

@Rishi-0007 has embarked on their Quest. 🗡

  • @Rishi-0007 has been on GitHub since 2021.
  • They have merged 2 public PRs in that time.
  • Their swords are blessed with HTML and TypeScript magic ✨
  • They have contributed to this repo before.

This is not an assignment to the issue. Please check the repo’s contribution guidelines before submitting a PR.

Questions? Check out the docs.

quest-bot[bot] avatar Oct 13 '24 12:10 quest-bot[bot]

hey @FlorianJacta, i would like to work on this issue. Please assign this to me. Thank you.

Rishi-0007 avatar Oct 13 '24 12:10 Rishi-0007

🧚 @Nupoor10 has submitted PR https://github.com/Avaiga/taipy/issues/2051 and is claiming the loot.

Keep up the pace, or you'll be left in the shadows.

cc @Rishi-0007

Questions? Check out the docs.

quest-bot[bot] avatar Oct 14 '24 12:10 quest-bot[bot]