diff --git a/.gitignore b/.gitignore index 19ba966..bcfc6ca 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,5 @@ coverage .env .env.local .env.*.local +.infisical.json .trigger diff --git a/apps/web/app/_components/search-form.tsx b/apps/web/app/_components/search-form.tsx index af357a3..adf6b93 100644 --- a/apps/web/app/_components/search-form.tsx +++ b/apps/web/app/_components/search-form.tsx @@ -10,7 +10,7 @@ type SearchFormProps = { export function SearchForm({ defaultValue = "", action = "/", - placeholder = "Search ministers, portfolios, and departments", + placeholder = "Search ministers, offices, and departments", size = "lg", }: SearchFormProps) { return ( diff --git a/apps/web/app/_lib/presenters.ts b/apps/web/app/_lib/presenters.ts index 6820129..601c18a 100644 --- a/apps/web/app/_lib/presenters.ts +++ b/apps/web/app/_lib/presenters.ts @@ -20,8 +20,8 @@ export function humanizeSourceFamily(sourceFamily: string): string { export function describeRelationship(entry: RelatedNode): string { switch (entry.edgeType) { - case "HOLDS_PORTFOLIO": - return entry.direction === "outgoing" ? "Holds portfolio" : "Held by"; + case "HOLDS_OFFICE": + return entry.direction === "outgoing" ? "Holds office" : "Held by"; case "MEMBER_OF_MINISTRY": return entry.direction === "outgoing" ? "Member of" : "Includes"; case "SUPPORTED_BY_DEPARTMENT": diff --git a/apps/web/app/design/page.tsx b/apps/web/app/design/page.tsx index 3fe46dd..8b8d9c0 100644 --- a/apps/web/app/design/page.tsx +++ b/apps/web/app/design/page.tsx @@ -113,7 +113,7 @@ export default function DesignPage() { Warning
- +