Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds a pull requests feature that allows users to view and manage GitHub pull requests from connected sites within the OneUpdate admin interface. The feature includes search and filtering capabilities and removes the weekly S3 history cleanup cron job.
Key changes include:
- Added a new "Pull Requests" admin page with search, filtering, and detailed PR viewing
- Introduced utility classes (Constants and Utils) for better code organization
- Removed weekly S3 history cleanup cron job and consolidated to hourly cleanup only
Reviewed Changes
Copilot reviewed 34 out of 34 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| webpack.config.js | Added webpack entry for pull-requests admin page |
| inc/classes/rest/class-github-pull-requests.php | New REST API endpoint for fetching GitHub pull requests with pagination and search |
| inc/classes/settings/class-shared-sites.php | Added pull requests menu item for governing sites |
| inc/classes/plugin-configs/class-constants.php | New constants class to centralize option names |
| inc/classes/class-utils.php | New utility class with helper methods for site types and S3 |
| assets/src/admin/pull-requests/index.js | New React component for pull requests management interface |
| oneupdate.php | Version bump and cron job cleanup changes |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Utsav Patel <75293077+up1512001@users.noreply.github.com> Co-authored-by: Vishal Kakadiya <vishalkakadiya123@gmail.com>
fed59e3 to
a2bffd0
Compare
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 34 out of 34 changed files in this pull request and generated 5 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Utsav Patel <75293077+up1512001@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Pull Requestswhere all connected sites' PRs will be visible.