Fix broken link and sentence casing in UI (#4127)

- Fix broken link in the empty state for the "Software" card on Home page
- Update "API Token" to sentence case "API token"
This commit is contained in:
Noah Talerman 2022-02-14 10:19:33 -05:00 committed by GitHub
parent 8e8909eb8e
commit f14653fcd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View file

@ -130,7 +130,7 @@ Once your local context is configured, you can use the above `fleetctl` normally
Users that authenticate to Fleet via SSO should retrieve their API token from the UI and set it manually in their `fleetctl` configuration (instead of logging in via `fleetctl login`).
1. Go to the "My account" page in Fleet (https://fleet.corp.example.com/profile). Click the "Get API Token" button to bring up a modal with the API token.
1. Go to the "My account" page in Fleet (https://fleet.corp.example.com/profile). Click the "Get API token" button to bring up a modal with the API token.
2. Set the API token in the `~/.fleet/config` file. The file should look like the following:

View file

@ -28,7 +28,7 @@ const EmptyMDM = (): JSX.Element => (
<p>
To see MDM versions, deploy&nbsp;
<a
href="https://fleetdm.com/docs/deploying/configuration#software-inventory"
href="https://fleetdm.com/docs/using-fleet/adding-hosts#osquery-installer"
target="_blank"
rel="noopener noreferrer"
>

View file

@ -28,7 +28,7 @@ const EmptyMunki = (): JSX.Element => (
<p>
To see Munki versions, deploy&nbsp;
<a
href="https://fleetdm.com/docs/deploying/configuration#software-inventory"
href="https://fleetdm.com/docs/using-fleet/adding-hosts#osquery-installer"
target="_blank"
rel="noopener noreferrer"
>

View file

@ -39,7 +39,7 @@ const EmptySoftware = (message: string): JSX.Element => {
<p>
Expecting to see software? Check out the Fleet documentation on{" "}
<a
href="https://fleetdm.com/docs/deploying/configuration#software-inventory"
href="https://fleetdm.com/docs/using-fleet/vulnerability-processing#configuration"
target="_blank"
rel="noopener noreferrer"
>

View file

@ -278,7 +278,7 @@ export class UserSettingsPage extends Component {
return (
<Modal title="Get API token" onExit={onToggleApiTokenModal}>
<p className={`${baseClass}__secret-label`}>
Your API Token:
Your API token:
<a
href="#revealSecret"
onClick={onToggleSecret}

View file

@ -156,7 +156,7 @@ const ManageAutomationsModal = ({
<div className={baseClass}>
{availablePolicies && availablePolicies.length > 0 ? (
<div className={`${baseClass}__policy-select-items`}>
<p> Choose which policy you would like to listen to:</p>
<p> Choose which policies you would like to listen to:</p>
{policyItems &&
policyItems.map((policyItem) => {
const { isChecked, name, id } = policyItem;