File tree Expand file tree Collapse file tree 1 file changed +28
-17
lines changed
apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.regions Expand file tree Collapse file tree 1 file changed +28
-17
lines changed Original file line number Diff line number Diff line change 1- import { ArrowRightIcon , ChatBubbleLeftEllipsisIcon } from "@heroicons/react/20/solid" ;
1+ import { ArrowRightIcon , ChatBubbleLeftEllipsisIcon , MapPinIcon } from "@heroicons/react/20/solid" ;
22import { Form } from "@remix-run/react" ;
33import { type ActionFunctionArgs , type LoaderFunctionArgs } from "@remix-run/server-runtime" ;
44import { tryCatch } from "@trigger.dev/core" ;
@@ -235,24 +235,27 @@ export default function Page() {
235235 ) ;
236236 } )
237237 ) }
238- < TableRow >
238+ < TableRow className = "h-[3.125rem]" >
239239 < TableCell colSpan = { 4 } >
240240 < Paragraph variant = "extra-small" > Suggest a new region</ Paragraph >
241241 </ TableCell >
242- < TableCell alignment = "right" >
243- < Feedback
244- button = {
245- < Button
246- variant = "tertiary/small"
247- LeadingIcon = { ChatBubbleLeftEllipsisIcon }
248- leadingIconClassName = "text-indigo-500"
249- >
250- Suggest a region…
251- </ Button >
252- }
253- defaultValue = "region"
254- />
255- </ TableCell >
242+ < TableCellMenu
243+ alignment = "right"
244+ visibleButtons = {
245+ < Feedback
246+ button = {
247+ < Button
248+ variant = "secondary/small"
249+ LeadingIcon = { ChatBubbleLeftEllipsisIcon }
250+ leadingIconClassName = "text-indigo-500"
251+ >
252+ Suggest a region…
253+ </ Button >
254+ }
255+ defaultValue = "region"
256+ />
257+ }
258+ />
256259 </ TableRow >
257260 </ TableBody >
258261 </ Table >
@@ -278,7 +281,15 @@ function SetDefaultDialog({
278281 return (
279282 < Dialog open = { isOpen } onOpenChange = { setIsOpen } >
280283 < DialogTrigger asChild >
281- < Button variant = "secondary/small" > Set as default…</ Button >
284+ < Button
285+ variant = "secondary/small"
286+ LeadingIcon = { MapPinIcon }
287+ leadingIconClassName = "text-blue-500"
288+ iconSpacing = "gap-2"
289+ className = "pl-2"
290+ >
291+ Set as default…
292+ </ Button >
282293 </ DialogTrigger >
283294 < DialogContent >
284295 < DialogHeader >
You can’t perform that action at this time.
0 commit comments