Migrate some 'Query' occurrences to 'Report' (#40320)

<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
Observed some places where we still show Query instead of Report:

<img width="1557" height="689" alt="Screenshot 2026-02-23 at 3 54 38 PM"
src="https://github.com/user-attachments/assets/df677e6a-05a3-4d5c-8751-b6f25f845c31"
/>
<img width="2521" height="496" alt="Screenshot 2026-02-23 at 3 54 49 PM"
src="https://github.com/user-attachments/assets/a0c706cf-49b9-410e-919a-2482589114c3"
/>


# Checklist for submitter

- [ ] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.

## Testing

- [x] Added/updated automated tests

- [x] QA'd all new/changed functionality manually

<img width="1496" height="666" alt="Screenshot 2026-02-23 at 4 13 09 PM"
src="https://github.com/user-attachments/assets/de0ed5bc-8156-42f4-9428-b2477ea8c90d"
/>

<img width="2547" height="562" alt="Screenshot 2026-02-23 at 5 11 34 PM"
src="https://github.com/user-attachments/assets/e9d55b93-8221-43d8-9ffe-cc2e8de433f5"
/>
This commit is contained in:
Nico
2026-02-23 17:18:43 -03:00
committed by GitHub
parent 10b74f66d1
commit 311999fbc7
@@ -61,8 +61,8 @@ interface ILiveResultsHeadingProps {
onClickDone: (evt: React.MouseEvent<HTMLButtonElement>) => void;
onClickRunAgain: (evt: React.MouseEvent<HTMLButtonElement>) => void;
onClickStop: (evt: React.MouseEvent<HTMLButtonElement>) => void;
/** Whether this is a live run of a policy or a query */
resultsType?: "query" | "policy";
/** Whether this is a live run of a policy or a report */
resultsType?: "report" | "policy";
}
const LiveResultsHeading = ({
@@ -75,7 +75,7 @@ const LiveResultsHeading = ({
onClickDone,
onClickRunAgain,
onClickStop,
resultsType = "query",
resultsType = "report",
}: ILiveResultsHeadingProps) => {
const percentResponded =
numHostsTargeted > 0