diff --git a/frontend/src/features/admin-form/responses/ResponsesPage/storage/UnlockedResponses/ResponsesTable.tsx b/frontend/src/features/admin-form/responses/ResponsesPage/storage/UnlockedResponses/ResponsesTable.tsx index d80c1da0a1..fd9dacd576 100644 --- a/frontend/src/features/admin-form/responses/ResponsesPage/storage/UnlockedResponses/ResponsesTable.tsx +++ b/frontend/src/features/admin-form/responses/ResponsesPage/storage/UnlockedResponses/ResponsesTable.tsx @@ -24,14 +24,14 @@ const RESPONSE_TABLE_COLUMNS: Column[] = [ maxWidth: 100, // maxWidth is only used as a limit for resizing }, { - Header: 'Reference ID', + Header: 'Response ID', accessor: 'refNo', minWidth: 200, width: 300, maxWidth: 240, // maxWidth is only used as a limit for resizing }, { - Header: 'Submission time', + Header: 'Timestamp', accessor: 'submissionTime', minWidth: 200, width: 300, diff --git a/frontend/src/features/admin-form/responses/ResponsesPage/storage/UnlockedResponses/SubmissionSearchbar.tsx b/frontend/src/features/admin-form/responses/ResponsesPage/storage/UnlockedResponses/SubmissionSearchbar.tsx index b2fad74bf2..16fa8c542b 100644 --- a/frontend/src/features/admin-form/responses/ResponsesPage/storage/UnlockedResponses/SubmissionSearchbar.tsx +++ b/frontend/src/features/admin-form/responses/ResponsesPage/storage/UnlockedResponses/SubmissionSearchbar.tsx @@ -29,7 +29,7 @@ export const SubmissionSearchbar = ({ onChange={setInputValue} onCollapseIconClick={() => setSubmissionId(null)} onSearch={setSubmissionId} - placeholder="Search by reference ID" + placeholder="Search by response ID" /> ) } diff --git a/frontend/src/features/admin-form/responses/ResponsesPage/storage/UnlockedResponses/UnlockedResponses.tsx b/frontend/src/features/admin-form/responses/ResponsesPage/storage/UnlockedResponses/UnlockedResponses.tsx index 2cb1611499..89246eb61a 100644 --- a/frontend/src/features/admin-form/responses/ResponsesPage/storage/UnlockedResponses/UnlockedResponses.tsx +++ b/frontend/src/features/admin-form/responses/ResponsesPage/storage/UnlockedResponses/UnlockedResponses.tsx @@ -45,11 +45,11 @@ export const UnlockedResponses = (): JSX.Element => { mb="1rem" alignItems="end" color="secondary.500" - gridTemplateColumns={{ base: 'auto', md: 'auto 1fr' }} - gridGap={{ base: '0.5rem', md: '1.5rem' }} + gridTemplateColumns={{ base: 'auto 1fr', lg: 'auto 1fr auto' }} + gridGap="0.5rem" gridTemplateAreas={{ - base: "'submissions' 'export'", - md: "'submissions export'", + base: "'submissions search' 'export export'", + lg: "'submissions search export'", }} > { - + + + + + + + getFormSubmissionsMetadata(formId, params), { - refetchOnMount: true, - refetchOnWindowFocus: false, - // Data will never change. - staleTime: Infinity, + staleTime: 0, keepPreviousData: !submissionId, enabled: !!secretKey && (page > 0 || !!submissionId), },