Hz/wf timestamp - #1461
Conversation
| import { BaseWorkflowRelayFragment$key } from "./__generated__/BaseWorkflowRelayFragment.graphql"; | ||
| import TasksFlow from "./TasksFlow"; | ||
|
|
||
| console.error("BASE WORKFLOW RELAY IS RUNNING"); |
There was a problem hiding this comment.
please remove debugging print statements
| method: "POST", | ||
| headers, | ||
| credentials: "include", | ||
| // credentials: "include", |
There was a problem hiding this comment.
this bug fix is unrelated to this pull request. Please try to use separate pull requests for separate features / bug fixes where possible.
this change is actually needed for auth gateway so this isn't a correct fix for the CORS bug that you discovered.
if useAuthGateway flag is enabled, then credentials: "include" is required.
I suggest removing this from this PR and fixing this issue in a follow-up PR.
There was a problem hiding this comment.
Uncommented to be able to control when to use useAuthGateway
| submittedTime?: string; | ||
| } | ||
|
|
||
| export interface Visit { |
There was a problem hiding this comment.
also, if possible please squash the commit history into a single commit to keep the commit history tidy
|
Did the requested changes. |
This PR adds the workflow Submitted Date to the workflow accordion view. The submitted date is retrieved from the workflow status (startTime) and displayed alongside the workflow creator information.
Changes
Added submittedTime to the Workflow type.
Updated the Relay fragment to fetch startTime from workflow status.
Passed the submitted time through to WorkflowAccordion.
Displayed the submitted date in the workflow accordion using the user's local date/time format.
Testing
Verified locally that the submitted date is displayed correctly for workflows with a startTime.
Date filtering was considered but is not included in this PR. Implementing filtering across all workflows and paginated results would require backend support and is recommended as future work.