diff --git a/.changeset/friendly-jokes-repair.md b/.changeset/friendly-jokes-repair.md new file mode 100644 index 0000000000..6bbbe1c049 --- /dev/null +++ b/.changeset/friendly-jokes-repair.md @@ -0,0 +1,5 @@ +--- +'@nhost/dashboard': patch +--- + +chore(dashboard): tweaks and fixes to the service form and dialog diff --git a/dashboard/src/components/ui/v2/icons/ArrowsClockwise/ArrowsClockwise.tsx b/dashboard/src/components/ui/v2/icons/ArrowsClockwise/ArrowsClockwise.tsx new file mode 100644 index 0000000000..3fa2752476 --- /dev/null +++ b/dashboard/src/components/ui/v2/icons/ArrowsClockwise/ArrowsClockwise.tsx @@ -0,0 +1,44 @@ +import type { IconProps } from '@/components/ui/v2/icons'; + +function ArrowsClockwise(props: IconProps) { + return ( + + + + + + + ); +} + +ArrowsClockwise.displayName = 'NhostArrowsClockwise'; + +export default ArrowsClockwise; diff --git a/dashboard/src/components/ui/v2/icons/ArrowsClockwise/index.ts b/dashboard/src/components/ui/v2/icons/ArrowsClockwise/index.ts new file mode 100644 index 0000000000..b333702d33 --- /dev/null +++ b/dashboard/src/components/ui/v2/icons/ArrowsClockwise/index.ts @@ -0,0 +1 @@ +export { default as ArrowsClockwise } from './ArrowsClockwise'; diff --git a/dashboard/src/features/services/components/ServiceForm/ServiceForm.tsx b/dashboard/src/features/services/components/ServiceForm/ServiceForm.tsx index 54b75b6fdf..64fa6dc1b5 100644 --- a/dashboard/src/features/services/components/ServiceForm/ServiceForm.tsx +++ b/dashboard/src/features/services/components/ServiceForm/ServiceForm.tsx @@ -3,6 +3,7 @@ import { Form } from '@/components/form/Form'; import { Alert } from '@/components/ui/v2/Alert'; import { Box } from '@/components/ui/v2/Box'; import { Button } from '@/components/ui/v2/Button'; +import { ArrowsClockwise } from '@/components/ui/v2/icons/ArrowsClockwise'; import { CopyIcon } from '@/components/ui/v2/icons/CopyIcon'; import { InfoIcon } from '@/components/ui/v2/icons/InfoIcon'; import { PlusIcon } from '@/components/ui/v2/icons/PlusIcon'; @@ -344,7 +345,7 @@ export default function ServiceForm({ @@ -384,7 +385,7 @@ export default function ServiceForm({ > @@ -415,7 +416,7 @@ export default function ServiceForm({ @@ -459,7 +460,7 @@ export default function ServiceForm({ {createServiceFormError && ( Error: {createServiceFormError.message} @@ -482,7 +483,7 @@ export default function ServiceForm({ diff --git a/dashboard/src/features/services/components/ServiceForm/components/ServiceDetailsDialog/ServiceDetailsDialog.tsx b/dashboard/src/features/services/components/ServiceForm/components/ServiceDetailsDialog/ServiceDetailsDialog.tsx index 3e4e328a36..7f007d449c 100644 --- a/dashboard/src/features/services/components/ServiceForm/components/ServiceDetailsDialog/ServiceDetailsDialog.tsx +++ b/dashboard/src/features/services/components/ServiceForm/components/ServiceDetailsDialog/ServiceDetailsDialog.tsx @@ -55,7 +55,8 @@ export default function ServiceDetailsDialog({ .filter((port) => port.publish) .map((port) => ( ${port.port}`} value={getPortURL(port.port)} /> ))}