@@ -10,11 +10,10 @@ import {
1010import { DialogClose } from "@radix-ui/react-dialog" ;
1111import {
1212 Form ,
13- useNavigate ,
1413 useNavigation ,
1514 useRevalidator ,
1615 useSearchParams ,
17- type MetaFunction ,
16+ type MetaFunction
1817} from "@remix-run/react" ;
1918import { type ActionFunctionArgs , type LoaderFunctionArgs } from "@remix-run/server-runtime" ;
2019import { type RuntimeEnvironmentType } from "@trigger.dev/database" ;
@@ -34,6 +33,8 @@ import { Button, LinkButton } from "~/components/primitives/Buttons";
3433import { Callout } from "~/components/primitives/Callout" ;
3534import { Dialog , DialogContent , DialogHeader , DialogTrigger } from "~/components/primitives/Dialog" ;
3635import { FormButtons } from "~/components/primitives/FormButtons" ;
36+ import { Header3 } from "~/components/primitives/Headers" ;
37+ import { Input } from "~/components/primitives/Input" ;
3738import { NavBar , PageAccessories , PageTitle } from "~/components/primitives/PageHeader" ;
3839import { PaginationControls } from "~/components/primitives/Pagination" ;
3940import { Paragraph } from "~/components/primitives/Paragraph" ;
@@ -58,6 +59,7 @@ import { useEnvironment } from "~/hooks/useEnvironment";
5859import { useEventSource } from "~/hooks/useEventSource" ;
5960import { useOrganization } from "~/hooks/useOrganizations" ;
6061import { useProject } from "~/hooks/useProject" ;
62+ import { useThrottle } from "~/hooks/useThrottle" ;
6163import { redirectWithErrorMessage , redirectWithSuccessMessage } from "~/models/message.server" ;
6264import { findProjectBySlug } from "~/models/project.server" ;
6365import { findEnvironmentBySlug } from "~/models/runtimeEnvironment.server" ;
@@ -69,9 +71,6 @@ import { docsPath, EnvironmentParamSchema, v3BillingPath } from "~/utils/pathBui
6971import { PauseEnvironmentService } from "~/v3/services/pauseEnvironment.server" ;
7072import { PauseQueueService } from "~/v3/services/pauseQueue.server" ;
7173import { useCurrentPlan } from "../_app.orgs.$organizationSlug/route" ;
72- import { Header3 } from "~/components/primitives/Headers" ;
73- import { Input } from "~/components/primitives/Input" ;
74- import { useThrottle } from "~/hooks/useThrottle" ;
7574
7675const SearchParamsSchema = z . object ( {
7776 query : z . string ( ) . optional ( ) ,
@@ -360,32 +359,6 @@ export default function Page() {
360359 >
361360 Limited by
362361 </ TableHeaderCell >
363- < TableHeaderCell
364- alignment = "right"
365- tooltip = {
366- < div className = "max-w-xs p-1 text-left" >
367- < Paragraph
368- variant = "small"
369- className = "!text-wrap text-text-dimmed"
370- spacing
371- >
372- When a task executing on this queue is paused and waiting for a
373- waitpoint to complete, the queue will release the concurrency being used
374- by the run so other runs can be started.
375- </ Paragraph >
376- < LinkButton
377- to = { docsPath ( "v3/queues#release-concurrency-on-waitpoint" ) }
378- variant = "docs/small"
379- LeadingIcon = { BookOpenIcon }
380- className = "mt-3"
381- >
382- Read docs
383- </ LinkButton >
384- </ div >
385- }
386- >
387- Release on waitpoint
388- </ TableHeaderCell >
389362 < TableHeaderCell className = "w-[1%] pl-24" >
390363 < span className = "sr-only" > Pause/resume</ span >
391364 </ TableHeaderCell >
@@ -472,12 +445,6 @@ export default function Page() {
472445 >
473446 { queue . concurrencyLimit ? "User" : "Environment" }
474447 </ TableCell >
475- < TableCell
476- alignment = "right"
477- className = { queue . paused ? "opacity-50" : undefined }
478- >
479- { queue . releaseConcurrencyOnWaitpoint ? "Yes" : "No" }
480- </ TableCell >
481448 < TableCellMenu
482449 isSticky
483450 visibleButtons = {
0 commit comments