From 5d518030427575562b21e2a1f97af1d40ef70b7f Mon Sep 17 00:00:00 2001 From: Case Delst Date: Fri, 13 Sep 2024 16:23:35 -0700 Subject: [PATCH] chore: Build the frontend of launchdevly (#430) Build --- internal/dev_server/ui/dist/index.html | 42 +++++++++---------- internal/dev_server/ui/src/App.tsx | 11 +---- .../dev_server/ui/src/EnvironmentSelector.tsx | 2 +- 3 files changed, 24 insertions(+), 31 deletions(-) diff --git a/internal/dev_server/ui/dist/index.html b/internal/dev_server/ui/dist/index.html index edbb4cd2..f5f62d38 100644 --- a/internal/dev_server/ui/dist/index.html +++ b/internal/dev_server/ui/dist/index.html @@ -5,7 +5,7 @@ LaunchDevly - diff --git a/internal/dev_server/ui/src/App.tsx b/internal/dev_server/ui/src/App.tsx index 1d682859..67d0ada7 100644 --- a/internal/dev_server/ui/src/App.tsx +++ b/internal/dev_server/ui/src/App.tsx @@ -2,17 +2,10 @@ import './App.css'; import { useCallback, useEffect, useState } from 'react'; import Flags from './Flags.tsx'; import ProjectSelector from './ProjectSelector.tsx'; -import { Box, Alert, CopyToClipboard, Inline } from '@launchpad-ui/core'; +import { Box, Alert, CopyToClipboard } from '@launchpad-ui/core'; import SyncButton from './Sync.tsx'; import { LDFlagSet, LDFlagValue } from 'launchdarkly-js-client-sdk'; -import { - Heading, - Text, - Tooltip, - TooltipTrigger, - Pressable, -} from '@launchpad-ui/components'; -import { Icon } from '@launchpad-ui/icons'; +import { Heading, Text } from '@launchpad-ui/components'; import { FlagVariation } from './api.ts'; import { apiRoute, sortFlags } from './util.ts'; import { ProjectEditor } from './ProjectEditor'; diff --git a/internal/dev_server/ui/src/EnvironmentSelector.tsx b/internal/dev_server/ui/src/EnvironmentSelector.tsx index f0959c4c..1830d30d 100644 --- a/internal/dev_server/ui/src/EnvironmentSelector.tsx +++ b/internal/dev_server/ui/src/EnvironmentSelector.tsx @@ -1,6 +1,6 @@ import { useState, useEffect } from 'react'; import { Label, ListBox, ListBoxItem, Input } from '@launchpad-ui/components'; -import { Box, Inline, Stack } from '@launchpad-ui/core'; +import { Box, Stack } from '@launchpad-ui/core'; import { fetchEnvironments } from './api'; import { Environment } from './types';