The Survey Details page displays a single engagement survey with response statistics, response list, and lifecycle action buttons. It is served at routeDocumentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
/hr/engagement/surveys/:id.
Overview
The page loads survey data viauseSurveyDetail, response statistics via useSurveyResponseList, and mutation actions via useSurveyMutation. It renders a SurveyResponseStats summary, a SurveyResponseTable, and lifecycle buttons (Play/activate, Stop/close, Archive, Edit) that appear based on current survey status.
This page is part of the HR-17 Employee Engagement feature.
Who it’s for
No explicit permission gate on this route.Before you start
- A survey must exist and have its status set to
activebefore employees can respond. - Response data populates as employees submit their responses via the Take Survey route (
/hr/engagement/surveys/:id/respond).
Steps
- Navigate to HR > Engagement > Surveys and click a survey row, or go to
/hr/engagement/surveys/:id. - Review the Response Statistics summary card for completion rate and totals.
- Browse individual responses in the Response Table.
- Use lifecycle action buttons to manage the survey:
- Activate (Play icon) — sets status to
active. - Close (Stop icon) — sets status to
closed. - Archive — sets status to
archived. - Edit — navigates to the survey edit form.
- Activate (Play icon) — sets status to
Key concepts
| Term | Meaning |
|---|---|
| Survey status | Lifecycle state: draft, active, closed, archived. |
| Survey type | Category: annual, pulse, exit_interview, custom. |
| Response stats | Aggregate completion and count metrics from SurveyResponseStats. |
Related
Human Resources
Human Resources core overview.
Governance & parity
This page documents shipped product behavior. It is not medical, legal, or
billing advice. Verify against your organization’s policies and applicable
regulations before using it for clinical, compliance, or billing decisions.
Protected health information (PHI) shown in the product is governed by your
tenant’s access controls and is never exposed in this documentation.
Documentation sources
Documentation sources
- src/routes/hr/engagement-routes.tsx
- src/cores/hr/engagement/pages/SurveyDetailPage.tsx
- src/cores/hr/engagement/hooks/useSurveyDetail.ts
- src/cores/hr/engagement/hooks/useSurveyResponseList.ts