Open Issues Need Help
View All on GitHubAI Summary: This GitHub issue aims to create platform-agnostic seed data for local development by snapshotting popular GitHub repositories like React and Next.js. The objective is to generate a `supabase/seed.sql` file containing realistic data, including repository metadata, contributors, pull requests, and activity timelines, which can be easily populated via an `npm run db:seed` script to provide new contributors with immediate, realistic test data.
AI Summary: This critical issue details widespread build failures on Netlify caused by a faulty bulk find-and-replace operation that incorrectly added underscores to variable names (e.g., `_data` instead of `data`). This affects import paths, widget component parameters, and activity component data references, with specific `sed` commands provided for some immediate fixes. The problem is blocking all deployments and is part of a larger TypeScript cleanup effort.
AI Summary: This GitHub issue outlines the implementation of a user interface for managing repositories within a workspace. It covers various methods for adding repositories, including search, URL parsing, and bulk import from GitHub organizations, alongside features for removal, reordering, and displaying repository status. The scope also includes per-repository settings, duplicate prevention, and enforcing repository limits.
AI Summary: This issue proposes creating a dedicated `/trending` page to showcase repositories with recent significant activity, leveraging existing backend metric tracking. The page will feature interactive trending repository cards displaying scores, metric changes, and a time period selector, along with integrating a data freshness indicator.
AI Summary: Debug and fix a bug in the 'contributor.info' application where searching for a new, untracked GitHub repository fails with a 'Failed to set up repo' error and various 404 and 406 HTTP errors from the Supabase API. The fix will likely involve investigating the API calls made during repository discovery, checking for correct request parameters, handling potential API response errors gracefully, and ensuring proper data handling within the application's frontend.
AI Summary: Migrate existing charts in the contributor.info dashboard from the current library to uPlot. This involves installing uPlot, creating a reusable React wrapper component for it, ensuring proper cleanup to prevent memory leaks, implementing responsive sizing, and configuring uPlot's CSS. Testing will involve verifying rendering, checking for memory leaks, and testing responsiveness.
AI Summary: Optimize the frontend bundle size of the contributor.info web application from 1.3MB to under 500KB. This involves analyzing dependencies, consolidating libraries (icons and charting), implementing code splitting, and optimizing specific components like those from Radix UI. The work is broken down into phases with several independent tasks that can be tackled concurrently.
AI Summary: Debug and fix a broken Lottery Factor calculation in a React component due to issues with a custom hook's progressive loading implementation. The fix involves refactoring the `useProgressiveRepoData` hook to remove callback dependencies in its `useEffect` to prevent unnecessary re-renders and ensure data is correctly populated in the component's state. Existing tests need to be updated to reflect the corrected functionality.
AI Summary: Fix a skipped test in the `health-metrics.test.ts` file that handles repositories with zero stars and forks. The test verifies the `calculateRepositoryConfidence` function correctly handles this edge case, returning a low confidence score. The fix involves reviewing and correcting the mock Supabase setup within the test to ensure accurate results.