From 4ae4803ef60833ecf7ad0909489f42d90f0dff88 Mon Sep 17 00:00:00 2001 From: Rami Abdou Date: Tue, 25 Feb 2025 16:47:04 -0800 Subject: [PATCH 1/3] fixes bug with slack --- apps/member-profile/app/routes/_profile.opportunities.$id.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/member-profile/app/routes/_profile.opportunities.$id.tsx b/apps/member-profile/app/routes/_profile.opportunities.$id.tsx index 1e3c34253..dc3effd57 100644 --- a/apps/member-profile/app/routes/_profile.opportunities.$id.tsx +++ b/apps/member-profile/app/routes/_profile.opportunities.$id.tsx @@ -184,11 +184,11 @@ function OpportunityDescription() { function OpportunitySlackMessage() { const { - id, posterFirstName, posterLastName, posterProfilePicture, slackMessageChannelId, + slackMessageId, slackMessagePostedAt, slackMessageText, } = useLoaderData(); @@ -196,7 +196,7 @@ function OpportunitySlackMessage() { return ( Date: Tue, 25 Feb 2025 16:47:16 -0800 Subject: [PATCH 2/3] don't show non refined opportunities --- apps/member-profile/app/routes/_profile.opportunities.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/member-profile/app/routes/_profile.opportunities.tsx b/apps/member-profile/app/routes/_profile.opportunities.tsx index ef7357e1f..ded40da34 100644 --- a/apps/member-profile/app/routes/_profile.opportunities.tsx +++ b/apps/member-profile/app/routes/_profile.opportunities.tsx @@ -187,6 +187,7 @@ async function listOpportunities( .selectFrom('opportunities') .leftJoin('companies', 'companies.id', 'opportunities.companyId') .where('opportunities.expiresAt', '>', new Date()) + .where('opportunities.refinedAt', 'is not', null) .$if(!!bookmarked, (qb) => { return qb.where((eb) => { return eb.exists(() => { From 3c224d7b66d5cfae080f50f05684dc17a66c6420 Mon Sep 17 00:00:00 2001 From: Rami Abdou Date: Tue, 25 Feb 2025 16:56:31 -0800 Subject: [PATCH 3/3] move aspect square --- apps/member-profile/app/shared/components/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/member-profile/app/shared/components/index.tsx b/apps/member-profile/app/shared/components/index.tsx index 02f105027..4ffc24c1f 100644 --- a/apps/member-profile/app/shared/components/index.tsx +++ b/apps/member-profile/app/shared/components/index.tsx @@ -58,10 +58,10 @@ export function CompanyLink({ target="_blank" to={generatePath(Route['/companies/:id'], { id: companyId })} > -
+
{companyName}