mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
[Styling released bugs] Fleet UI: Consistent capitalization, consistent empty state header (#16883)
This commit is contained in:
parent
c3ec182ba6
commit
0f727001d7
1
changes/16724-capitalization-fixes
Normal file
1
changes/16724-capitalization-fixes
Normal file
@ -0,0 +1 @@
|
||||
- Fix title case to sentence case and a few other headers
|
@ -85,7 +85,7 @@ const PackQueriesTable = ({
|
||||
resultsTitle={"queries"}
|
||||
emptyComponent={() =>
|
||||
EmptyTable({
|
||||
header: "No queries match your search criteria.",
|
||||
header: "No queries match your search criteria",
|
||||
info: "Try a different search.",
|
||||
})
|
||||
}
|
||||
|
@ -47,7 +47,7 @@ const EmptyOperatingSystems = (platform: SelectedPlatform): JSX.Element => (
|
||||
className={`${baseClass}__os-empty-table`}
|
||||
header={`No${
|
||||
` ${PLATFORM_DISPLAY_NAMES[platform]}` || ""
|
||||
} operating systems detected.`}
|
||||
} operating systems detected`}
|
||||
info="This report is updated every hour to protect the performance of your
|
||||
devices."
|
||||
/>
|
||||
|
@ -55,7 +55,7 @@ const DiskEncryptionTable = ({ currentTeamId }: IDiskEncryptionTableProps) => {
|
||||
disableCount
|
||||
emptyComponent={() => (
|
||||
<EmptyTable
|
||||
header="No Disk Encryption Status"
|
||||
header="No disk encryption status"
|
||||
info="Expecting to status data? Try again in a few seconds as the system
|
||||
catches up."
|
||||
/>
|
||||
|
@ -8,7 +8,7 @@ const OSVersionsEmptyState = () => {
|
||||
return (
|
||||
<EmptyTable
|
||||
className={`${baseClass}__empty-table`}
|
||||
header="No OS versions detected."
|
||||
header="No OS versions detected"
|
||||
info={
|
||||
<span>
|
||||
This report is updated every hour to protect
|
||||
|
@ -58,7 +58,7 @@ const BootstrapPackageTable = ({
|
||||
disableCount
|
||||
emptyComponent={() => (
|
||||
<EmptyTable
|
||||
header="No Bootstrap Package Status"
|
||||
header="No bootstrap package status"
|
||||
info="Expecting to status data? Try again in a few seconds as the system
|
||||
catches up."
|
||||
/>
|
||||
|
@ -66,7 +66,7 @@ const EmptyMembersTable = ({
|
||||
if (searchString !== "") {
|
||||
return (
|
||||
<EmptyTable
|
||||
header="We couldn’t find any users."
|
||||
header="We couldn't find any users"
|
||||
info="Expecting to see users? Try again in a few seconds as the system catches up."
|
||||
/>
|
||||
);
|
||||
|
@ -30,7 +30,7 @@ import EditUserModal from "../EditUserModal";
|
||||
|
||||
const EmptyUsersTable = () => (
|
||||
<EmptyTable
|
||||
header="No users match the current criteria."
|
||||
header="No users match the current criteria"
|
||||
info="Expecting to see users? Try again in a few seconds as the system catches up."
|
||||
/>
|
||||
);
|
||||
|
@ -1396,7 +1396,7 @@ const ManageHostsPage = ({
|
||||
const emptyState = () => {
|
||||
const emptyHosts: IEmptyTableProps = {
|
||||
graphicName: "empty-hosts",
|
||||
header: "Hosts will show up here once they’re added to Fleet.",
|
||||
header: "Hosts will show up here once they’re added to Fleet",
|
||||
info:
|
||||
"Expecting to see hosts? Try again in a few seconds as the system catches up.",
|
||||
};
|
||||
|
@ -42,7 +42,7 @@ const PastActivityFeed = ({
|
||||
if (activitiesList === null || activitiesList.length === 0) {
|
||||
return (
|
||||
<EmptyFeed
|
||||
title="No Activity"
|
||||
title="No activity"
|
||||
message="When a script runs on a host, it shows up here."
|
||||
className={`${baseClass}__empty-feed`}
|
||||
/>
|
||||
|
@ -30,7 +30,6 @@ const Policies = ({
|
||||
<EmptyTable
|
||||
header={
|
||||
<>
|
||||
{" "}
|
||||
No policies are checked{" "}
|
||||
{deviceUser ? `on your device` : `for this host`}
|
||||
</>
|
||||
|
@ -74,7 +74,7 @@ const PacksTable = ({
|
||||
};
|
||||
if (searchString) {
|
||||
delete emptyPacks.graphicName;
|
||||
emptyPacks.header = "No packs match the current search criteria.";
|
||||
emptyPacks.header = "No packs match the current search criteria";
|
||||
emptyPacks.info =
|
||||
"Expecting to see packs? Try again in a few seconds as the system catches up.";
|
||||
delete emptyPacks.primaryButton;
|
||||
|
@ -222,7 +222,7 @@ const QueriesTable = ({
|
||||
};
|
||||
if (searchQuery) {
|
||||
delete emptyQueries.graphicName;
|
||||
emptyQueries.header = "No queries match the current search criteria.";
|
||||
emptyQueries.header = "No queries match the current search criteria";
|
||||
emptyQueries.info =
|
||||
"Expecting to see queries? Try again in a few seconds as the system catches up.";
|
||||
} else if (!isOnlyObserver || isObserverPlus || isAnyTeamObserverPlus) {
|
||||
|
Loading…
Reference in New Issue
Block a user