-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementation of Linked Issues Component in Issue Modal #10
Conversation
A new component called 'IssueLinkedIssues' has been added to the issue modal, which displays the list of issues linked to the current one. It includes sample data which needs to be replaced by live data from the backend in the future. Additionally, search and searchOperator fields have been added to the QueryIssueInput type.
PR Analysis
PR Feedback
How to useInstructions
|
/improve |
const blockedIssues = [ | ||
{ | ||
id: 1, | ||
key: 'ticket-1', | ||
subject: 'PLACEHOLDER: blocked ticket subject', | ||
priority: 3, | ||
assignee: 'test', | ||
status: 'in progress', | ||
}, | ||
{ | ||
id: 2, | ||
key: 'ticket-2', | ||
subject: 'PLACEHOLDER: next ticket name', | ||
priority: 5, | ||
assignee: 'test', | ||
status: 'done', | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: Use a more descriptive name for the 'blockedIssues' constant. The name should reflect that it's sample data and not actual blocked issues.
const blockedIssues = [ | |
{ | |
id: 1, | |
key: 'ticket-1', | |
subject: 'PLACEHOLDER: blocked ticket subject', | |
priority: 3, | |
assignee: 'test', | |
status: 'in progress', | |
}, | |
{ | |
id: 2, | |
key: 'ticket-2', | |
subject: 'PLACEHOLDER: next ticket name', | |
priority: 5, | |
assignee: 'test', | |
status: 'done', | |
}, | |
const sampleBlockedIssues = [ | |
{ | |
id: 1, | |
key: 'ticket-1', | |
subject: 'PLACEHOLDER: blocked ticket subject', | |
priority: 3, | |
assignee: 'test', | |
status: 'in progress', | |
}, | |
{ | |
id: 2, | |
key: 'ticket-2', | |
subject: 'PLACEHOLDER: next ticket name', | |
priority: 5, | |
assignee: 'test', | |
status: 'done', | |
}, | |
]; |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
/describe |
PR Description updated to latest commit (03b7e8e) |
Type
Enhancement
Description
This PR introduces a new component called 'IssueLinkedIssues' to the issue modal. This component displays a list of issues linked to the current one. The main changes include:
PR changes walkthrough
3 files
IssueLinkedIssues.tsx
frontend/components/IssueModal/IssueLinkedIssues.tsx
This file introduces a new component 'IssueLinkedIssues'
that displays a list of issues linked to the current one. It
currently uses sample data which will be replaced with live
data from the backend in the future.
IssueOverview.tsx
frontend/components/IssueModal/IssueOverview.tsx
The 'IssueLinkedIssues' component has been added to the
'IssueOverview' component.
graphql.ts
frontend/gql/__generated__/graphql.ts
The 'QueryIssueInput' type has been updated to include
'search' and 'searchOperator' fields.