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.

The Edit Report page (/reports/:reportId/edit) allows users to modify the metadata and SQL query of an existing saved report definition.

Overview

No permission gate is on this route. The page loads the report definition via useReportDefinition using the :reportId parameter. Updates are applied via useUpdateReport. A draft state (draftOverrides) holds unsaved edits to name, description, category, and querySql before the user saves. useEntityBreadcrumb updates the breadcrumb with the report’s name. The form includes text inputs for name and description, a Select for report_category, and a Textarea for the SQL query. Saving navigates back to the reports list on success.

Who it’s for

No explicit permission gate on this route.

Before you start

  • Navigate from the Reports page (/reports) by opening a report and clicking its edit action.
  • Understand the SQL syntax expected by the report query field.

Steps

1

Open the report editor

Navigate to /reports/:reportId/edit. The form pre-fills with the existing report’s data.
2

Edit report metadata

Update the report name, description, and category using the form fields.
3

Edit the SQL query

Modify the querySql textarea with the updated report query.
4

Save the report

Click Save. On success, navigate back to the reports list.
5

Cancel editing

Click the back button to navigate back without saving.

Platform Foundation

Platform Foundation 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/platform.tsx
  • src/platform/reports/EditReportPage.tsx
  • src/platform/reports/useReportDefinition.ts
  • src/platform/reports/useReportMutation.ts