Skip to content

Labs#14

Open
holene wants to merge 74 commits intomainfrom
labs
Open

Labs#14
holene wants to merge 74 commits intomainfrom
labs

Conversation

@holene
Copy link
Contributor

@holene holene commented Sep 2, 2025

Added Kynd Labs to NAV header, along with content collections and a few examples for show.

- Add labs collection to content.config.ts with schema for title, description, category, githubUrl, demoUrl, status, startDate
- Create sample labs content files: raycast-extensions.mdx, job-scraper-bot.mdx, kynd-design-system.mdx
- Add labs index page that displays all labs using WideCard components
- Add dynamic [id].astro page for individual lab items with support for both single-item and multi-item labs
- Support for multi-item labs (like Raycast Extensions) with LinkCard grids
- Support for single-item labs with content and sidebar metadata
- Use default/green/black variants instead of non-existent labs variant
- Fix Prettier formatting issues
- Labs pages now work with standard styling
Merge remote-tracking branch 'origin/cards' into labs
@netlify
Copy link

netlify bot commented Sep 2, 2025

Deploy Preview for kynd ready!

Name Link
🔨 Latest commit 8ea7485
🔍 Latest deploy log https://app.netlify.com/projects/kynd/deploys/68f8cc22b5b6a2000803e5f5
😎 Deploy Preview https://deploy-preview-14--kynd.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

- Add GITHUB_APP_ID, GITHUB_APP_INSTALLATION_ID, and GITHUB_APP_PRIVATE_KEY
- Configure as server-side secret environment variables
- Required for GitHub App authentication in Labs collection
- Add @octokit/app, @octokit/auth-app, @octokit/rest for GitHub API
- Add marked for markdown rendering
- Add dotenv for environment variable loading
- Add @types/marked for TypeScript support
- Update lockfile with new dependencies
- Replace file-based loader with async GitHub API loader
- Fetch repositories with 'labs' topic from kyndig organization
- Add comprehensive schema for GitHub repository data
- Include README content, technology detection, and metadata
- Support for private repositories and contributor information
- Replace MDX content with GitHub README rendering
- Add comprehensive metadata sidebar with repo stats
- Include technology badges and contributor avatars
- Show language breakdown and repository information
- Add proper ARIA labels and accessibility features
- Support for private repository indicators
- Sort labs by stars and last updated date
- Add repository statistics (stars, forks) to cards
- Include status and category badges
- Show private repository indicators
- Improve responsive design for mobile devices
- Support both YYYY-MM format and ISO date strings
- Handle GitHub API date format (2024-03-21T15:44:06Z)
- Maintain backward compatibility with existing date formats
- githubAuth.ts: GitHub App authentication with Octokit
- labsDataFetcher.ts: Fetch and process repository data from GitHub
- githubHelpers.ts: GitHub API helper functions and utilities
- technologyDetection.ts: Detect technologies from package.json, files, and README
- TechnologyBadges.astro: Display detected technologies as badges
- Delete static MDX files replaced by GitHub API integration
- Remove brreg-raycast-extension.mdx, job-scraper-bot.mdx
- Remove slacktivity.mdx, yr-raycast-extension.mdx
- Content now dynamically fetched from GitHub repositories
- Remove test-github-connection.js (temporary debugging file)
- GitHub App integration now working and tested
- Extract GitHub stats display into reusable component
- Use StarIcon and ForkIcon components instead of hardcoded SVGs
- Add responsive design with mobile center alignment
- Support stargazersCount and forksCount props
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.

1 participant