Skip to content

Conversation

udlose
Copy link
Owner

@udlose udlose commented May 25, 2025

PR Classification

This pull request introduces a new feature to enhance the GitHub API integration by adding support for filtering repositories based on user affiliations.

PR Summary

The changes implement a new ownerAffiliations parameter across various functions to filter user statistics and top languages.

  • index.js: Added role to query parameters and updated fetch calls to include ownerAffiliations.
  • top-langs.js: Introduced role in query parameters and modified the fetch function to accept ownerAffiliations.
  • utils.js: Added utility functions for parsing owner affiliations and defined new constants and error messages for invalid affiliations.
  • stats-fetcher.js: Updated GraphQL queries to include ownerAffiliations and modified the fetchStats and statsFetcher functions accordingly.
  • top-languages-fetcher.js: Adjusted fetcher functions to utilize the new ownerAffiliations parameter in GraphQL queries.

Copy link

vercel bot commented May 25, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
github-readme-stats ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 25, 2025 4:06pm

@udlose udlose self-assigned this May 25, 2025
udlose added 2 commits May 25, 2025 11:05
Enhance project configuration, dependencies, and docs

- Updated ESLint configurations and GitHub Actions workflows for improved code quality and maintainability.
- Upgraded dependencies in `package-lock.json` and `package.json`, including major packages like `axios` and `dotenv`.
- Enhanced README files in multiple languages to improve clarity and usability.
- Introduced new themes and updated translations in `translations.js` for better localization support.
- Improved error handling and functionality in various scripts, including `wakatime-fetcher.js` and `calculateRank.js`.
- Added new utility functions and updated existing ones for better performance and error handling.
- Updated tests to reflect changes in the codebase and ensure comprehensive coverage.
Enhanced the .gitignore file to include additional entries for ignoring temporary files, build results, and files generated by Visual Studio and related tools. This update improves repository cleanliness by preventing unnecessary files from being tracked in version control.
@udlose udlose merged commit a2810c8 into master May 25, 2025
7 of 8 checks passed
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.

3 participants