Support for searching issues when creating them - Search and link existing issues with error or session comments.#7719
Merged
SpennyNDaJets merged 16 commits intohighlight:mainfrom Feb 29, 2024
Conversation
…"issue" integrations. My approach thus far involves giving the user an option to choose between creating a new issue or linking an existing issue. This will modify the form and let the user search for and select existing issue to be linked. support the following issue integrations for linking issues - gitlab - jira - linear Jira's current way of handling text search has left me somewhat baffled. I have two options 1. Convert a query string to a valid JQL query that will effectively do full text search on issues OR 2. Use the raw query against the jira api with the query param. Neither approaches has thus far yielded the intended result result.
|
added 7 commits
February 12, 2024 20:27
…grations) support creating session comment with 'linked' issue
Pending Issues - hide/disable issue linking for clickup
added 3 commits
February 26, 2024 23:37
They do not have api support yet
- introduce select search component for issues search - use new component in NewIssueModal and NewCommentForm - fix ux for loading - complete final e2e click-testing
Contributor
SpennyNDaJets
left a comment
There was a problem hiding this comment.
Code is looking good! Only thing I see blocking are the consistency with ! and want to make sure we don't trip ourselves up with the double usage of the style prop in the Radio Group
frontend/src/pages/Player/Toolbar/NewCommentForm/NewCommentForm.tsx
Outdated
Show resolved
Hide resolved
refactor code based on review input
jemiluv8
commented
Feb 28, 2024
…ate issues easier to identify
Contributor
Author
|
I've attended to the issues from code review. |
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.

Fixes #4460
/claim #4460
Summary
Introduce 'Link Issue' mode when creating issue for an error or session comment.
All issue integrations are supported except ClickUp. According to this and api documentation, they do not support searching issues via their rest api.
UI
On UI this just means another radio button to determine whether the user prefers to create a new issue


or link an existing one. A search-select is provided for the user to search and choose an existing issue from their
selected issue integration.
DEMO
Screen.Recording.2024-02-27.at.11.50.48.AM.mov
Backend
We needed a way to create attachment for existing issue and to search issues based on integration and a
search term/query. A sample mutation is below
Our search query also looks like this
Introduce a toggle to allow searching and selecting of existing issues to be "attached" to
error or session comments.
WIP
How did you test this change?
Are there any deployment considerations?
No. Our current issue integrations have the relevant permissions.
It might be time to consider "documenting" the required permissions for every
integration however.
Does this work require review from our design team?
Yes. @julian-highlight checkout the screenshots above and comment.
The goal is to support