feat(UI): added issue suggestions on comment#1238
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR implements issue suggestions functionality for comments, adding a new API endpoint that allows users to search for related issues and merge requests. The feature provides suggestions based on query string matching against issue/MR links and titles.
- Adds new API endpoint for retrieving issue suggestions with query-based filtering
- Refactors ID/link generation utilities from common module to Callisto entity extensions
- Updates service constructors to use base storage pattern for better consistency
Reviewed Changes
Copilot reviewed 18 out of 18 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| moon/packages/types/generated.ts | Adds TypeScript types for issue suggestions API response |
| mono/src/api/issue/mod.rs | Defines IssueSuggestions struct and conversion implementations |
| mono/src/api/issue/issue_router.rs | Implements issue_suggester endpoint handler |
| jupiter/src/storage/issue_storage.rs | Adds database query method for issue suggestions |
| jupiter/src/storage/mr_storage.rs | Adds database query method for MR suggestions |
| jupiter/src/service/issue_service.rs | Updates service constructor and adds get_suggestions method |
| jupiter/callisto/src/entity_ext/ | Moves and consolidates ID/link generation utilities |
| common/src/utils.rs | Removes duplicate generate_link function |
genedna
approved these changes
Jul 17, 2025
liuyangjuncong20202570
pushed a commit
to liuyangjuncong20202570/mega
that referenced
this pull request
Jul 20, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.