Open Bcow7 opened 5 years ago
Hello there, I am a new contributor and would like to work on this issue. Where should I start?
@yomn61 Hi! Read contributing document. https://github.com/web-pal/chronos-timetracker/blob/develop/CONTRIBUTING.md
So you need to check how user mention works in jira. They show a dropdown when you type @ sign. You need to do a similar with atlaskit dropdown https://atlaskit.atlassian.com/packages/core/dropdown-menu/example/with-anything-as-a-trigger
I've prepared API request for this feature, which can be called like this: https://github.com/web-pal/chronos-timetracker/blob/develop/app/renderer/api/jiraApi/index.js#L11
const users = yield eff.call(
jiraApi.searchForMentionUsers,
{
params: {
query: 'searchKey',
issueKey: 'issueKey',
projectKey: 'projectKey',
},
},
);
Comment component here https://github.com/web-pal/chronos-timetracker/blob/develop/app/renderer/containers/IssueView/IssueComments/IssueComments.jsx
It will not be easy if you never worked with our technology stack. Thank you for the try in advance.
I am still working on this issue and have been trying to implement this feature as you said, however, I noticed the Issue Description has the functionality we're looking for but I wasn't able to find where that call was made. Do you know where that function occurs and if it would be feasible to reuse that code?
Thank you.
@yomn61 Hi! I appreciate you try to implement the feature. Maybe you could develop it with some mock data? Just hardcode the list of users which can be mentioned, when it will be done, i'll connect api request to the component.
@VladimirPal Is this still being worked on? If not, can i pick it up? I am very familiar with this technology stack.
@parvezalisha Of course, go-ahead
Expected Behavior
Be able to mention some users (with @...) in new comments in issues
Actual Behavior
"@" character doesn't display any users list
Steps to Reproduce the Problem
Specifications