generated from paranext/paranext-multi-extension-template
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
The UI incorrectly indicates that a draft is "generating" even when the previous draft has a FAULTED or CANCELED status. I ran into this problem with the Scripture Forge Demo French extension, and TJ was able to confirm that the fetch response state is CANCELED.
Steps to Reproduce:
- Open the Auto Drafts extension and locate a project (e.g., “Scripture Forge Demo French”) that has a previously faulted or canceled draft.
- Observe that the UI continues to show the spinner and “generating” status.
- Visit the Scripture Forge site to confirm there is no draft currently being generated.
Expected Behavior:
The UI should only show a “generating” status if the draft is actually being processed. It should not display this status for drafts in the FAULTED or CANCELED state.
Proposed Solution:
Update the condition that determines the “generating” status. This logic currently does not account for FAULTED or CANCELED states: https://github.com/sillsdev/scripture-forge-platform-extensions/blob/87bb25939fbe78551c1d46a6a1883a352f143c01/src/scripture-forge/src/home/project-table.component.tsx#L344C75-L344C84
Metadata
Metadata
Assignees
Labels
No labels
