mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 16:39:01 +00:00
Addresses #17445 Follow-up iteration: - Finalize styling of dropdown tooltips - All `//TODO`s <img width="1393" alt="Screenshot 2024-03-20 at 1 43 54 PM" src="https://github.com/fleetdm/fleet/assets/61553566/9b792cf0-058a-4ae6-8f5f-a49eb936ebef"> <img width="1393" alt="Screenshot 2024-03-20 at 1 44 01 PM" src="https://github.com/fleetdm/fleet/assets/61553566/86195dcf-ec28-4cf0-ab8b-d785d12372ed"> <img width="1393" alt="Screenshot 2024-03-20 at 1 44 21 PM" src="https://github.com/fleetdm/fleet/assets/61553566/01effdec-ca20-49ec-a442-5fe754a5e12b"> <img width="1393" alt="Screenshot 2024-03-20 at 1 44 26 PM" src="https://github.com/fleetdm/fleet/assets/61553566/b6de6891-6eae-426e-bbff-b01184094ac9"> <img width="1393" alt="Screenshot 2024-03-20 at 1 44 33 PM" src="https://github.com/fleetdm/fleet/assets/61553566/96e167dd-752c-4b49-a1a7-69fe9b4f42ac"> <img width="1393" alt="Screenshot 2024-03-20 at 1 44 43 PM" src="https://github.com/fleetdm/fleet/assets/61553566/feedbda5-e915-4e5e-84ee-2316db49434a"> <img width="1393" alt="Screenshot 2024-03-20 at 1 44 47 PM" src="https://github.com/fleetdm/fleet/assets/61553566/c4b5ac47-3357-43ef-95ca-dd0953994f6f"> <img width="1393" alt="Screenshot 2024-03-20 at 1 45 02 PM" src="https://github.com/fleetdm/fleet/assets/61553566/17838415-5bf4-46f0-9bde-522deb0f0886"> <img width="1393" alt="Screenshot 2024-03-20 at 1 45 10 PM" src="https://github.com/fleetdm/fleet/assets/61553566/b7228484-bb9f-4119-9fbf-a60ce990ba0e"> --------- Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
48 lines
1.6 KiB
TypeScript
48 lines
1.6 KiB
TypeScript
import EmptyQueries from "./EmptyQueries";
|
|
import EmptyIntegrations from "./EmptyIntegrations";
|
|
import EmptyUsers from "./EmptyUsers";
|
|
import EmptyPolicies from "./EmptyPolicies";
|
|
import EmptySoftware from "./EmptySoftware";
|
|
import FileConfigurationProfile from "./FileConfigurationProfile";
|
|
import FileSh from "./FileSh";
|
|
import FilePs1 from "./FilePs1";
|
|
import FilePy from "./FilePy";
|
|
import FileScript from "./FileScript";
|
|
import FilePdf from "./FilePdf";
|
|
import FilePkg from "./FilePkg";
|
|
import FileP7m from "./FileP7m";
|
|
import FilePem from "./FilePem";
|
|
import EmptyHosts from "./EmptyHosts";
|
|
import EmptyTeams from "./EmptyTeams";
|
|
import EmptyPacks from "./EmptyPacks";
|
|
import EmptySchedule from "./EmptySchedule";
|
|
import CollectingResults from "./CollectingResults";
|
|
import CalendarEventPreview from "./CalendarEventPreview";
|
|
|
|
export const GRAPHIC_MAP = {
|
|
// Empty state graphics
|
|
"empty-queries": EmptyQueries,
|
|
"empty-integrations": EmptyIntegrations,
|
|
"empty-users": EmptyUsers,
|
|
"empty-policies": EmptyPolicies,
|
|
"empty-software": EmptySoftware,
|
|
"empty-hosts": EmptyHosts,
|
|
"empty-teams": EmptyTeams,
|
|
"empty-packs": EmptyPacks,
|
|
"empty-schedule": EmptySchedule,
|
|
// File type graphics
|
|
"file-configuration-profile": FileConfigurationProfile,
|
|
"file-sh": FileSh,
|
|
"file-ps1": FilePs1,
|
|
"file-py": FilePy,
|
|
"file-script": FileScript,
|
|
"file-pdf": FilePdf,
|
|
"file-pkg": FilePkg,
|
|
"file-p7m": FileP7m,
|
|
"file-pem": FilePem,
|
|
// Other graphics
|
|
"collecting-results": CollectingResults,
|
|
"calendar-event-preview": CalendarEventPreview,
|
|
};
|
|
|
|
export type GraphicNames = keyof typeof GRAPHIC_MAP;
|