diff --git a/webui/src/app/_layout.tsx b/webui/src/app/_layout.tsx index d01d338..ae957ad 100644 --- a/webui/src/app/_layout.tsx +++ b/webui/src/app/_layout.tsx @@ -5,6 +5,7 @@ import { HmrProvider } from '~/providers/hmr'; import { QueryProvider } from '~/providers/query'; import { ThemeProvider } from '~/providers/theme'; import { ToastProvider } from '~/ui/Toast'; +import { TooltipProvider } from '~/ui/Tooltip'; // Import the Expo-required radix styles import '@radix-ui/colors/green.css'; @@ -34,12 +35,14 @@ export default function RootLayout() { return ( - - - - - - + + + + + + + + ); diff --git a/webui/src/components/BundleTag.tsx b/webui/src/components/BundleTag.tsx index 04c0797..f902d3e 100644 --- a/webui/src/components/BundleTag.tsx +++ b/webui/src/components/BundleTag.tsx @@ -5,6 +5,7 @@ import { EnvironmentIcon } from '~/components/EnvironmentIcon'; import { EnvironmentName } from '~/components/EnvironmentName'; import { PlatformName } from '~/components/PlatformName'; import { Tag } from '~/ui/Tag'; +import { Tooltip, TooltipContent, TooltipTrigger } from '~/ui/Tooltip'; import type { AtlasBundle } from '~core/data/types'; const bundleTagVariants = cva('', { @@ -34,17 +35,54 @@ type BundelTagProps = Omit< export function BundleTag({ className, platform, environment, ...props }: BundelTagProps) { return ( - - - - × - - - - + + + + + + × + + + + + + +

+ Expo creates bundles for every platform containing only{' '} + + platform-specific code + + , like Android, iOS, and Web. Some platforms can also run in multiple environments. +

+

+ Atlas marks every bundle with both the platform and target environment for which the + bundle is built. +

+

+

+

+
+
); } diff --git a/webui/src/components/FileSize.tsx b/webui/src/components/FileSize.tsx index a4a8e90..01ddd1c 100644 --- a/webui/src/components/FileSize.tsx +++ b/webui/src/components/FileSize.tsx @@ -1,7 +1,7 @@ // @ts-expect-error import AsteriskIcon from 'lucide-react/dist/esm/icons/asterisk'; -import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '~/ui/Tooltip'; +import { Tooltip, TooltipContent, TooltipTrigger } from '~/ui/Tooltip'; type BundleFileSizeProps = { /** The size of the files or bundle, in bytes */ @@ -12,32 +12,30 @@ export function FileSize(props: BundleFileSizeProps) { return (
{formatByteSize(props.byteSize)} - - - - - - -

- All file sizes are calculated based on the transpiled JavaScript byte size. -

-

- While these sizes might differ from actual bundle size when using{' '} - - Hermes Bytecode (HBC) - - , the relative proportions are still correct. -

-
-
-
+ + + + + +

+ All file sizes are calculated based on the transpiled JavaScript byte size. +

+

+ While these sizes might differ from actual bundle size when using{' '} + + Hermes Bytecode (HBC) + + , the relative proportions are still correct. +

+
+
); }