feat: Replace Keka embed with native API-driven job listings#81
Open
vibemarketerpromax wants to merge 3 commits intomainfrom
Open
feat: Replace Keka embed with native API-driven job listings#81vibemarketerpromax wants to merge 3 commits intomainfrom
vibemarketerpromax wants to merge 3 commits intomainfrom
Conversation
Replace the Keka iframe embed (which forced a light theme) with native components that fetch jobs via Keka's API at build time and render with the site's dark theme. - Add OAuth2 API client (lib/keka.ts) with token caching and pagination - Add transform layer (lib/keka-jobs.ts) with HTML sanitization - Add expandable JobCard, department filters, and JobListings components - Split careers page into server component + CareersClient - Add scheduled rebuild workflow (twice daily) to keep listings current - Add KEKA_* env vars to CI workflows - Remove KekaJobsEmbed component and its CSS overrides
Deploying website with
|
| Latest commit: |
d9929a0
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://b20a74d6.website-yiq.pages.dev |
| Branch Preview URL: | https://feature-keka-api-careers.website-yiq.pages.dev |
…and rubber-duck pages" This reverts commit de468a2.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/workNew Files
lib/keka.tslib/keka-jobs.tscomponents/careers/JobCard.tsxcomponents/careers/JobFilters.tsxcomponents/careers/JobListings.tsxapp/careers/CareersClient.tsx.github/workflows/rebuild-jobs.ymlModified Files
app/careers/page.tsxapp/globals.css.prose-job-descriptionstyles, removed#khembedjobsembed CSS.github/workflows/ci.ymlKEKA_*env vars to build step.github/workflows/nextjs.ymlKEKA_*env vars to build step.env.exampleKEKA_*variable documentationDeleted Files
components/KekaJobsEmbed.tsxSetup Required
Add these secrets to GitHub repo settings (Settings > Secrets and variables > Actions):
KEKA_CLIENT_IDKEKA_CLIENT_SECRETKEKA_API_KEYKEKA_COMPANYTest plan
.env.localand runnpm run dev- verify jobs load on/careersnpm run lintpasses (0 errors)npm run buildcompiles successfully