Skip to content

Product Detail Page: Job card statuses remain disabled after successfully scheduling a job #377

Description

@RANINA12

Current Behaviour
When navigating to a audit product detail page, the Job card in the left corner shows all jobs as disabled. There is no manual toggle to enable them. The only available action is "schedule this job every 15 minutes." Clicking this action successfully triggers a "service scheduled" toast notification. However, the UI does not update; the job still appears in a disabled status on the card.

Expected Behaviour
When a user clicks to schedule the job and the success toast appears, the UI on the Job card should immediately update to reflect that the job is now enabled/active. Additionally, there should be a clear way for users to manually enable or manage the status of these jobs.

Steps to Reproduce

  1. Navigate to the Audit page.
  2. Click on the All tab and select any product to open the Product Detail page.
  3. Look at the Job card in the left corner and observe that all jobs are in a disabled state.
  4. Click the option to "schedule this job every 15 minutes".
  5. Observe the "service scheduled" success toast appearing on the screen.
  6. Look back at the Job card; observe that the job still incorrectly displays as disabled.

Screenshots and Jam Video

Image
Image

Jam video : https://jam.dev/c/b86e5a45-84ff-4cc1-be9f-76935a616ca2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions