Skip to content

feat: opportunity preview details#3327

Merged
rebelchris merged 13 commits intomainfrom
feat-opportunity-preview-details
Dec 9, 2025
Merged

feat: opportunity preview details#3327
rebelchris merged 13 commits intomainfrom
feat-opportunity-preview-details

Conversation

@rebelchris
Copy link
Copy Markdown
Contributor

@rebelchris rebelchris commented Dec 8, 2025

Decided to switch to singular endpoint:

{
    opportunityPreview {
        edges {
            node {
                topTags
                company {
                    name
                    favicon
                }
                activeSquads
            }
        }
        pageInfo {
            hasNextPage
        }
        result {
            tags
            companies {
                name
                favicon
            }
            squads
            totalCount
        }
        opportunity {
            title
            tldr
            keywords {
                keyword
            }
        }
    }
}

Results:

{
    "data": {
        "opportunityPreview": {
            "edges": [
                {
                    "node": {
                        "topTags": [
                            "google",
                            "startup"
                        ],
                        "company": {
                            "name": "daily.dev",
                            "favicon": null
                        },
                        "activeSquads": [
                            "publicsquad"
                        ]
                    }
                },
                {
                    "node": {
                        "topTags": [],
                        "company": null,
                        "activeSquads": [
                            "publicsquad"
                        ]
                    }
                },
                {
                    "node": {
                        "topTags": [],
                        "company": null,
                        "activeSquads": []
                    }
                }
            ],
            "pageInfo": {
                "hasNextPage": false
            },
            "result": {
                "tags": [
                    "google",
                    "startup"
                ],
                "companies": [
                    {
                        "name": "Infosys",
                        "favicon": "https://www.infosys.com/"
                    },
                    {
                        "name": "GitHub",
                        "favicon": "https://github.com/"
                    },
                    {
                        "name": "Sentry",
                        "favicon": "https://sentry.io/"
                    },
                    {
                        "name": "Ubisoft",
                        "favicon": "https://www.ubisoft.com/"
                    },
                    {
                        "name": "JPMorgan Chase & Co",
                        "favicon": "https://www.jpmorganchase.com/"
                    },
                    {
                        "name": "PwC",
                        "favicon": "https://www.pwc.com/"
                    }
                ],
                "squads": [
                    "publicsquad"
                ],
                "totalCount": 3
            },
            "opportunity": {
                "title": "Senior Frontend Developer",
                "tldr": "Senior frontend role at Linear (issue tracking startup). React/TS stack, $140k-$180k, remote- first, Series B stage. Build dev tools used by top companies. Strong culture, great benefits, perfect match for your skills and preferences.",
                "keywords": [
                    {
                        "keyword": "GraphQL"
                    },
                    {
                        "keyword": "Next.js"
                    },
                    {
                        "keyword": "Node.js"
                    },
                    {
                        "keyword": "React"
                    },
                    {
                        "keyword": "Tailwind CSS"
                    },
                    {
                        "keyword": "TypeScript"
                    }
                ]
            }
        }
    }
}

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Dec 8, 2025

CLA assistant check
All committers have signed the CLA.

@pulumi
Copy link
Copy Markdown

pulumi Bot commented Dec 8, 2025

🍹 The Update (preview) for dailydotdev/api/prod (at a54f8ab) was successful.

Resource Changes

    Name                                                   Type                           Operation
~   vpc-native-clean-zombie-users-cron                     kubernetes:batch/v1:CronJob    update
~   vpc-native-deployment                                  kubernetes:apps/v1:Deployment  update
~   vpc-native-clean-gifted-plus-cron                      kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-opportunities-cron             kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-user-companies-cron            kubernetes:batch/v1:CronJob    update
+   vpc-native-api-clickhouse-migration-949d43d2           kubernetes:batch/v1:Job        create
~   vpc-native-update-tag-recommendations-cron             kubernetes:batch/v1:CronJob    update
~   vpc-native-temporal-deployment                         kubernetes:apps/v1:Deployment  update
~   vpc-native-update-source-tag-view-cron                 kubernetes:batch/v1:CronJob    update
~   vpc-native-update-highlighted-views-cron               kubernetes:batch/v1:CronJob    update
~   vpc-native-sync-subscription-with-cio-cron             kubernetes:batch/v1:CronJob    update
~   vpc-native-update-current-streak-cron                  kubernetes:batch/v1:CronJob    update
~   vpc-native-bg-deployment                               kubernetes:apps/v1:Deployment  update
~   vpc-native-post-analytics-clickhouse-cron              kubernetes:batch/v1:CronJob    update
~   vpc-native-post-analytics-history-day-clickhouse-cron  kubernetes:batch/v1:CronJob    update
~   vpc-native-update-source-public-threshold-cron         kubernetes:batch/v1:CronJob    update
~   vpc-native-update-tags-str-cron                        kubernetes:batch/v1:CronJob    update
~   vpc-native-private-deployment                          kubernetes:apps/v1:Deployment  update
-   vpc-native-api-db-migration-f13c7480                   kubernetes:batch/v1:Job        delete
~   vpc-native-clean-stale-user-transactions-cron          kubernetes:batch/v1:CronJob    update
~   vpc-native-personalized-digest-cron                    kubernetes:batch/v1:CronJob    update
-   vpc-native-api-clickhouse-migration-f13c7480           kubernetes:batch/v1:Job        delete
~   vpc-native-personalized-digest-deployment              kubernetes:apps/v1:Deployment  update
~   vpc-native-generic-referral-reminder-cron              kubernetes:batch/v1:CronJob    update
~   vpc-native-generate-search-invites-cron                kubernetes:batch/v1:CronJob    update
~   vpc-native-update-trending-cron                        kubernetes:batch/v1:CronJob    update
~   vpc-native-calculate-top-readers-cron                  kubernetes:batch/v1:CronJob    update
~   vpc-native-hourly-notification-cron                    kubernetes:batch/v1:CronJob    update
~   vpc-native-ws-deployment                               kubernetes:apps/v1:Deployment  update
~   vpc-native-validate-active-users-cron                  kubernetes:batch/v1:CronJob    update
+   vpc-native-api-db-migration-949d43d2                   kubernetes:batch/v1:Job        create
~   vpc-native-update-views-cron                           kubernetes:batch/v1:CronJob    update
~   vpc-native-daily-digest-cron                           kubernetes:batch/v1:CronJob    update
~   vpc-native-check-analytics-report-cron                 kubernetes:batch/v1:CronJob    update
~   vpc-native-user-profile-updated-sync-cron              kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-images-cron                    kubernetes:batch/v1:CronJob    update

Comment thread src/graphorm/index.ts Outdated
Comment on lines +1801 to +1804
companies: {
select: () => 'NULL',
transform: () => [],
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are companies []?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in graphORM they technically not needed for this as we do them based on that hardcoded list

Comment thread src/schema/opportunity.ts Outdated
Comment thread src/common/opportunity/companies.ts
Copy link
Copy Markdown
Member

@idoshamun idoshamun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only thing I miss is tests I guess?

@rebelchris rebelchris merged commit debc4e3 into main Dec 9, 2025
9 checks passed
@rebelchris rebelchris deleted the feat-opportunity-preview-details branch December 9, 2025 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants