Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt

Use this file to discover all available pages before exploring further.

Benefits Guides has two routes: the admin view at /hr/benefits/guides (requires hr.benefits.admin) and the employee self-service view at /hr/my-benefits/guides (no explicit permission gate). Alternate route: /hr/my-benefits/guides.

Overview

Admin view (BenefitsGuidesAdminPage at /hr/benefits/guides): HR admins can upload new guide PDFs using BenefitsGuideUploader, associating them with optional enrollment periods. Uploaded guides are shown as BenefitsGuideCard components in a grid. Admins can preview a guide in a PDF viewer dialog, toggle its active/inactive status, or delete it (with confirmation dialog). Deletion removes the file from storage and the record. Employee view (BenefitsGuidesPage at /hr/my-benefits/guides): Employees browse only active guides. No upload or admin actions are available.

Who it’s for

  • /hr/benefits/guideshr.benefits.admin (HR benefits administrators)
  • /hr/my-benefits/guides — No explicit permission gate (employee self-service)

Before you start

  • Admin: hr.benefits.admin permission required to manage guides.
  • Both: guides must exist in the system for the list to be non-empty.

Steps

1

Open Benefits Guides (admin)

Navigate to /hr/benefits/guides.
2

Upload a guide

Use the BenefitsGuideUploader to select a PDF, set a title, and optionally link to an enrollment period.
3

Preview a guide

Click the view action on a guide card to open the PDF viewer dialog.
4

Toggle or delete

Use guide card actions to activate/deactivate or delete a guide.
5

Employee access

Employees navigate to /hr/my-benefits/guides to browse active guides.

Key concepts

TermMeaning in code
BenefitsGuideGuide record with id, title, storage_path, is_active, optional enrollment period link
BenefitsGuideUploaderUpload component accepting PDF files
is_activeFlag controlling employee visibility of the guide

Human Resources

Human Resources core overview.

Governance & parity

Documentation coverage and governance.
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.
  • src/routes/hr.tsx
  • src/routes/hr/benefits-routes.tsx
  • src/cores/hr/benefits/pages/admin/BenefitsGuidesAdminPage.tsx
  • src/cores/hr/benefits/hooks/useBenefitsGuides.ts