Closed slugb0t closed 2 months ago
🧙 Sourcery has finished reviewing your pull request!
Database Upgrades and User Experience Improvement We've added a new migration script. This ensures that the database for users is updated, even if the users try to access the dashboard before the latest bot has run on their repositories. This improves user experience by avoiding unnecessary delays.
More Informative Dashboard Badges have been added to the dashboard's CWL card. These badges show the status of the CWL validations, thereby providing users with a snapshot of system performance.
Bug Fix and Upgrades A bug where the bot would update the overall status of the CWL validation on the database has been fixed. This results in better performance of the system.
Improved Link generator The link generator now correctly creates links for user or repository settings in Codefair, thereby improving navigation for users.
Removed Redundant Features Unused or redundant features such as references to the action key in the database have been removed. This leaves a cleaner, more efficient database.
Version Update Both Codefair app version has been updated to 2.0.1, and package.json files have been updated with the latest version. This allows users to benefit from the latest features and improvements.
Documentation Update All documentation files including the CITATION.cff, README.md and the changelog have been updated with the most recent information.
Enhanced API Endpoint The API endpoint for the dashboard page has been upgraded to include additional functionality, improving system capabilities.
New Files for Improved Functionality Two new utilities have been added: one checks if a user is a member of an organization on GitHub, and the second checks if the owner of a repository is an organization on GitHub. This helps us determine access permissions more accurately.
Code Cleanup
Several parts of the code have been cleaned up in ui/server/api/dashboard/[owner]/index.get.ts
file. Unused variables and unneeded logic have been removed. Code was refactored to include the newly added utility functions.
Thanks for closing this pull request! If you have any further questions, please feel free to open a new issue. We are always happy to help!
Thank you for submitting this pull request! We appreciate your contribution to the project. Before we can merge it, we need to review the changes you've made to ensure they align with our code standards and meet the requirements of the project. We'll get back to you as soon as we can with feedback. Thanks again!