Skip to content

Commit cb8ad4a

Browse files
changes to tfvars and runs table text
1 parent 34d07c5 commit cb8ad4a

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/project/[projectSlug]/(specific-project-pages)/AllRunsTable.tsx

+4-5
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ export const AllRunsTable = ({ runs, projectSlug }: { runs: Tables<'digger_runs'
7979
))
8080
) : (
8181
<TableRow>
82-
<TableCell colSpan={5}>
82+
<TableCell colSpan={5} className="w-full justify-center">
8383
<motion.div
84-
className="flex flex-col items-center justify-center h-64 text-center"
84+
className="flex flex-col items-center justify-center mx-auto max-w-96 h-64 text-center"
8585
initial={{ opacity: 0, y: 20 }}
8686
animate={{ opacity: 1, y: 0 }}
8787
transition={{ duration: 0.5 }}
@@ -93,9 +93,8 @@ export const AllRunsTable = ({ runs, projectSlug }: { runs: Tables<'digger_runs'
9393
>
9494
<Activity className="h-8 w-8 text-gray-400" />
9595
</motion.div>
96-
<h3 className="mt-4 text-lg font-semibold text-gray-900 dark:text-gray-100">No runs available</h3>
97-
<p className="mt-2 text-sm text-gray-500 dark:text-gray-400">
98-
Runs will appear here once they are initiated.
96+
<p className="mt-2 text-sm text-foreground">
97+
Runs will appear here once they are initiated. Note you need to setup your repo with digger_workflow.yml to be able to trigger runs, for more information refer to the which includes example workflow file <Link href="https://docs.digger.dev/getting-started/github-actions-+-aws" className="text-blue-500 underline" >Docs quickstart</Link>
9998
</p>
10099
</motion.div>
101100
</TableCell>

src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/project/[projectSlug]/(specific-project-pages)/TFVarsDetails.tsx

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client'
22

33
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
4-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
4+
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@/components/ui/card";
55
import { EnvVar } from "@/types/userTypes";
66
import { motion } from "framer-motion";
77
import TFVarTable from "./TFVarTable";
@@ -39,12 +39,14 @@ export default function TFVarsDetails({ tfvarsdata, onUpdate, onDelete, onBulkUp
3939
onBulkUpdate={onBulkUpdate}
4040
/>
4141
</CardContent>
42-
<Alert>
43-
<AlertTitle>PROTIP</AlertTitle>
44-
<AlertDescription>
45-
If you want to use these env variables directly in your terraform variables prefix them with TF_VAR_xxx
46-
</AlertDescription>
47-
</Alert>
42+
<CardFooter>
43+
<Alert variant='default' className="bg-muted/50" >
44+
<AlertTitle>PROTIP</AlertTitle>
45+
<AlertDescription>
46+
If you want to use these env variables directly in your terraform variables prefix them with TF_VAR_xxx
47+
</AlertDescription>
48+
</Alert>
49+
</CardFooter>
4850
</Card>
4951
</motion.div>
5052
);

0 commit comments

Comments
 (0)