-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Accept reject #6081
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
Accept reject #6081
Conversation
✅ Deploy Preview for remixproject ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
When one switches file after accept/reject is displayed, the widget isn't removed. |
const content = editorModelsState[currentFileRef.current].model.getValue() | ||
const query = intl.formatMessage({ id: 'editor.generateDocumentationByAI' }, { content, currentFunction: currentFunction.current }) | ||
const output = await props.plugin.call('remixAI', 'code_explaining', query) | ||
const originalFunctionComments = extractFunctionComments(content, 0, true) |
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.
you can use insead functionNode.src.split(':')[0]
which gives you the index in the file where the function is located.
I often get this error: |
@ioedeveloper would you describe the feature with test case/s? |
9d2a420
to
7bf8b69
Compare
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.
There's a remaining bug that needs to be fixed (the widget not being anchored to the actual diff).
defineAndSetTheme(monacoRef.current) | ||
}) | ||
|
||
useEffect(() => { |
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.
could you put comment documentation in all the new useEffect
?
No description provided.