Use isLoading instead of isFetching so that it doesn't show skeleton
every 5 seconds
Change query function to only return the URL so that it doesn't
rerender on every refetch while the task is running, making it
impossible to actually watch any partial recordings
:rocket:
This description was created by Ellipsis for commit 18628788a7074b3861a64d9106fd0226ae5325ba
Summary:
Fixed task recording issue by updating loading state and query function in TaskRecording.tsx.
Key points:
Updated skyvern-frontend/src/routes/tasks/detail/TaskRecording.tsx to use isLoading instead of isFetching to prevent skeleton loading every 5 seconds.
Modified query function to return only the recording URL, avoiding unnecessary re-renders during task execution.
Set refetchOnMount to true for the query.
Adjusted conditional rendering to handle isLoading and isError states appropriately.
every 5 seconds
Change query function to only return the URL so that it doesn't rerender on every refetch while the task is running, making it impossible to actually watch any partial recordings
Summary:
Fixed task recording issue by updating loading state and query function in
TaskRecording.tsx
.Key points:
skyvern-frontend/src/routes/tasks/detail/TaskRecording.tsx
to useisLoading
instead ofisFetching
to prevent skeleton loading every 5 seconds.refetchOnMount
totrue
for the query.isLoading
andisError
states appropriately.Generated with :heart: by ellipsis.dev