Inconsistent pass/fail language
Fleet version: v4.76.0
Web browser and operating system: Chrome 142.0.7444.162 on macOS
💥 Actual behavior
Policies and Hosts pages have "Yes/No" language that needs to be updated to "Pass/Fail".
Hosts:
- Hosts filter
Policies:
- Banner language
- Status in table
🛠️ To fix
Update any language for status from "Yes" to "Pass", and "No" to "Fail".
🧑💻 Steps to reproduce
- Hosts: From Policies page, click host(s) link in either Pass or Fail column. This takes you to the filtered list of status'.
- Policies: I'm not sure how to get to the "Running policy" page.
🕯️ More info (optional)
N/A
@melpike I don't think we have a "running policy" page in the app at all. Guessing this was in Figma; can you figure out when/for what ticket it was added?
@melpike Actually I'm wrong. Looks like e.g. https://dogfood.fleetdm.com/policies/14112?team_id=275, then hitting "Live query", gets you there.
Props to JetBrains Junie for finding this as it's not greppable. Prompt was Is there anywhere in the frontend that has a heading "Running policy"? and associated files were PolicyResults.tsx and LiveResultsHeading.tsx.
Scenario 1 – Version 4.80 (PASS)
From the Policies page, clicked the host(s) link in the Pass column. User is redirected to the filtered list of host statuses correctly, and PASS is displayed correctly in the status dropdown. Result: PASS — Working as Intended.
Version 4.80 (PASS)
On the Running Policy page, verified that status language is updated from “Yes” to “Pass” and “No” to “Fail.” Ran a live query and confirmed the banner displays the updated status labels correctly. Result: PASS — Working as Intended.
"Pass" and "Fail" now shine, Clarity in the cloud city, Guiding every line.